Jump to content

Project:Wiki Markup Code

From Kanzenshuu Dragon Ball Wiki
Revision as of 13:47, 16 December 2013 by Hujio (talk | contribs) (Hujio moved page Project:Wikicode to Project:Wiki Markup Code)

Wiki markup code is a lightweight markup language used to write pages in wiki websites, such as Kanzenshuu, and is a simplified alternative/intermediate to HTML, allowing those with limited HTML knowledge to create, edit, and format pages. Its ultimate purpose is to be converted by wiki software into HTML, which in turn is served to web browsers.

Formatting

There is a range of text formatting options available in wiki markup. Some of these are based on HTML code. Some types of HTML code can be used, but wiki markup is preferred when at all possible.

Formatting Input Output
Italic ''Italic text'' Italic text
Bold '''Bold text''' Bold text
Bold & italic '''''Bold & italic text''''' Bold & italic text
Color {{color|CC0000|Red text}} Red text
Small capital letters {{smallcaps|Small caps text}} Small caps text
Code <code>Coded text</code> Coded text
Small <small>Small text</small> Small text
Big <big>Big text</big> Big text
Hover text {{tt|Text|Title Text}} 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