Gamepedia Help Wiki:Tutorial/Formatting

From Gamepedia Help Wiki
Jump to: navigation, search


Formatting a Gamepedia article is different from writing in a standard word processor or in Gamepedia's opt-in, alternative editing environment, VisualEditor. Instead of a strict WYSIWYG approach ("What You See Is What You Get"), Gamepedia uses text codes called wiki tags to create particular elements of the page (e.g. headings). This markup language is known as wikitext (or wiki-markup) and is designed for ease of editing. See the cheatsheet for a quick reference list of wikitext codes. Complicated articles may be best modeled on the layout of an existing article of appropriate structure and topic.

For a downloadable cheatsheet, see File:Wiki markup cheatsheet EN.pdf.

Bold and italics[edit source]

The most commonly used wiki tags are bold and italics. Bolding and italicizing are done by surrounding a word or phrase with multiple apostrophes ('):

You type You get
''italic'' italic
'''bold''' bold
'''''bold italic''''' bold italic

On Gamepedia, the names of an article's subject are written in bold when they are first mentioned in the article. For example, the article Achievements begins:

Achievements is a new feature on Gamepedia designed to help provide a sense of reward and recognition for Gamepedia users who edit and interact on our wikis. ...

Italics may be used for the names of books, movies, albums, and computer or video game titles. If the first mention of the subject of an article is also a book or movie title, then bold italic is used.

Headings and subheadings[edit source]

Headings and subheadings are a way to organize an article. If an article discusses several topics and dedicates more than a couple of paragraphs to each, you can make the article more readable by inserting a heading for each topic — that is, creating a section for each topic.

You can also create sections within sections (i.e., subsections) by using subheadings:

This is a subheading[edit source]

You create headings surrounding the heading text with several '=' wiki tags. The more '=' symbols in the wiki tag, the more nested the heading is:

You type You get
== Elizabeth II hats ==

Elizabeth II hats[edit source]

=== Straw hats ===

Straw hats[edit source]

If an article has at least four headings, a table of contents is automatically generated. Try creating a heading in your Help Wiki:Sandbox. It will be added automatically to the table of contents for the page, assuming three others already exist.

Subscript and superscript[edit source]

To use the subscript format you type an opening <sub> tag before the text and a closing </sub> tag after it. The tags for superscript are <sup> and </sup>. Example:

The code H<sub>2</sub>SO<sub>4</sub> &rarr; 2 H<sup>+</sup> + SO<sub>4</sub><sup>2&minus;</sup>

displays: H2SO4 → 2 H+ + SO42−

HTML[edit source]

Wikitext contains all the features required to follow Gamepedia's formatting conventions. However, its formatting capabilities are limited. If you want to have more control of the formatting, such as using colors, text and paragraph styles, and page layout you can use HTML. HTML is the language used to format web pages on the Internet. It is more powerful than wikitext, but it's also more complex and harder to use.

Editor toolbars[edit source]

The Gamepedia editor has two toolbars with buttons that help with the use of wiki tags. For instance, if you want to type a text in bold, instead of manually typing the ''' tags, you can just press the Bold button and then type the text in bold directly.

Enhanced toolbar: main selections
Icon Function What it shows when editing What it shows on the page
Enhanced editing toolbar
Bold text Bold '''Bold text''' Bold text
Italic text Italic ''Italic text'' Italic text
Link Internal or external link [http://www.example.com link title]
[[Link title]]
link title
Link title
Embedded file Insert image [[File:Example image.|thumbnail]]
Example image.png
Reference Insert footnote <ref>Insert footnote text here</ref> [1]
Signature and timestamp Sign talk comments
(with time stamp)
--~~~~ Username (talk) 14:20, 16 August 2017 (UTC)
  1. Insert footnote text here
Continue the tutorial with Links