- ==header h2==
- ===header h3===
- ====header h4====
- Linebreak for a new line and double empty for a paragraph
- ''italic'', '''bold''' and the combination '''''bold italic'''''.
- Multi-level lists with *.
- Multi-level ordered lists with #.
- Multi-level blockquote with :.
- Preformatted text with leading space. Note: Parsing still applies. Use nowiki tag to prevent parsing
- Tables {| table |- tr | td ! th /+ caption. You can add attributes like class='border' to the table tag, to the row tag and also to the cell (separating with single |) and have multipe cells in one line (separating with || and !!)
- Internal [[SofaWiki]] links and external links http://www.artfilm.ch.
- Internal links with alternate text [[SofaWiki|alt text]] and pipe trick [[ns:name (par)|]]
- Simpel external links http://www.artfilm.ch.
- External links with alternate text [http ://www.artfilm.ch alt text]
- Transclusion with {{syntax}}
- Very few tags are allowed: b, i, u, s, sup, sub, tt, code, span, br, hr, small, big, div.
- Use the nowiki tag to prevent Sofawiki to parse the text (works partially)
- You can exceptionally comment out wikitext using the HTML comment syntax
Restrictions
For the name there are some restriction. Not allowed are:- tag characters < > for security
- quotes " for PHP code problems
- colons : are reserved for namespaces
- slashes / are reserved for language
- astersisks * are used in user rights
- hard [ ] and curled { } paranthesises are separators
nowiki
The nowiki tag works only on the same line.If you have a textarea, you need a trick to make it work so that it does not conflict with the textarea of the editor. interrupt the closing textarea tag with a /nowiki nowiki tag sequence.
For wikitext, tag characters < > are not allowed for security reasons except for commenting. You can use entities.