Jump to content

Project:Wiki Markup Code

From Kanzenshuu Dragon Ball Wiki
Revision as of 13:28, 16 December 2013 by Hujio (talk | contribs) (Lists)

Formatting

There is a range of text formatting options available in wikicode. Some of these are based on HTML code. Some types of HTML code can be used, but wikicode is preferred.

Formatting Input Output
Italic ''Italic text'' Italic text
Bold '''Bold text''' Bold text
Bold & italic '''''Bold & italic text''''' Bold & italic text
Color <span style="color:#CC0000">Red text</span> Red text

Links

Linking helps connect various pages on the wiki together. Users can also link to websites outside of Kanzenshuu.

Formatting Input Output
Internal link [[Page title|Link label]]
[[Page title]]
Link label
Page title
External link [http://www.example.org Link label]
[http://www.example.org]
http://www.example.org
Link label
[1]
http://www.example.org

Section Headings

The = through ====== markup are headings for the sections with which they are associated.

  • A single = is styled as the page title and should not be used within a page or article.
  • Headings are styled through CSS and add an [edit] link.
Formatting Input Output
2nd level heading ==Heading text==

Heading text

3rd level heading ===Heading text===

Heading text

4th level heading ====Heading text====

Heading text

5th level heading =====Heading text=====
Heading text
6th level heading ======Heading text======
Heading text

Lists

Do not leave blank lines between items in a list unless there is a reason to do so, since this causes the MediaWiki software to interpret each item as beginning a new list.

Formatting Input Output
Unordered list * List item
** List item
*** List item
  • List item
    • List item
      • List item
Ordered list # List item
## List item
### List item
  1. List item
    1. List item
      1. List item

To list terms and definitions, start a new line with a semicolon (;) followed by the term. Then, type a colon (:) followed by a definition.

Definition lists consist of group names corresponding to values. Group names (terms) are in bold. Values (definitions) are indented. Each group must include one or more definitions. For a single or first value, the : can be placed on the same line after ; – but subsequent values must be placed on separate lines.

Do not use a semicolon (;) simply to bold a line without defining a value using a colon (:).

Formatting Input Output
Definition list ; Term
: Definition1
: Definition2
Term
Definition1
Definition2

Indenting

Indentation is most commonly used on talk pages.

Formatting Input Output
Indent text Normal text
: Indented text
:: Indented text
Normal text
Indented text
Indented text