MPSI/MP La Malgrange
Classes Préparatoires aux Grandes Ecoles
Markup Master Index
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]][[PageName | + ]](titled link)[[PageName | # ]](anonymous numerical reference link)[[link text -> PageName]][[#anchor]][[#anchor | link text]][[PageName#anchor | link text]]
Wiki page links
WikiWord`NonWikiWordGroup/PageNameGroup.PageName[[GroupName/]][[GroupName.]]
Special group links
See Links and Categories
[[~Author Name]][[!Category Name]]
Intermap links
See InterMap
[[Path:/path/local_document.html]][[Wikipedia:WikiWikiWeb]]
Upload links
See Uploads
[[Attach:file with spaces.doc]]
Images
Images as Images
http://www.example.com/image.gifhttp://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
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 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
>>wikistyle<<(:div attr:)(:divend:), >><<
Text markup
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)~~~~(author's 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
See Page Directives Group Headers
(:noheader:), (:nofooter:)(:notitle:)(:noleft:), (:noright:)(:nogroupheader:), (:nogroupfooter:)(:noaction:)
Metadata
See Page Directives CommentMarkup?
(:title text:)(:keywords word, ...:)(:description text:)(:comment text:)
Include
(: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 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
(:attachlist:)(:markup:)[=...=](:markup:)...(:markupend:)(:markup class=horiz:)...(:markupend:)(:markup caption='...':)...(:markupend:)
Forms
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
(: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 | Simultaneous edits >>