Markup that needs to be handled correctly during the revamp. For more information, see WikiRevamp.
Contents
Comments
Comments are pieces of text that aren't shown by default. There are several ways to add comments.
Inline comments
Inline comments are added with /* and */. To see the comment directly below this paragraph, click the "Comments" link at the top of this page (to the left of "Info").
Comment blocks
You can create a comment block with {{{#!wiki}}}. To see the comment directly below this paragraph, click the "Comments" link at the top of this page (to the left of "Info").
Comment instructions
Comments can also be created with ## processing instructions. The comment directly below this paragraph is entirely removed from the HTML, and cannot be viewed.
Formatting
Formatting covers basic ways to format text.
Basic formatting:
italic
bold
monospace
monospace
underline
superscript
subscript
smaller
larger
stroke
Code blocks:
This is a preformatted text block
This is a preformatted text block {{{ with curly braces inside }}}{{{
This is a preformatted text block with a unique string and {{{ with curly braces inside }}}
}}} 1 This is a Python code block with line numbers enabled and on by default
This is a Python code block with line numbers enabled and off by default
This is a Python code block with line numbers disabled
Linking
Linking allows the user to move from one piece of content to another.
Basic linking:
Linking tests |
|
Description |
Code |
internal link |
|
internal free link |
?free link |
internal link to sub page |
|
internal link to sister page |
|
internal link with linktext |
?some Page |
internal link to a section |
?subsection of Some Page |
internal link with linktext & parameter |
?some Page |
internal link using a non-existent graphic button |
|
internal link using non-existent graphic button, open new window |
|
internal link using a non-existent graphic button surrounded by whitespace |
|
internal link using a non-existent graphic button surrounded by whitespace, open new window |
|
internal link with text resembling a non-existent graphic, but which is not parsed |
?({{attachment:nonexistent.png}}) |
internal link with text resembling a non-existent graphic, but which is not parsed, open new window |
?({{attachment:nonexistent.png}}) |
link to attachment |
|
internal link using an existent graphic button |
|
internal link using non-existent graphic button, open new window |
|
internal link using an existent graphic button surrounded by whitespace |
|
internal link using an existent graphic button surrounded by whitespace, open new window |
|
internal link with text resembling an existent graphic, but which is not parsed |
?({{attachment:existent.png}}) |
internal link with text resembling an existent graphic, but which is not parsed, open new window |
?({{attachment:existent.png}}) |
link to attachment |
|
link to attachment of another page |
|
relative link to the current page, where the link text is the embedded contents of a non-existent page |
|
interwiki link |
|
interwiki free link |
|
external link |
|
external link with linktext |
|
external link with linktext, open new window |
|
external link using a non-existent graphic as button |
|
external link using a non-existent graphic button, open new window |
|
external link using an existent graphic as button |
|
external link using an existent graphic button, open new window |
|
border of internal link |
|
avoid an internal link |
WikiName |
internal link params |
?Internal link |
external link params |
External link (note: ¶m=value parameters are ignored) |
Embedding tests |
|
Description |
Code |
Non-existent image |
|
Non-existent text |
|
Existent image |
|
Existent text |
existent.txt |
External image |
|
External text |
|
Non-existent image with alt text |
|
Non-existent text with alt text |
|
Existent image with alt text |
|
Existent text with alt text |
example alt text |
External image with alt text |
|
External text with alt text |
|
Non-existent image with alt text and attributes |
|
Non-existent text with alt text and attributes |
|
Existent image with alt text and attributes |
|
Existent text with alt text and attributes |
example alt text |
External image with alt text and attributes |
|
External text with alt text and attributes |
|
InterWiki
InterWiki links are shortened links to other sites.
WikiPedia:MoinMoin
WikiPedia:MoinMoin
Macros
Macros embed arbitrary content in a page. Common macros are listed here, see /AllMacros for a complete list including uncommon (often hard-to-implement) macros.
Navigation macro tests |
||
Description |
Code |
|
<<TableOfContents>> |
||
<<TableOfContents()>> |
<<TableOfContents: execution failed [Argument "maxdepth" must be an integer value, not "["] (see also the log)>> |
|
<<TableOfContents(1)>> |
||
<<Anchor(anchorname)>> |
||
<<Navigation(children)>> |
|
|
<<Navigation(children,2)>> |
|
|
<<Navigation(siblings)>> |
|
|
<<Navigation(siblings,2)>> |
|
|
<<Navigation(slideshow)>> |
|
|
<<Navigation(slides)>> |
|
|
<<AttachList(pagename,mimetype)>> |
||
System information macro tests |
|
Description |
Code |
<<Hits>> |
1109 |
Other macro tests |
||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
Code |
|||||||||||||||||||||||||||||||||||||||||||||||||
<<Action(print)>> |
||||||||||||||||||||||||||||||||||||||||||||||||||
<<Action(print,Print this page)>> |
Print this page |
|||||||||||||||||||||||||||||||||||||||||||||||||
<<Icon(image)>> |
||||||||||||||||||||||||||||||||||||||||||||||||||
<<BR>> |
|
|||||||||||||||||||||||||||||||||||||||||||||||||
<<RandomQuote>> |
Hint: Edit the FortuneCookies page to display randomly selected wisdom here. |
|||||||||||||||||||||||||||||||||||||||||||||||||
<<RandomQuote()>> |
Hint: Add your favorite pages to your navibar. See your Quicklinks list in your user preferences. |
|||||||||||||||||||||||||||||||||||||||||||||||||
<<RandomQuote(FortuneCookies)>> |
Hint: Search for multiple words, just like Google. See also HelpOnSearching. |
|||||||||||||||||||||||||||||||||||||||||||||||||
<<Include(HelloWorld)>> |
||||||||||||||||||||||||||||||||||||||||||||||||||
<<Include(HelloWorld,"heading")>> |
||||||||||||||||||||||||||||||||||||||||||||||||||
<<Include(HelloWorld,"heading",3)>> |
||||||||||||||||||||||||||||||||||||||||||||||||||
<<FootNote(footnote text)>> |
||||||||||||||||||||||||||||||||||||||||||||||||||
<<Date>> |
2026-09-14 |
|||||||||||||||||||||||||||||||||||||||||||||||||
<<Date()>> |
2026-09-14 |
|||||||||||||||||||||||||||||||||||||||||||||||||
<<Date(1970-01-01T00:00:00Z)>> |
2026-09-14 |
|||||||||||||||||||||||||||||||||||||||||||||||||
<<DateTime>> |
2026-09-14 06:03:06 |
|||||||||||||||||||||||||||||||||||||||||||||||||
<<DateTime()>> |
2026-09-14 06:03:06 |
|||||||||||||||||||||||||||||||||||||||||||||||||
<<DateTime(1970-01-01T00:00:00Z)>> |
2026-09-14 06:03:06 |
|||||||||||||||||||||||||||||||||||||||||||||||||
<<GetText(text)>> |
text |
|||||||||||||||||||||||||||||||||||||||||||||||||
<<MailTo(email)>> |
<email> |
|||||||||||||||||||||||||||||||||||||||||||||||||
<<GetVal(GermanDict,Test)>> |
||||||||||||||||||||||||||||||||||||||||||||||||||
<<MonthCalendar(,,12)>> |
|
|||||||||||||||||||||||||||||||||||||||||||||||||
Undocumented macro tests |
|
Description |
Code |
<<Verbatim(")>> |
" |
<<ShowSmileys>> |
|
Debian-specific macro tests |
|
Description |
Code |
<<DebianCodename(stable)>> |
trixie |
<<DebianCodenameLink(stable)>> |
|
<<DebianDate(stable)>> |
<<Debian(stable)>> |
<<DebianVersion(stable)>> |
13.7 |
<<mid(abc123)>> |
<abc123> |
Parsers
Parsers allow blocks to use different syntax.
Normal wiki syntax
Alternative "creole" syntax
reStructuredText syntax
XML syntax
XSLT syntax
DocBook syntax
1 cplusplus syntax is a shortcut for the equivalent highlighter
1 python syntax is a shortcut for the equivalent highlighter
1 java syntax is a shortcut for the equivalent highlighter
1 pascal syntax is a shortcut for the equivalent highlighter
1 irc syntax is a shortcut for the equivalent highlighter
CSV with commas instead of semicolons:
CSV with specific columns shown:
CSV with specific columns hidden:
CSV with column hidden using short syntax:
line 10: Python-formatted text with numbers=off start=10 step=3
line 13: Line numbers increase by 3
line 16: The highlighter's end brackets aren't required to be on a line on their own.
Admonitions
Admonitions are just wiki sections with a class that has some associated CSS.
caution
warning
important
note
tip
green/solid
Processing Instructions
Processing Instructions describe how the page works. There aren't many of them, but each one would need their own test page. See HelpOnProcessingInstructions for details.
Smileys
Smileys are short strings that are converted to images.
These should all become smileys:
The following should not become smileys:
- {ok}
- {oK}
footnote text (1)



You have enabled comments