How To Wiki
Advertisement

Wikitext or Wikitext Markup Language is the code that simplifies creating pages on wiki sites.

Quick guide


Some of the most common syntaxes in wikitext are:

Linking

  • Internal Linking
    • Simple
      Code: [[Main Page]]
      Result: Main Page
    • Link to Main Page but display Home:
      Code: [[Main Page|Home]]
      Result: Home
    • Linking to a wikipedia page:
      Code: [[Wikipedia:Dog]]
      Result: Wikipedia:Dog
    • Linking to a wikipedia page without wikipedia displayed:
      Code: [[Wikipedia:Dog|]] or [[Wikipedia:Dog|Dog]]
      Result: Dog
  • External Linking
    • Simple requires nothing extra:
      Code: http://www.gnu.org/gnu
      Result: http://www.gnu.org/gnu
    • Linking to the site but displaying alternate text:
      Code: [http://www.gnu.org/gnu GNU]
      Result: GNU

Text Formating

  • Bold
    Code: '''Bold Text'''
    Result: Bold Text
  • Italic
    Code: ''Italic Text''
    Result: Italic Text

Page Formating

  • line
    Code: ----
    Result: (the line below)

(the line above)


HTML-Wikitext

The following HTML tags also work as wikitext tags <center>center</center>, <s>strike-through</s>, newline <br \>, <pre></pre>, <div></div>, <!-- hidden comments -->

Other

  • Remove wikitext formating
    Code: <nowiki></nowiki>
  • Remove Table of contents
    Code: __NOTOC__
  • Add Comment
    Code: <!-- comment -->


Wikipedia's Howtos

wikipedia has 92 howtos on wikitext. Its recomended you visit wikipedia:Category:Wikipedia how-to.

Advertisement