Everything you wanted to know about wiki markup but were afraid to ask.
Table of contents
Links
See Links
External links
http://example.com
-
[[http://example.com]]
-
[[http://example.com | link text]]
-
[[link text -> http://example.com]]
-
Page links
[[PageName]]
-
[[page name]]
-
[[page (name)]]
-
[[PageName | link text]]
-
[[link text -> PageName]]
-
[[#anchor]]
-
[[#anchor | link text]]
-
[[PageName#anchor | link text]]
-
Special group links
See Categories
[[~Author Name]]
-
[[!Category Name]]
-
Intermap links
See InterMap
[[Path:/path/local_document.html]]
-
[[Attach:file with spaces.doc]]
-
[[Wikipedia:WikiWikiWeb]]
-
Wiki page links
See WikiWord and WikiGroup
WikiWord
-
`NonWikiWord
-
Group/PageName
-
Group.PageName
-
Images
See Images.
Images as Images
http://www.example.com/image.gif
-
http://www.example.com/image.gif"alt text"
-
Attach:image.gif"My image"
-
%lfloat% Attach:image.gif
-
%rfloat% Attach:image.gif
-
%center% Attach:image.gif
-
%rframe% Attach:image.gif | Caption
-
%lframe% Attach:image.gif | Caption
-
%width=200px% Attach:image.gif
-
%thumb% Attach:image.gif
-
Images as links
[[Attach:image.gif]]
-
[[(Attach:)image.gif]]
-
[[PageName | Attach:image.gif"alt text"]]
-
[[http://www.example.com/ | Attach:image.gif"alt text"]]
-
%rframe thumb% [[Attach:image.gif | Attach:image.gif"alt text"]] | Caption
-
Start-of-line markup
See Text Formatting Rules
Lists
See WikiStyles and Cookbook:OutlineLists
* unordered list
-
** deeper list
-
# ordered list
-
# %item value=#% arbitrary start number
-
:# %decimal%, %roman%, %ROMAN%, %alpha%, %ALPHA%
:term:definition
-
Headings
!! Heading
-
!!! Deeper heading
-
Paragraph blocks
-> indented text
-
-< hanging indent
-
<space> preformatted text
-
[@...@] preformatted block
-
---- (horizontal rule)
-
blank line is vertical space
-
\ at end of line joins next line
-
\\ at end of line produces a line breaks
-
\\\ at the end of a line produces a blank line, even within in a list item
-
[[<<]]
produces a line break that clears floating content-
Division blocks
See WikiStyles and PageDirectives
>>wikistyle<<
-
(:div attr:)
-
(:divend:), >><<
-
Text markup
See Text Formatting Rules
Character format
''emphasized'' (italic)
-
'''strong''' (bold)
-
'''''strong emphasis'''''
-
@@monospaced@@
-
[-small-], [--smaller--]
-
[+big+], [++bigger++]
-
'-small-', '+big+'
-
'^superscript^', '_subscript_'
-
{+inserted+} (underscore)
-
{-deleted-} (strikethrough)
-
[@escaped code@]
-
[=escaped text=]
-
Posting markup
~~
~
(author's signature)-
~~
~~
(authors signature and date)-
(:encrypt phrase:)
-- replaced with encrypted form of phrase-
Tables
Plain rows and columns of text
See Tables
||table attributes
-
||!table caption!||
-
||left aligned || centered || right aligned||
-
||!column heading||
-
||spanned columns ||||||
-
Structured tables
See Table directives
(:table attr:)
-
(:cellnr attr:)
-
(:cell attr:)
-
(:tableend:)
-
Directives
Page directives
See PageDirectives
(:redirect PageName:)
-
(:(no)spacewikiwords:)
-
(:(no)linkwikiwords:)
-
(:(no)linebreaks:)
-
(:nl:)
-
Display
(:noheader:), (:nofooter:)
-
(:notitle:)
-
(:noleft:), (:noright:)
-
(:nogroupheader:), (:nogroupfooter:)
-
(:noaction:)
-
Metadata
(:title text:)
-
(:keywords word, ...:)
-
(:description text:)
-
(:comment text:)
-
Include
See Include Other Pages
(:include PageName:)
-
(:include PageName #start#end lines=n paras=n:)
-
(:include Page1 Page2 Page3:)
-
Conditional markup
See Conditional markup
:(:if (!)
cond param:)...(:ifend:):
Pagelists
See Cookbook:PagelistExplained
(:searchbox group=Group size=size label=label:)
-
(:searchresults incl -excl group=abc fmt=def list=ghi order=jkl:)
-
(:pagelist incl -excl group=abc fmt=def list=ghi order=jkl:)
-
Other directives
(:attachlist:)
-
(:markup:)
[=...=]
-
(:markup:)...(:markupend:)
-
(:markup class=horiz:)...(:markupend:)
-
(:markup caption='...':)...(:markupend:)
-
Forms
See Cookbook:Forms
(:input form method=get action=url:)
-
(:input text name=first value="Bob" size=20:)
-
(:input submit name=post value="Go" accesskey=g:)
-
(:input hidden name=action value=edit:)
-
(:input end:)
-
(:input radio:)
-
(:input checkbox:)
-
(:input password:)
-
Edit forms
See Cookbook:Forms#pageeditcontrols
(:messages:)
-
(:input e_form:)
-
(:e_guibuttons:)
-
(:e_preview:)
-
(:input e_textarea rows=24 cols=60:)
-
(:input e_author value={$Author} size=40:)
-
(:input e_changesummary value="Summary" size=60:)
-
(:input e_savebutton value=$[Save]:)
-
(:input e_saveeditbutton value=$[Save and edit]:)
-
(:input e_previewbutton value=$[Preview]:)
-
(:input e_resetbutton value=$[Reset]:)
-
Wiki trails
See WikiTrails
<<|TrailPage|>>
-
<|TrailPage|>
-
^|TrailPage|^
-
Page variables
See Page Variables
{
$variable
}
-
{
pagename$variable
}
-
For example:
{$Group}
-
{$Name}
-
{$LastModifiedBy}
-
<< Page variables | Documentation Index | Deleting pages >>