Tutorial/Part 1

Template:Community Tabs

**While the Visual Editor can be very nice for fixing typos or adding small pieces of information, it is recommended to turn OFF the visual editor for the tutorial.**
To turn off the visual editor completely, go to Preferences -> Editing, and untick the Visual Editor box. It is highly recommended that you do this!

## Welcome!

First of all, if you are newly a staff member of Esports Wiki, welcome! We're glad to have you! And if you're not, then we hope you'll consider applying! Outlined here are a set of tasks similar to normal wiki maintenance. They aren't "real" changes that we need made to the wiki, but they're a good way for you to learn how to do the updates that we *do* need done, without worrying about deadlines or messing up or anything else. Take as long as you need to complete them, and if you have any questions, feel free to contact us!

Remember that while going through these tutorials, you can always **view the source** of the example pages given to you. Try not to copy the answers! But it might help you figure out what to do.

These tasks will serve as an introduction to formatting, but you should also read the following help pages and refer to them when questions arise:

* General Formatting (Basic)
* Help:Contents on mediawiki.org.
* Advanced Help Index - Table of contents of in-depth Help articles.

## Task 1: Page Creation

In your first task, you will make an account, create a new page associated to your username, and make an edit to that page.

1. Go here: https://www.gamepedia.com/twitch-signup
2. Log in with your Twitch account or create an account if you don't have one.
3. Navigate to `http://lol.gamepedia.com/Special:MyPage/Tutorial_Task_1`. You can also click the link on the tutorial introduction page.
4. Click "**Create**" at the top of the page.
5. Type "Hello, world!" (without quotes) into the editing box.
6. Click save.

Frequently when making a new page, you will click a **red link** (literally a link that's red instead of blue, which indicates that its target page doesn't exist) and be navigated directly to the page you are trying to make, but on occasion you will want to create a page that isn't linked to from anywhere yet, so it's a good idea to be comfortable with the idea of directly editing the URL to where you want to go (which is why I didn't make the URL above clickable).

Congratulations! You've made your first wiki page! Of course, most pages are much more complicated than that, but you get the basic idea of how to make pages. Let's move on to task 2.

## Task 2: Hyperlinks

In the second task, you will learn how to create hyperlinks within the wiki, and you will create a page similar to **this one**. Create the page at *...User:(Your Username)/Tutorial\_Task\_2*.

## Task 3: Formatting

In this task, you will learn basic formatting, including making titles. You will also learn how to make bold and italics text, write comments, and display wiki code without "evaluating" it (like we do in this page a lot!) We have a very good **formatting guide** on the wiki, so we won't go too in-depth here. Eventually, you want to make a page that looks somewhat like **this one**.

### Headings

Headings are used on almost every single Esports Wiki page! They break up content visually, and if you have at least 4 of them on a page, a table of contents will automatically be created (unless you tell it not to do that). Making headings is very easy, and there's two ways to do it:

```
==Heading Name==
```
```
<h2>Heading Name</h2>
```
===Heading Name===
```
```
<h3>Heading Name</h3>
```
====Heading Name====
```
```
<h4>Heading Name</h4>
```

The difference between method 1 and method 2 is that method 1 will give you a button that says [Edit] next to that section (assuming you have privileges that allow you to). Method 2 will not. That's the only difference!

You may also notice that we don't have a level 1. That's because level 1 is automatically used for the page title, and we don't use it anywhere else. **Never use level 1 headings.**

### Bold and Italics

Bold and italics is also really straightforward! Just surround your text by 2 's for italics, or 3 's for bold. Use 5 's for bold and italics.

### Comments and Nowiki

Comments are really useful! If you want to leave information for the next person about how to edit a page, the best way to do it is to make a comment. In order to make a comment, type **<!--**, then type the text you wish to have in your comment. Then type **-->** at the end. For example, **<!--This is a comment.-->**.

You might be wondering how we're able to show you all of this syntax, since of course under normal circumstances you wouldn't be able to see a comment like that. It's simple: There's a command called **<nowiki>**! The way you use the command is to type <nowiki>, then type the text that you want to display, and then type </nowiki> afterwards.

## Task 4: Lists

In this task, you will learn about creating lists. There are two types of lists: numerically-ordered lists and bulleted lists. Sometimes you will need to know how to do both. To create a list, you must have multiple lines of text on consecutive lines of your page, and you write a \* or a # at the beginning of each line. You can read more about creating lists **here**. The only part that it's important that you read is the List Basics section, but the rest of it is a good reference.

Write about your favorite champions in a page similar to **this one**, located at *...User:(Your Username)/Tutorial\_Task\_4*.

Example list syntax:

```
* This is line 1.
* This is line 2.
```
* This is line 2.
```
# This is line 2.
```
2. This is line 2.

## Task 5: Tables

In this task, you will learn about creating tables. Like lists, there is a good tutorial available for tables, located **here**, and so we won't go too indepth about how to make tables here. However, you should know that there are two different ways to set up tables! You may encounter both ways when editing the wiki, so it's important that you understand what's going on. Make a page with two identical tables like **this one** including 3 champions of your choice. Page location: *...User:(Your Username)/Tutorial\_Task\_5*

Remember how to make hyperlinks to pages, changing the text? Link to the help page about tables at the end of your page, too!

```
{|class="wikitable"
! Number
! Champion
```
```
{|class="wikitable"
!Number || Champion
```

* The code **|-**, on a line of its own, denotes the start of a new row.
* The code **|**, as the first character in a new line, denotes the start of a new cell within the same row.
* The code **||** in the middle of a line of code also denotes the start of a new cell within the same row.
* The **!** is used to start a header row.

Want to be able to **sort** your list? No problem! Just write "**wikitable sortable**" instead of "**wikitable**" at the beginning. Try making your table sortable, too.

(Note that **class="wikitable"** and **<wiki>class="wikitable"</nowiki>** are the same thing. You'll see both when you navigate the wiki. Use whichever one you prefer!)

## Task 6: Tabs

 File:Tutorial-Tabs-Example.png
Tabs are a key part of the way that we organize pages, specifically tournament pages. Some **player pages** have tabs at the top linking to pages of statistics and/or an embed of their stream. And tournament pages are organized entirely around tabs: For example, the **2014 Season World Championship**. When editing pages with tabs, it's important to keep in mind that even though tabs give the illusion of pages being "linked together", tabs are actually nothing more than a consistent visual element that's contained in the same place on separate pages. The syntax for Tabs is as follows:

```
{{TabsHeader
etc.
}}
```

Like the [[]] formatting, you just put the part of the link after `.com` in order to link a page. Check out **this page** as an example, and make your own, linking your first 5 tutorial tasks!

Then, make a second page at *User:(Username)/Tutorial\_Task\_6\_2*, and create the same top row of tabs. Make sure you have the correct tab focused on each page!

When you're making those tabs, you might notice from the example that there's this weird **&nbsp;** thing. What that does is illustrated in the second row of tabs. If you have a multi-word tab name with spaces, TabsHeader will try to make the tabs as narrow as possible, which will cause the words to wrap around the edge. In order to force TabsHeader to keep all the words on the same line, write &nbsp; instead of putting a space. For more information about line wrapping, check out this article. Also see: `{{nowrap}}`.

Create a row of two tabs, both of which link to *User:(Username)/Tutorial\_Task\_6*, to see the difference between &nbsp; and a normal space.

Template:CommunityNavbox