view · edit · print · history

Everything you wanted to know about wiki markup but were afraid to ask.

Table of contents


See Links

External links

[[http://example.com | link text]]
[[link text -> http://example.com]]

Page links

[[page name]]
[[page (name)]]
[[PageName | link text]]
[[PageName | + ]] (titled link)
[[PageName | # ]] (anonymous numerical reference link)
[[link text -> PageName]]
[[#anchor | link text]]
[[PageName#anchor | link text]]

Wiki page links

See WikiWord and WikiGroup


Special group links

See Links and Categories

[[~Author Name]]
[[!Category Name]]

Intermap links

See InterMap


Upload links

See Uploads

[[Attach:file with spaces.doc]]


See Images and Uploads

Images as Images

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

[[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


See WikiStyles and Cookbook:OutlineLists

* unordered list
** deeper list
# ordered list
# %item value=#% arbitrary start number

:# %decimal%, %roman%, %ROMAN%, %alpha%, %ALPHA%



!! 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 break
\\\ at the end of a line produces a blank line, even within a list item
[[<<]] produces a line break that clears floating content

Division blocks

See WikiStyles and PageDirectives

(:div attr:)
(:divend:), >><<

Text markup

See Text Formatting Rules

Character format

''emphasized'' (italic)
'''strong''' (bold)
'''''strong emphasis'''''
[-small-], [--smaller--]
[+big+], [++bigger++]
'-small-', '+big+'
'^superscript^', '_subscript_'
{+inserted+} (underscore)
{-deleted-} (strikethrough)
[@escaped code@]
[=escaped text=]

Posting markup

~~~ (author's signature)
~~~~ (author's signature and date)
(:encrypt phrase:) -- replaced with encrypted form of phrase


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:)


Page directives

See PageDirectives

(:redirect PageName:)


See Page Directives Group Headers

(:noheader:), (:nofooter:)
(:noleft:), (:noright:)
(:nogroupheader:), (:nogroupfooter:)


See Page Directives CommentMarkup?

(:title text:)
(:keywords word, ...:)
(:description text:)
(:comment text:)


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:):


See PageLists

(:searchbox group=Group size=size label=label target=Group.Page fmt=def list=ghi order=jkl:)
(:searchresults incl -excl group=abc fmt=def list=ghi order=jkl:)
(:pagelist incl -excl group=abc fmt=def list=ghi order=jkl:)

Other directives

(:markup:) [=...=]
(:markup class=horiz:)...(:markupend:)
(:markup caption='...':)...(:markupend:)


See Cookbook:Forms

(:input form method=get action=url enctype=multipart/form-data:)
(:input end:)
(:input text name=first value="Bob" size=20:)
(:input submit name=post value="Go" accesskey=g:)
(:input reset:)
(:input hidden name=action value=edit:)
(:input radio name=xyz value="abc" checked=1:)
(:input checkbox name=xyz value="abc" checked=1:)
(:input password name=authpw:)
(:input file name=upload:)
(:input image name=xyz src="http:..." alt="Alt Text":)

Edit forms

See Cookbook:Forms#pageeditcontrols

(:input e_form:)
(: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


Page variables

See Page Variables


For example:


<< Page variables | Documentation Index | Simultaneous edits >>

view · edit · print · history · Last edited by an anonymous user of NSLU2-Linux.
Originally by an anonymous user of NSLU2-Linux.
Page last modified on August 28, 2006, at 02:25 PM