> 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
  1. Headers
    1. Header 2
  2. Font styles
    1. Syntax Hilighting
  3. Smileys
  4. Hyperlinks
    1. Internal
    2. External
    3. Escaping WikiNames
  5. Blockquote
  6. Bullet list
  7. Numbered list
  8. Decriptions + Definitions
  9. Code display
  10. Tables
    1. General table layout and HTML like options
    2. Cell width
    3. Spanning rows and columns
    4. Alignment
    5. Colors
    6. CSV Tables
  11. Rules
  12. Macros

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 Hilighting

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
:-? :-? tongue.png :D :D biggrin.png :\ :\ ohwell.png
:o :o redface.png ;) ;) smile4.png ;-) ;-) smile4.png
<!> <!> attention.png <:( <:( frown.png >:> >:> devil.png
B) B) smile2.png B-) B-) smile2.png X-( X-( angry.png
{1} {1} prio1.png {2} {2} prio2.png {3} {3} prio3.png
{OK} {OK} thumbs-up.png {X} {X} icon-error.png {da} {da} flag-da.png
{de} {de} flag-de.png {en} {en} flag-en.png {es} {es} flag-es.png
{fi} {fi} flag-fi.png {fr} {fr} flag-fr.png {it} {it} flag-it.png
{i} {i} icon-info.png {ja} {ja} flag-ja.png {ko} {ko} flag-ko.png
{nl} {nl} flag-nl.png {pt} {pt} flag-pt.png {sv} {sv} flag-sv.png
{us} {us} flag-us.png {zh} {zh} flag-zh.png |) |) tired.png
|-) |-) tired.png              

Hyperlinks

Internal

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

External

 * http://moin.sourceforge.net/
 * [http://moin.sourceforge.net/]
 * [http://moin.sourceforge.net/ MoinMoin Sourceforge Homepage]
 * [^http://moin.sourceforge.net/ MoinMoin Sourceforge Homepage - in new window]
 * [http://moin.sourceforge.net/moinmoin.gif]
 * http://moin.sourceforge.net/moinmoin.gif
 * [http://moin.sourceforge.net/moinmoin.gif moinmoin.gif]
 * 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]
 * jh@web.de

Escaping WikiNames

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

Blockquote

 This is indented
  Even more

Bullet list

 * 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

Decriptions + Definitions

 Term:: Decription
 Label:: Definition
Term

Decription

Label

Definition

Code display

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

Cell width

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

Spanning rows and columns

 ||<|2> 2 rows || row 1 ||
 || row 2 ||
 ||<-2> row 3 over 2 columns ||

Alignment

 ||<(> left ||<^|3> top ||<v|3> bottom ||
 ||<:> centered ||
 ||<)> right ||

Colors

 ||<#FF8080> red ||<#80FF80> green ||<#8080FF> blue ||

CSV Tables

Col1 Col3 Col4
1 3 4
a c d

Rules

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







(not thicker than 10)

Macros

[[Anchor(anchorname)]]
'''[[PageCount]]''' pages
[[RandomPage]]
430 pages --> -->
 
 
Cannot load macro RandomPage
Please include this information in your bug reports!:
Python Python 2.5.5: /usr/bin/python2.5
Linux p15129997 2.6.32-5-686 #1 SMP Mon Mar 26 05:20:33 UTC 2012 i686
MoinMoin Release 1.2.4 [Revision 1.187]
Tue May 22 00:17:27 2012

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /usr/lib/python2.5/site-packages/MoinMoin/request.py in run(self=<MoinMoin.request.RequestCGI instance at 0x8f0e72c>)
  403 
  404                 if config.allow_extended_names:
  405                     Page(query).send_page(self, count_hit=1)
  406                 else:
  407                     from MoinMoin.parser.wiki import Parser
Page = <class MoinMoin.Page.Page at 0x906e53c>, query = 'SyntaxReference', ).send_page undefined, self = <MoinMoin.request.RequestCGI instance at 0x8f0e72c>, count_hit undefined

 /usr/lib/python2.5/site-packages/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance at 0x90b4a6c>, request=<MoinMoin.request.RequestCGI instance at 0x8f0e72c>, msg='', **keywords={'count_hit': 1})
  622         else:
  623             # parse the text and send the page content
  624             self.send_page_content(request, Parser, body)
  625 
  626             # check for pending footnotes
self = <MoinMoin.Page.Page instance at 0x90b4a6c>, self.send_page_content = <bound method Page.send_page_content of <MoinMoin.Page.Page instance at 0x90b4a6c>>, request = <MoinMoin.request.RequestCGI instance at 0x8f0e72c>, Parser = <class MoinMoin.parser.wiki.Parser at 0x90df23c>, body = "\n{{{\n#pragma section-numbers off\n#acl All:admin,...ame)]]\n'''[[PageCount]]''' pages\n[[RandomPage]]\n\n"

 /usr/lib/python2.5/site-packages/MoinMoin/Page.py in send_page_content(self=<MoinMoin.Page.Page instance at 0x90b4a6c>, request=<MoinMoin.request.RequestCGI instance at 0x8f0e72c>, Parser=<class MoinMoin.parser.wiki.Parser at 0x90df23c>, body="\n{{{\n#pragma section-numbers off\n#acl All:admin,...ame)]]\n'''[[PageCount]]''' pages\n[[RandomPage]]\n\n", needsupdate=0)
  721 
  722         try:
  723             exec code
  724         except 'CacheNeedsUpdate': # if something goes wrong, try without caching
  725            self.send_page_content(request, Parser, body, needsupdate=1)
code = <code object <module> at 0x90dd770, file "SyntaxReference", line 2>

 /home/httpd/vhosts/openautomaton.org/httpdocs/community/SyntaxReference in ()

 /usr/lib/python2.5/site-packages/MoinMoin/formatter/base.py in macro(self=<MoinMoin.formatter.text_html.Formatter instance at 0x90bf36c>, macro_obj=<MoinMoin.wikimacro.Macro instance at 0x90e162c>, name='RandomPage', args=None)
  160     def macro(self, macro_obj, name, args):
  161         # call the macro
  162         return macro_obj.execute(name, args)    
  163 
  164     def processor(self, processor_name, lines):
macro_obj = <MoinMoin.wikimacro.Macro instance at 0x90e162c>, macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance at 0x90e162c>>, name = 'RandomPage', args = None

 /usr/lib/python2.5/site-packages/MoinMoin/wikimacro.py in execute(self=<MoinMoin.wikimacro.Macro instance at 0x90e162c>, macro_name='RandomPage', args=None)
  110             return self._m_lang(macro_name, args)
  111 
  112         raise ImportError("Cannot load macro %s" % macro_name)
  113 
  114     def _m_lang(self, lang_name, text):
ImportError undefined, macro_name = 'RandomPage'

: Cannot load macro RandomPage