Wiki on a Stick syntax
In this page you will find examples of all the WoaS wiki syntax.
New pages have red links, like this
New page, but you can use
Javascript::woas.special_new_page() to automatically create a new one through a simple dialog.
Click on
this link to edit the wiki source of this page.
Links
An internal wiki link is created using
[[Special::Main Page]], which results in
Special::Main Page.
Some text here
Some text here
Some text here
External links:
Wiki on a StickBoldface:
Boldface textItalics:
italics textUnderline:
underlined textExample usage of \{\{\{ and \}\}\}
This text is rendered without any HTML/wiki parsing, and it does not get _underlined_, as you can see
A really long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long line here
This is pre-formatted text (using a <pre> tag) with CSS style!
And it stands on multiple lines too
You can also use any HTML tag:
Schrödinger's cat is dead.Ruler:
Lists
Numbered list:
- Item A
- Subitem i
- Subitem ii
- Item B
- Subitem iii
- Subsubitem iv
- Item C
Alphanumerically ordered list:
- Paragraph A
- Paragraph B
- Subparagraph 1
- Subparagraph 2
Tables
Telephone Table| Column Name | Type | Other | Description |
| id | INT | PRIMARY KEY | Row ID |
| contact_id | INT | KEY | References FOREIGN KEY(Contacts.id) |
| type | ENUM('Home','Work','Mobile','Pager','Other') | | Defines type of Telephone record |
| number | CHAR(32) | | Contains actual Telephone number |
New syntax features
- line joining through a slash '\' at the end of the line
- automatic TOC generation in place of [[Special::TOC]]
- section links using the syntax [[#Syntax#Syntax changes in v0.9]]
- anchors for all headers (through id attribute)
- customization of blocks of text under headers through CSS classes level1-level6
- alphanumerical lists using '@'
- custom parsing rules through (careful) override of the parse() core function
- nowiki syntax {{{ }}} to disable html/wiki in a block of raw text (also works inline)
Syntax changes since v0.9
There have been a few changes in the wiki syntax, they will be automatically applied on import or saving (except the wiki link parts inversion).
- bullet lists are recognized using an asterisk '*' at the beginning of the line, if you use the previous '+' plus sign it will be automatically converted to an asterisk
- wiki link parts are inverted, e.g. no more [[label of main page link|Main Page]] but [[Main Page|label of main page link]]
Some syntax has also been deprecated, see
Deprecated syntax.