Meta:Manual of Style/Basic Wikicode

From Granblue Fantasy Wiki
Jump to navigation Jump to search

Besides writing articles in the The Granblue Fantasy Wiki on factual, useful information, contributors are expected to use decent spelling and grammar and a basic level of wikicode. Some of the most commonly used aspects of wikicode are listed below. Should you forget, above the text editors for articles are a row of buttons with many common wikicode attributes.

  • Text formatting: To make text bold, put three apostrophes on either side of it, such as '''The Granblue Fantasy Wiki'''. This will result in The Granblue Fantasy Wiki. However, bold text is mostly used to define the name of the subject matter at the start of an article or for any notes which need a very large amount of emphasis. For a normal emphasis, it is common style to put text in italics, which is done with two apostrophes instead of three, such as ''The Granblue Fantasy Wiki''. This will result in The Granblue Fantasy Wiki.
  • Links: Whenever something else is referenced in an article which has its own article on the The Granblue Fantasy Wiki, be sure to link to it. This is done by putting two brackets on either side of a word. For example, [[Five Dancing and Singing Beauties]] will result in Five Dancing and Singing Beauties. However, sometimes there's no way to use the exact name of an article in a sentence without the sentence being awkwardly-worded. In these instances, to have different text display than the article's name, put a vertical pipe between the article's name and the text you would like to display. For example, [[Five Dancing and Singing Beauties|Current Event]] will result in Current Event, which you may notice links to the Five Dancing and Singing Beauties article.
    • Wikipedia links: When something is referenced outside of the Granblue Fantasy world, it is often useful to link to the Wikipedia article on the subject. When linking to a Wikipedia subject, simply put a "Wikiipedia:" before the article's name. However, be careful that this doesn't show up in the link text itself, and be sure to check to see if you're linking to an existing Wikipedia article. As an example, to link to the Wikipedia article on Granblue Fantasy, typing [[Wikipedia:Granblue Fantasy|Granblue Fantasy]] would result in Granblue Fantasy.
    • External links: Other links can be done with using a single bracket. In this instance, a vertical line is not necessary to divide the name from the link. However, the full address is needed to link to a page. For example, to link to the GBF proboard forums, typing [http://gbf-english.proboards.com GBF English boards] would result in GBF English boards. External links are primarily used to cite references and to link to any related websites.
  • Rosetta, Guardian of the Blue World
    Images: Images are added in a manner similar to links. To add in an image, link to the image's name, but add in "File:" before the name. For example, [[File:Label_Rarity_SSR.png]] will add in the image . Formatting attributes can be added to an image as well, divided with vertical lines. For example, [[File:Rosetta_A.png|thumb|100px|Rosetta, Guardian of the Blue World]] will add the image to the right.
  • Categories: Categories are also added in a manner similar to Links. To categorize an article, link to the category's name, but add in "Category:" before the name. For example, [[Category:Characters]] would add this article to Category:Characters. To link to a category and not add the article to the category, add in an extra colon before the name, like [[: Category:Characters]]. All articles should be categorized. The only page which should appear on the list of uncategorized pages should be the main page of The Granblue Fantasy Wiki.
  • Headlines: Articles are divided by levels of headlines, much like a large outline. These are indicated by equals signs on either side of the headline text. There are six levels of headlines, with one equals sign being the first and highest level, which would look like =Headline text=, and six equals signs being the sixth and lowest level, which would look like ======Headline text======. First and second level headlines are underlined. Text size decreases with lower level headlines.
  • Templates: Where possible use one of several templates created for the convenience of article creators. A full list is available here: !Category:Link Templates
  • Lists: There are two major ways to do lists.
    • Bulleted lists: To create a bulleted list, put an asterisk before each item. For example:
* Catalina
* Rackam
* Io
* Eugen

Will become:

  • Catalina
  • Rackam
  • Io
  • Eugen
    • Definition lists: To create a list with definitions, put a semicolon before each item, and a colon before the details on each item. For example:
; Catalina
: Obtained at the start of the game
; Rackam
: Obtained at Chapter 2
; Io
: Obtained at Chapter 6
; Eugen
: Obtained at Chapter 10

Will become:

Catalina
Obtained at the start of the game
Rackam
Obtained at Chapter 2
Io
Obtained at Chapter 6
Eugen
Obtained at Chapter 10

A colon will indent the start of any other line as well, and multiple colons can be used for multiple indents. However, indents should only be used for data formatting, and should not be used to start paragraphs within an article. Indents are also used on talk pages to indicate a reply.

  • Tables: Tables are started and ended with a curled bracket and a vertical line. Rows can be divided with a vertical line and a dash, and sections within rows can be divided with vertical lines. Title headings can be indicated with exclamation points rather than vertical lines. For example:
{|
! Name
! Obtained
|-
| Catalina
| Start of game
|-
| Rackam
| Chapter 2
|-
| Io
| Chapter 6
|-
| Eugen
| Chapter 10
|}

Will become:

Name Obtained
Catalina Start of game
Rackam Chapter 2
Io Chapter 6
Eugen Chapter 10

Formatting attributes can also be added to the table. The first row attributes apply to the whole table. Attributes on the lines with vertical lines and dashes apply to the row. Attributes for just one cell can be put before the content, divided with another vertical line. For example:

{| style="border: 1px solid #999; border-collapse: collapse;"
|- style="background: #ccc;"
! Name
! Obtain
|- style="background: #cfc;"
| Catalina
| style="text-align:right" | Start of game
|- style="background: #fcc;"
| Rackam
| style="text-align:right" | Chapter 2
|- style="background: #ccf;"
| Io
| style="text-align:right" | Chapter 6
|- style="background: #ffc;"
| Eugen
| style="text-align:right" | Chapter 10
|}

Will become:

Name Obtain
Catalina Start of game
Rackam Chapter 2
Io Chapter 6
Eugen Chapter 10