Wiki markup

From Wiki.Wiki
Jump to: navigation, search

Wiki markup, also known as wikicode or wikitext, consists of the syntax and keywords used by the MediaWiki software to format a page.

Description Markup Result
Bold '''Charles Dickens''' Charles Dickens
Italics ''A Tale of Two Cities'' A Tale of Two Cities
Bold + italics '''''Great Expectations''''' Great Expectations
Strike <s>I agree.</s> I agree.
Link to another page [[Directory]] Directory
"Pipe" a link to change the link's destination [[Wikis by number of total views|Most-viewed wikis]] Most-viewed wikis
Link to a section [[Italian-language wikis#Former wikis]]
[[Italian-language wikis#Former wikis|Former]]
Italian-language wikis#Former wikis
Former
Red link (nonexistent but needed page) [[Guestbook]] Guestbook
References and footnotes
(Sources in the article will appear where <references/> is put, typically under a level 2 section heading (see below) towards the bottom of the page.)
DC.wiki is about Washington, D.C. and was launched in May 2015.<ref>[https://wiki.wiki/DC.wiki DC.wiki] at Wiki.Wiki.</ref>
References: <references/>
DC.wiki is about Washington, D.C. and was launched in May 2015.[1]
References:
  1. DC.wiki at Wiki.Wiki.
Signature
(Timestamp signatures are usually only used on discussion pages. The stamp appears after a page is saved.)
~~~~ Shakespeare (talk) 16:05, 15 July 2015 (PDT)
Plain website https://wiki.wiki https://wiki.wiki
Link a website [https://wiki.wiki] [1]
Link and name a website [https://wiki.wiki Wiki.Wiki] Wiki.Wiki
Hidden text <!-- View discussion on the talk page. -->
Display an image [[Wiki.Wiki logo - black.jpg|100px]] Wiki.Wiki logo - black.jpg
Display an image and caption [[Wiki.Wiki logo - black.jpg|100px|thumb|Logo]]
Logo
Add a page to a category [[Category:English-language wikis]] Shows "Category name" in a bar at the bottom of the page after it is previewed or saved
Link to a category [[:Category:English-language wikis]] Category:English-language wikis
Redirect to another page #REDIRECT [[Target page]] Redirect arrow without text.svg Target page
Redirect to a section of another page #REDIRECT [[Target page#SectionName]] Redirect arrow without text.svg Target page#SectionName
Section headings
(Table of Contents is generated automatically when four headings are added to an article)
==Level 2==

===Level 3===
====Level 4====
=====Level 5=====
======Level 6======

(Do not use  =Level 1=  as it is for page titles.)

Level 2

Level 3

Level 4

Level 5
Level 6
Bulleted list

* A
* B
** B2
* C

  • A
  • B
    • B2
  • C
Numbered list

# One
# Two
## Two point one
# Three

  1. One
  2. Two
    1. Two point one
  3. Three
Indenting text
(This is often used when replying on a talk page, to make it easier to follow conversations.)

no indent (normal)
:first indent
::second indent
:::third indent
::::fourth indent

no indent (normal)

first indent
second indent
third indent
fourth indent

Resources