Markup reference
Basic markup
| Markup | Result |
|---|---|
''italic'' | italic |
'''bold''' | bold |
'''''bold italic''''' | bold italic |
= Heading 1 = | Top-level heading (in MediaWiki, = H1 = is practically never used. In WikiGlide, it is used practically) |
== Heading 2 == | Section heading |
=== Heading 3 === | Subsection heading |
* Bullet item | Unordered list item |
# Numbered item | Ordered list item |
; Term : Definition | Definition list |
---- | Horizontal rule |
<nowiki>...</nowiki> | Disable wiki parsing |
<pre>...</pre> | Preformatted block |
<code>...</code> | Inline code |
<ref>...</ref> | Footnote reference |
Links
| Markup | Description |
|---|---|
[[Page Name]] | Link to a wiki page |
[[Page Name|display text]] | Link with custom display text |
[[Page Name#Section]] | Link to a section anchor |
[[Page (topic)|]] | Pipe trick — the trailing | auto-generates display text by stripping the parenthetical, so this displays as "Page" |
[https://example.com text] | External link — displays "text" as a clickable link to the URL |
[https://example.com] | External link with no label — automatically numbered [1], [2], etc. in order of appearance |
Includes
Wiki pages can be transcluded into other pages using the include syntax. Pages that are primarily used for includes conventionally have "Template" in their title. Includes support positional and named parameters. This is similar to the template syntax in MediaWiki.
| Markup | Description |
|---|---|
{{PageName}} | Include a wiki page |
{{PageName|arg1|arg2}} | With positional parameters |
{{PageName|key=value}} | With named parameters |
{{{1}}} | First positional parameter (inside the included page) |
{{{name|default}}} | Named parameter with default value (inside the included page) |
Use <noinclude> to hide content when included,
<includeonly> to show content only when included,
and <onlyinclude> to restrict which part is included.
Images
Images use the ![[...]] syntax (not [[File:...]]).
| Markup | Description |
|---|---|
![[photo.png]] | Inline image |
![[photo.png|thumb|A caption]] | Thumbnail with caption |
![[photo.png|300px]] | Image at 300px width |
![[photo.png|left]] | Float image left |
![[photo.png|frame|Caption]] | Framed image with caption |
![[photo.png|alt=Alt text]] | Custom alt text |
Options can be combined: ![[photo.png|thumb|right|200px|A photo]]
References
Add footnotes with <ref> tags and display them with <references />
or the {{Reflist}} template.
| Markup | Description |
|---|---|
<ref>Source text</ref> | Inline footnote |
<ref name="id">...</ref> | Named reference (reusable) |
<ref name="id" /> | Reuse a named reference |
<references /> | Display reference list |
{{Reflist}} | Display reference list (template) |
Tables
| Markup | Description |
|---|---|
{| | Start table (optional attributes after) |
|+ | Table caption |
|- | New row |
! Header | Header cell |
| Cell | Data cell |
|| Cell | Inline cell separator |
|} | End table |
Example:
{|
|+ Caption
! Header 1 !! Header 2
|-
| Cell 1 || Cell 2
|-
| Cell 3 || Cell 4
|}
Mobile-friendly table classes
Wide tables can be hard to read on small screens. All tables automatically scroll horizontally when they overflow. For more control, you can add these CSS classes to the table start line: {| class="wikitable-stack"
Classes can be combined: {| class="wikitable-card wikitable-pinfirst"
wikitable-stack
All cells stack vertically — each row becomes a block. Useful for navboxes and group/list tables where cells should reflow on narrow screens.
Desktop
| Period | Old Kingdom · Middle Kingdom · New Kingdom |
|---|---|
| Rulers | Khufu · Hatshepsut · Ramesses II |
Mobile
| Period | Old Kingdom · Middle Kingdom · New Kingdom |
|---|---|
| Rulers | Khufu · Hatshepsut · Ramesses II |
wikitable-card
Each row becomes a stacked card with header labels. Requires a header row (! cells) to generate labels.
Desktop
| Name | Role | Status |
|---|---|---|
| Alice | Engineer | Active |
| Bob | Designer | Away |
Mobile
| Name | Role | Status |
|---|---|---|
| Alice | Engineer | Active |
| Bob | Designer | Away |
wikitable-pinfirst
First column stays fixed while the rest scrolls horizontally. Useful for tables where the first column is a row label.
Desktop
Behaves like a normal table on wide screens.
Mobile
| Country | Population | Area (km²) | Capital |
|---|---|---|---|
| Egypt | 104M | 1,010,408 | Cairo |
| Italy | 59M | 301,340 | Rome |
Magic words
| Word | Effect |
|---|---|
__NOTOC__ | Hide the table of contents |
__FORCETOC__ | Force TOC even with few headings |
__TOC__ | Place TOC at this position |
__NOGALLERY__ | Disable gallery rendering |
__NOEDITSECTION__ | Hide section edit links |
Magic links: ISBN 978-0-123456-78-9, RFC 1234, PMID 12345
are automatically linked.
Page management
Renaming pages
Sysops and curators can rename (move) a page to a new title. The rename option is available from the edit page — look for the "Rename" link at the bottom.
When a page is renamed:
- The full revision history moves to the new title
- Internal links from other pages are automatically updated to point to the new title
- The search index is updated
- A rename entry is recorded in the page history with the old title, new title, and reason
A rename will be rejected if a page with the target title already exists.
Embeds
External media can be embedded using special tags. These tags are processed before HTML sanitization, so the iframes they produce are preserved safely.
| Markup | Description |
|---|---|
<youtube>VIDEO_ID</youtube> | Embed a YouTube video (11-character video ID) |
<googlemap place="Seoul" /> | Embed a Google Map centered on a place |
<googlemap place="..." width="600" height="450" maptype="roadmap" /> | Full syntax with optional width, height, and map type (roadmap or satellite) |
The {{googlemap}} template provides a convenient wrapper:
| Markup | Description |
|---|---|
{{googlemap|place=Seoul}} | Embed a map with default size (600×450) |
{{googlemap|place=Gyeongbokgung Palace|width=800|height=500}} | Custom dimensions |
{{googlemap|place=Seoul|maptype=satellite}} | Satellite view |
WikiGlide