User Tools

Site Tools


playground:syntaxreference
#pragma section-numbers off
#acl All:admin,read,write,delete,revert
#language en

This page tries to use each supported markup element at least once.

'''Index'''
[[TableOfContents(2)]]

Index

Headers

Header 2

Header 3

Header 4

Header 5

Font styles

Normal text, ''emphasized'', '''strong''', __underline__, ,,subscript,,, ^superscript^, `typewriter` and {{{typewriter}}}.

Normal text, emphasized, strong, underline, subscript, superscript, typewriter and typewriter.

Syntax Highlighting

  • # python code
    print code.colorize("abc", 1 + 1)

Smileys

MarkupDisplayFilenameMarkupDisplayFilenameMarkupDisplayFilename
(!):!:idea.png(./)checkmark.png/!\:!:alert.png
:(:-(sad.png:):-)smile.png:)):-)smile3.png
:-(:-(sad.png:-):-)smile.png:-)):-)smile3.png
:-?:-Ptongue.png:D:-Dbiggrin.png:\:-\ohwell.png
:o:-oredface.png;);-)smile4.png;-);-)smile4.png
<!>:!:attention.png<:(:-?frown.png>:>_devil.png
B)8-)smile2.pngB-)8-)smile2.pngX-(:-Xangry.png
{*}<ubu>star_on.png{1}<1>prio1.png{2}<2>prio2.png
{3}<3>prio3.png{OK}:!:thumbs-up.png{X}:!:icon-error.png
{i}:!:icon-info.png{o}<circ>star_off.png|):-|tired.png
|-):-|tired.png&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

Hyperlinks

Internal

 * MoinMoin
 * MoinMoin/TextFormatting
 * MoinMoin/InstallDocs 
 * ../InstallDocs 
 * /SubPage
 * Self:InterWiki
[#anchorname Anchor Link]

Anchor Link

External

 * http://moinmoin.wikiwikiweb.de/
 * [http://moinmoin.wikiwikiweb.de/]
 * [http://moinmoin.wikiwikiweb.de/ MoinMoin Wiki]
 * [http://moinmoin.wikiwikiweb.de/wiki/classic/img/moinmoin.png]
 * http://moinmoin.wikiwikiweb.de/wiki/classic/img/moinmoin.png
 * [http://moinmoin.wikiwikiweb.de/wiki/classic/img/moinmoin.png moinmoin.png]
 * MeatBall:InterWiki
 * wiki:MeatBall/InterWiki
 * [wiki:MeatBall/InterWiki]
 * [wiki:MeatBall/InterWiki InterWiki page on MeatBall]
 * [file://servername/full/path/to/file/filename%20with%20spaces.txt Click here to read filename with spaces.txt]
 * me@privacy.net

Escaping WikiNames

Wiki''''''Name
Wiki``Name

WikiName WikiName

Blockquote

 This is indented
  Even more
  • This is indented
    • Even more

Bullet list

 * item 1

 * item 2, with gap
 * item 3
   * item 3.1
  • item 1
  • item 2, with gap
  • item 3
    • item 3.1

Numbered list

 1. item 1
   i. item 1
   i. item 2
  1. item 1
    1. item 1
    2. item 2
 1. item 2
   a. item 1
   a. item 2
  1. item 2
    1. item 1
    2. item 2

Descriptions + Definitions

 Term:: Description
 Label:: Definition

<gloss><label>Term</label><item>Description </item><label>Label</label><item>Definition </item></gloss>

Code display

  • line 1
        indented 4 characters

Tables

General table layout and HTML like options

 ||||||<tablewidth="80%">'''Heading'''||
 ||cell 1||cell2||cell 3||
 ||<rowspan=2> spanning rows||||<bgcolor='#E0E0FF'> spanning 2 columns||
 ||<rowbgcolor="#FFFFE0">cell2||cell 3||
  • <strong class=“highlight”><html></html></strong>

|<strong class=“highlight”><html></html></strong>Heading|

cell 1cell2cell 3
<strong class=“highlight”><html></html></strong> spanning rows<strong class=“highlight”><html></html></strong> spanning 2 columns
<strong class=“highlight”><html></html></strong>cell2cell 3

Cell width

 || narrow ||<:99%> wide ||

| narrow |<strong class=“highlight”><html></html></strong> wide |

Spanning rows and columns

 ||<|2> 2 rows || row 1 ||
 || row 2 ||
 ||<-2> row 3 over 2 columns ||
  • <strong class=“highlight”><html></html></strong>

|<strong class=“highlight”><html></html></strong> 2 rows | row 1 |

row 2
<strong class=“highlight”><html></html></strong> row 3 over 2 columns

Alignment

 ||<(> left ||<^|3> top ||<v|3> bottom ||
 ||<:> centered ||
 ||<)> right ||
  • <strong class=“highlight”><html></html></strong>

|<strong class=“highlight”><html></html></strong> left |<strong class=“highlight”><html></html></strong> top |<strong class=“highlight”><html></html></strong> bottom |

<strong class=“highlight”><html></html></strong> centered
<strong class=“highlight”><html></html></strong> right

Colors

 ||<#FF8080> red ||<#80FF80> green ||<#8080FF> blue ||
  • <strong class=“highlight”><html></html></strong>

|<strong class=“highlight”><html></html></strong> red |<strong class=“highlight”><html></html></strong> green |<strong class=“highlight”><html></html></strong> blue |

CSV Tables

Data separated by semicolons (see raw text):

Col1Col3Col4
134
acd

*

Col1Col3Col4
134
acd

Data separated by commas (see raw text):

Col1Col2Col3Col4
1234
abcd

Rules

--- (not a rule)
----
-----
------
-------
--------
---------
----------
-------------------------------------------- (not thicker than 10)

— (not a rule)

-





(not thicker than 10)

Macros

[[Anchor(anchorname)]]
'''[[PageCount]]''' pages
[[RandomPage]]

pages

playground/syntaxreference.txt · Last modified: 2011-02-06 22:10 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS PLD Linux Driven by DokuWiki