Wiki Syntax
Wiki Syntax takes a little getting used to. Pretty soon though, it becomes a really easy, quick way to produce web pages with all the features you could ever want.
Linking (WordsSmashedTogether (( .. )) and [[ ... ]])
Links can be created in three ways. The first two ways are "wiki links", and harnesses the power of the Wiki system. The simplest form of links are to simply push words together. For example, the words "Home Page" become HomePage. Notice how the Wiki automatically made the word HomePage a link. If a Wiki link is used that doesn't exist yet, the Wiki will put a question mark at the end of the word (if you're logged in). For example, NonExistentPage is not a normal link. If you're authenticated, clicking the question mark will allow you to create the page. With this, it's incredibly easy to create numerous interlinked Wiki pages.
Wiki links can also be created with a description, for example, ((HomePage|Go to the Home Page!)) will make a link like this: Go to the Home Page! Again, if the page doesn't exist yet, the Wiki will show a question mark instead of a proper link.
To stop a work becoming a Wiki link, use reverse double brackets. For example, ))HomePage(( is simply shown as HomePage.
Lastly, links to other places can be created using double square brackets. Again, a description is possible. For example, [[http://www.pre-emptive.net/]] and [[http://www.pre-emptive.net/|Pre-Emptive Limited]] make links like this: http://www.pre-emptive.net/ and Pre-Emptive Limited.
Bold Text (**)
For some bold text, enclose the text in double asterisks. For example, **some bold text** will become some bold text.
Italics ('')
For italics, use double single quotes. For example, ''some italic text'' will become some italic text.
Underlining (__)
For underlining, use double underscores. For example __some underlined text__ will become some underlined text.
Pre-Formatted Text (-+ and +- or leading space)
Either insert a blank space at the beginning of a line, or use -+ and +- around the text. For example, either in line text or
a whole line of pre-formatted text
Centred Text (::)
To centre text, enclose it in double colons. For example, ::centred text:: will become:
centred text
Bullets and Numbering (* or # and +)
Bullets points can be created by using an asterisk at the beginning of a line. Numbered points can be created by putting a hash at the beginning of the line. For continuation text, the line can be started with a +. Multiple asterisks or hashes make further indented points. For example:
* First bullet point
+ With some continuation text
* Second bullet point
** second level bullet point
++ with continuation text
...will become:
* First bullet point
With some continuation text
* Second bullet point
o second level bullet point
with continuation text
Headings (!)
Heading text can be created in five levels, using a number of exclaimation marks. For example:
! Heading 1
!! Heading 2
!!! Heading 3
!!!! Heading 4
!!!!! Heading 5
...will become:
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Images ({img|desc|width|height|align|valign|hspace|vspace})
Images can be included on pages using curly brackets. It is possible to add extra information that is used when displaying the image. For example:
{/logo.gif}
{http://www.example.com/logo.gif}
{/logo.gif|My Logo}
{/logo.gif|My Logo|120|80|right|top|5|5}
Other Things
A title bar can be created with -= and =-. A text box can be created with ^^ and ^^. A horizontal rule can be created with three dashes (---) on it's own line.
Tables can be created using |||, || and |. Three bars denotes the start and end of the table. The double bar denotes the start and end of a row, with a single bar denoting cells. For example:
|||Row1,Col1|Row1,Col2|Row1,Col3||Row2,Col1|Row2,Col2|Row2,Col3||Row3,Col1|Row3,Col2|||
Row1,Col1 Row1,Col2 Row1,Col3
Row2,Col1 Row2,Col2 Row2,Col3
Row3,Col1 Row3,Col2
Styling Pages and Markup
All of the above elements can be styled using Cascading Style Sheets (CSS). The default template that coms with Fliki has almost no CSS styling in it. Fliki uses tags in it's output for title bars and text boxes. These are called flikititlebar and flikiwikibox respectively.
