1
## Please edit system and help pages ONLY in the master wiki!
2
## For more information, please see MoinMoin:MoinDev/Translation.
3
## page was renamed from SyntaxReference
4
##master-page:Unknown-Page
5
##master-date:Unknown-Date
6
#acl -All:write Default
10
This page aims to introduce the most important elements of MoinMoin``'s syntax at a glance, showing first the markup verbatim and then how it is rendered by the wiki engine. Additionally, you'll find links to the relative help pages. Please note that some of the features depend on your configuration.
14
'''Contents''' (up to the 2nd level)
15
<<TableOfContents(2)>>
17
'''Contents''' (up to the 2nd level)
18
<<TableOfContents(2)>>
21
'''''see:''' HelpOnHeadlines''
24
== heading 2nd level ==
25
=== heading 3rd level ===
26
==== heading 4th level ====
27
===== heading 5th level =====
30
== heading 2nd level ==
31
=== heading 3rd level ===
32
==== heading 4th level ====
33
===== heading 5th level =====
36
'''''see:''' HelpOnFormatting''
38
* ''emphasized (italics)''
40
* '''''bold italics'''''
48
* --(strike through)--
50
* ''emphasized (italics)''
52
* '''''bold italics'''''
60
* --(strike through)--
63
'''''see:''' HelpOnLinking''
68
* HelpOnEditing/SubPages
71
* [[FrontPage|named link]]
73
* [[#anchorname|description]]
74
* [[PageName#anchorname]]
75
* [[PageName#anchorname|description]]
76
* [[attachment:filename.txt]]
80
* HelpOnEditing/SubPages
83
* [[FrontPage|named link]]
85
* [[#anchorname|description]]
86
* [[PageName#anchorname]]
87
* [[PageName#anchorname|description]]
88
* [[attachment:filename.txt]]
93
* [[http://moinmo.in/]]
94
* [[http://moinmo.in/|MoinMoin Wiki]]
95
* [[http://static.moinmo.in/logos/moinmoin.png]]
96
* {{http://static.moinmo.in/logos/moinmoin.png}}
97
* [[http://static.moinmo.in/logos/moinmoin.png|moinmoin.png]]
99
* [[MeatBall:InterWiki|InterWiki page on MeatBall]]
100
* [[file://///servername/share/full/path/to/file/filename%20with%20spaces.txt|link to file filename with spaces.txt]]
104
* [[http://moinmo.in/]]
105
* [[http://moinmo.in/|MoinMoin Wiki]]
106
* [[http://static.moinmo.in/logos/moinmoin.png]]
107
* {{http://static.moinmo.in/logos/moinmoin.png}}
108
* [[http://static.moinmo.in/logos/moinmoin.png|moinmoin.png]]
110
* [[MeatBall:InterWiki|InterWiki page on MeatBall]]
111
* [[file://///servername/share/full/path/to/file/filename%20with%20spaces.txt|link to file filename with spaces.txt]]
114
== Avoid or Limit Automatic Linking ==
121
* `http://www.example.com`
122
* [[http://www.example.com/]]notlinked
129
* `http://www.example.com`
130
* [[http://www.example.com/]]notlinked
133
{{drawing:myexample}}
135
= Blockquotes and Indentations =
138
text indented to the 2nd level
141
text indented to the 2nd level
144
'''''see:''' HelpOnLists''
145
== Unordered Lists ==
149
* item 2 (preceding white space)
153
. item 3.1 (bulletless)
154
. item 4 (bulletless)
156
. item 4.1.1 (bulletless)
160
* item 2 (preceding white space)
164
. item 3.1 (bulletless)
165
. item 4 (bulletless)
167
. item 4.1.1 (bulletless)
182
=== with Roman Numbers ===
206
== Definition Lists ==
219
'''''see:''' HelpOnRules''
238
'''''see:''' HelpOnTables''
241
||'''A'''||'''B'''||'''C'''||
244
||'''A'''||'''B'''||'''C'''||
249
||minimal width ||<99%>maximal width ||
251
||minimal width ||<99%>maximal width ||
253
== Spanning Rows and Columns ==
255
||<|2> cell spanning 2 rows ||cell in the 2nd column ||
256
||cell in the 2nd column of the 2nd row ||
257
||<-2> cell spanning 2 columns ||
258
||||use empty cells as a shorthand ||
260
||<|2> cell spanning 2 rows ||cell in the 2nd column ||
261
||cell in the 2nd column of the 2nd row ||
262
||<-2> cell spanning 2 columns ||
263
||||use empty cells as a shorthand ||
265
== Alignment of Cell Contents ==
267
||<^|3> top (combined) ||<:99%> center (combined) ||<v|3> bottom (combined) ||
271
||<^|3> top (combined) ||<:99%> center (combined) ||<v|3> bottom (combined) ||
275
== Coloured Table Cells ==
277
||<#0000FF> blue ||<#00FF00> green ||<#FF0000> red ||
278
||<#00FFFF> cyan ||<#FF00FF> magenta ||<#FFFF00> yellow ||
280
||<#0000FF> blue ||<#00FF00> green ||<#FF0000> red ||
281
||<#00FFFF> cyan ||<#FF00FF> magenta ||<#FFFF00> yellow ||
283
== HTML-like Options for Tables ==
285
||A ||<rowspan="2"> like <|2> ||
286
||<bgcolor="#00FF00"> like <#00FF00> ||
287
||<colspan="2"> like <-2>||
289
||A ||<rowspan="2"> like <|2> ||
290
||<bgcolor="#00FF00"> like <#00FF00> ||
291
||<colspan="2"> like <-2>||
293
= Macros and Variables =
295
'''''see:''' HelpOnMacros''
296
* `<<Anchor(anchorname)>>` inserts a link anchor `anchorname`
297
* `<<BR>>` inserts a hard line break
298
* `<<FootNote(Note)>>` inserts a footnote saying `Note`
299
* `<<Include(HelpOnMacros/Include)>>` inserts the contents of the page `HelpOnMacros/Include` inline
300
* `<<MailTo(user AT example DOT com)>>` obfuscates the email address `user@example.com` to users not logged in
303
'''''see:''' HelpOnVariables''
304
* `@``SIG``@` inserts your login name and timestamp of modification
305
* `@``TIME``@` inserts date and time of modification
307
= Smileys and Icons =
308
'''''see:''' HelpOnSmileys''
312
'''''see:''' HelpOnParsers''
313
== Verbatim Display ==
326
== Syntax Highlighting ==
339
== Using the wiki parser with css classes ==
342
This is wiki markup in a '''div''' with __css__ `class="red solid"`.
347
This is wiki markup in a '''div''' with __css__ `class="red solid"`.
351
'''''see:''' HelpOnAdmonitions''
355
'''Don't overuse admonitions'''
357
Admonitions should be used with care. A page riddled with admonitions will look restless and will be harder to follow then a page where admonitions are used sparingly.
362
'''Don't overuse admonitions'''
364
Admonitions should be used with care. A page riddled with admonitions will look restless and will be harder to follow then a page where admonitions are used sparingly.
369
'''''see:''' HelpOnComments''
372
Click on "Comments" in edit bar to toggle the /* comments */ visibility.
375
Click on "Comments" in edit bar to toggle the /* comments */ visibility.
378
{{{#!wiki comment/dotted
379
This is a wiki parser section with class "comment dotted" (see HelpOnParsers).
381
Its visibility gets toggled the same way.
385
{{{#!wiki comment/dotted
386
This is a wiki parser section with class "comment dotted" (see HelpOnParsers).
388
Its visibility gets toggled the same way.