User Tools

Site Tools


playground:syntaxreference

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

playground:syntaxreference [2011-02-06 22:08] glenplayground:syntaxreference [2011-02-06 22:10] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +/* Please edit (or translate) system/help pages on the moinmaster wiki ONLY. */
 +/* For more information, please see MoinMaster:MoinPagesEditorGroup. */
 +/* pragma: section-numbers off */
 +
 +
 +<file>#pragma section-numbers off
 +#acl All:admin,read,write,delete,revert
 +#language en
 +</file>
 +This page tries to use each supported markup element at least once. 
 +
 +
 +
 +<file>'''Index'''
 +[[TableOfContents(2)]]
 +</file>
 +**Index** 
 +
 +/* UndefinedMacro: TableOfContents(2) */ 
 +
 +
 +
 +====== Headers ======
 +
 +
 +===== Header 2 =====
 +
 +
 +==== Header 3 ====
 +
 +
 +=== Header 4 ===
 +
 +
 +== Header 5 ==
 +
 +
 +====== Font styles ======
 +
 +
 +<file>Normal text, ''emphasized'', '''strong''', __underline__, ,,subscript,,, ^superscript^, `typewriter` and {{{typewriter}}}.
 +</file>
 +Normal text, //emphasized//, **strong**, __underline__, <sub>subscript</sub>, <sup>superscript</sup>, ''typewriter'' and ''typewriter''
 +
 +
 +
 +===== Syntax Highlighting =====
 +
 +  * <code python>
 +# python code
 +print code.colorize("abc", 1 + 1)</code>
 +
 +
 +====== Smileys ======
 +
 +|**Markup**|**Display**|**Filename**|****|**Markup**|**Display**|**Filename**|****|**Markup**|**Display**|**Filename**|
 +|''(!)''|:!:|''idea.png''||''(./)''|✓|''checkmark.png''||''/!\''|:!:|''alert.png''|
 +|'':(''|:-(|''sad.png''||'':)''|:-)|''smile.png''||'':))''|:-)|''smile3.png''|
 +|'':-(''|:-(|''sad.png''||'':-)''|:-)|''smile.png''||'':-))''|:-)|''smile3.png''|
 +|'':-?''|:-P|''tongue.png''||'':D''|:-D|''biggrin.png''||'':\''|:-\|''ohwell.png''|
 +|'':o''|:-o|''redface.png''||'';)''|;-)|''smile4.png''||'';-)''|;-)|''smile4.png''|
 +|''<!>''|:!:|''attention.png''||''<:(''|:-?|''frown.png''||''>:>''|^_^|''devil.png''|
 +|''B)''|8-)|''smile2.png''||''B-)''|8-)|''smile2.png''||''X-(''|:-X|''angry.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 =====
 +
 +
 +<file> * MoinMoin
 + * MoinMoin/TextFormatting
 + * MoinMoin/InstallDocs 
 + * ../InstallDocs 
 + * /SubPage
 + * Self:InterWiki
 +</file>
 +
 +  * [[:MoinMoin|MoinMoin]] 
 +  * [[:MoinMoin:TextFormatting|MoinMoin/TextFormatting]] 
 +  * [[:MoinMoin:InstallDocs|MoinMoin/InstallDocs]]  
 +  * [[:playground:InstallDocs|../InstallDocs]]  
 +  * [[:playground:SyntaxReference:SubPage|/SubPage]] 
 +  * [[:InterWiki|InterWiki]] 
 +
 +
 +<file>[#anchorname Anchor Link]
 +</file>
 +[[#anchorname|Anchor Link]] 
 +
 +
 +
 +===== External =====
 +
 +
 +<file> * 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
 +</file>
 +
 +  * [[http://moinmoin.wikiwikiweb.de/|http://moinmoin.wikiwikiweb.de/]] 
 +  * [[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?}} 
 +  * [[http://moinmoin.wikiwikiweb.de/wiki/classic/img/moinmoin.png|moinmoin.png]] 
 +  * [[MeatBall>InterWiki|InterWiki]] 
 +  * [[MeatBall>InterWiki|InterWiki]] 
 +  * [[MeatBall>InterWiki|wiki:MeatBall/InterWiki]] 
 +  * [[MeatBall>InterWiki|InterWiki page on MeatBall]] 
 +  * [[file://servername/full/path/to/file/filename%20with%20spaces.txt|Click here to read filename with spaces.txt]] 
 +  * [[mailto:me@privacy.net|me@privacy.net]] 
 +
 +
 +===== Escaping WikiNames =====
 +
 +
 +<file>Wiki''''''Name
 +Wiki``Name
 +</file>
 +Wiki****Name Wiki''''Name 
 +
 +
 +
 +====== Blockquote ======
 +
 +
 +<file> This is indented
 +  Even more
 +</file>
 +
 +  * This is indented 
 +    * Even more 
 +
 +
 +
 +====== Bullet list ======
 +
 +
 +<file> * item 1
 +
 + * item 2, with gap
 + * item 3
 +   * item 3.1
 +</file>
 +
 +  * item 1 
 +  * item 2, with gap 
 +  * item 3 
 +    * item 3.1 
 +
 +
 +
 +====== Numbered list ======
 +
 +
 +<file> 1. item 1
 +   i. item 1
 +   i. item 2
 +</file>
 +
 +  - item 1 
 +    - item 1 
 +    - item 2 
 +
 +
 +
 +<file> 1. item 2
 +   a. item 1
 +   a. item 2
 +</file>
 +
 +  - item 2 
 +    - item 1 
 +    - item 2 
 +
 +
 +
 +====== Descriptions + Definitions ======
 +
 +
 +<file> Term:: Description
 + Label:: Definition
 +</file>
 +<gloss><label>Term</label><item>Description </item><label>Label</label><item>Definition </item></gloss>
 +
 +====== Code display ======
 +
 +  * <file>line 1
 +    indented 4 characters
 +</file>
 +
 +
 +
 +====== Tables ======
 +
 +
 +===== General table layout and HTML like options =====
 +
 +
 +<file> ||||||<tablewidth="80%">'''Heading'''||
 + ||cell 1||cell2||cell 3||
 + ||<rowspan=2> spanning rows||||<bgcolor='#E0E0FF'> spanning 2 columns||
 + ||<rowbgcolor="#FFFFE0">cell2||cell 3||
 +</file>
 +
 +  * <strong class="highlight"><html></html></strong>
 +|<strong class="highlight"><html></html></strong>**Heading**|
 +|cell 1|cell2|cell 3|
 +|<strong class="highlight"><html></html></strong> spanning rows|<strong class="highlight"><html></html></strong> spanning 2 columns|
 +|<strong class="highlight"><html></html></strong>cell2|cell 3|
 +
 +
 +===== Cell width =====
 +
 +
 +<file> || narrow ||<:99%> wide ||
 +</file>
 +
 +  * 
 +| narrow |<strong class="highlight"><html></html></strong> wide |
 +
 +
 +===== Spanning rows and columns =====
 +
 +
 +<file> ||<|2> 2 rows || row 1 ||
 + || row 2 ||
 + ||<-2> row 3 over 2 columns ||
 +</file>
 +
 +  * <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 =====
 +
 +
 +<file> ||<(> left ||<^|3> top ||<v|3> bottom ||
 + ||<:> centered ||
 + ||<)> right ||
 +</file>
 +
 +  * <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 =====
 +
 +
 +<file> ||<#FF8080> red ||<#80FF80> green ||<#8080FF> blue ||
 +</file>
 +
 +  * <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): 
 +
 +
 +|**Col1**|**Col3**|**Col4**|
 +|1|3|4|
 +|a|c|d|
 +  * 
 +|**Col1**|**Col3**|**Col4**|
 +|1|3|4|
 +|a|c|d|
 +Data separated by commas (see raw text): 
 +
 +
 +|**Col1**|**Col2**|**Col3**|**Col4**|
 +|1|2|3|4|
 +|a|b|c|d|
 +
 +====== Rules ======
 +
 +
 +<file>--- (not a rule)
 +----
 +-----
 +------
 +-------
 +--------
 +---------
 +----------
 +-------------------------------------------- (not thicker than 10)
 +</file>
 +--- (not a rule) 
 +
 +
 + 
 +
 +-
 + 
 +
 +--
 + 
 +
 +---
 + 
 +
 +----
 + 
 +
 +----
 + 
 +
 +----
 + 
 +
 +----
 + (not thicker than 10) 
 +
 +
 +
 +====== Macros ======
 +
 +
 +<file>[[Anchor(anchorname)]]
 +'''[[PageCount]]''' pages
 +[[RandomPage]]
 +</file>
 +/* UndefinedMacro: Anchor(anchorname) */ **/* UndefinedMacro: PageCount(None) */** pages /* UndefinedMacro: RandomPage(None) */ 
 +
  

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