Fandom

How To Wiki

Guide to Wikitext Markup Language (wiki code)

1,795pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.



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

Quick guideEdit


Some of the most common syntaxes in wikitext are:

LinkingEdit

  • 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 FormatingEdit

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

Page FormatingEdit

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

(the line above)


HTML-WikitextEdit

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

OtherEdit

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


Wikipedia's HowtosEdit

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

Also on Fandom

Random Wiki