Wiki Formatting
- 1. WxWikiServer Formatting Rules
- 1. 1. Fonts and Emphasis
- 1. 2. Lists
- 1. 3. Paragraphs
- 1. 4. Embedding
- 1. 5. Hyperlinks
- 1. 5. 1. Image Links
- 1. 7. EDDIE Tables
- 1. 8. Forms
- 1. 9. Equal Headings
- 1. 10. Eddie Headings
- 1. 11. Special Objects
- 1. 12. MetaPages
- 1. 13. Footer
- 1. 14. Includes
- 1. 15. Syntax Highlighting
- 1. 16. #REDIRECT
- 1. 17. Split Line
- 1. 18. Psuedo-HTML
- 1. 19. Centered Text
- 1. 20. Table of Contents
Wx Wiki Server Formatting Rules
Wiki now uses a simple formatting "language" which is designed for plain-text entry. The source text is entered formatted according to strict guidelines, and this text is then converted to HTML (which looks a lot prettier).
Fonts and Emphasis
- Two quotes together ' ' make things italic
- Three quotes together ' ' ' make things bold
- Four or more quotes give bold italic
- Initial <space> makes a line monospaced
- These modifiers only last until the end of a line
This is monospaced text
Lists
- <space>*<space> makes a bullet list
- <space><space>*<space> for the 2nd level, etc.
- <space>1.<space> makes a numbered list
- #<space> also makes a numbered list
- You can intermingle numbered and bulleted lists
- Put each entry on a different line
- <space>-<space> is a "virtual list" of single lines with HTML <br> after each
- Has no effect if line breaks are enabled
- Wards Wiki Style Lists? are now supported. Put any # of stars '*' at the beginning of a line.
- You can use Wards Wiki Style Lists? and EE-style lists interchangeably
- use :, ::, ::: etc for indentation lists
- Indented 1
- Indented 2
- Indented 3
- Indented 3
- Indented 2
- use ;, ;;, ;; etc for definition lists
Paragraphs
- A single blank line seperates paragraphs
- A single line containing 4 or more dashes (-) makes a page break
- > indents
- > > indents more
Embedding
- Inside a table cell, or after ] or >, you are in a new paragraph
- You can insert new paragraph formatting which applies to only that paragraph
- So you can indent or center lists and tables
- ... or you can have indented or centered paragraphs in tables!
Hyperlinks
- Any word spelt Like This becomes an internal hyperlink
- A full URL becomes an external hyperlink e.g. http://www.powerslave.com
- Wiki Server can also deliver .GIF, .JPEG, .JPG, .HTML, .HTM and .TXT files placed in the Pages directory
- A local URL becomes a local hyperlink e.g. icon.jpg
- An ilocal URL becomes an inline image e.g.
- [1], [2], [3], [LabeledFootnote] etc. link to footnotes
- [something name] becomes a hyperlink with name displayed instead of the hyperlink itself AMAZON!.
- ISBN 1-57231-548-2 becomes a link to Amazon.com
- Wiki Server can also deliver files placed in the Pages directory
- A local URL becomes a local hyperlink e.g. icon.jpg
- Words spelt Like This with a # after them becomes an internal hyperlink with an anchor to a certain portion of the page. Wiki Formatting# The Anchor
- [#anchorref] links to an anchor on the current page
- [##anchor] creates an anchor on the current page
- [[http://www.wikiserver.org/]] becomes a psuedo-footnote that links to the site in question - [[1]]
Image Links
- An ilocal URL becomes an inline image e.g.
- The newer img tag is a better way - it can work the same way e.g.
or it can refer to images from the internet, as below:
USEMOD Tables
- Any # of spaces plus a | or | | creates a table
- Successive |'s or | |'s on the same line create more table cells
- If you start the next line out with a
| or
|
|also, you create another table row
| Table 1.1 | Table 2.1 | Table 3.1 |
| Table 1.2 | Table 2.2 | Table 3.2 |
| Table 1.3 |
Table 2.3
|
EDDIE Tables
Tables
- <space>1:<space> begins a table - you can start at more than 1 if you like
- <space>1;<space> makes a table with no border
- All elements with the same number are in the same cell
- When the number goes up, the next column is used
- When the number goes down again, the next row is used
A
B
C
D
E
F
Forms
[?<name>] inserts a form - it must be the only word on a line
- "?TitleSearch" inserts a Title Search form
- "?FullSearch" inserts a Full Search form
- "?GoogleSearch" inserts a Google Search form
- "?AmazonSearch" inserts an Amazon Search form
Equal Headings
- Any # of Equals(=) starting out a line and ending a line creates a heading
- If one Equal - it puts an image before the heading and has a gradient background
- If two equals, has a gradient background
- Otherwise it's a normal heading, getting smaller the more ='s you stick unto the beginning and end.
Eddie Headings
- Two ` is a relatively small heading if put before a word
- More `'s make the heading bigger
Special Objects
[$<name>] inserts a macro anywhere in the text. Note that the whole command should be on the same line. There can be other text on the same line.
- "$PageTime" inserts the current page's last update time : 01:03pm
- "$PageDate" inserts the current page's last update date : January 04, 2009
- "$PageEditor" inserts the current page's last editor's name:
- "$This" inserts the current page name : Wiki Formatting
- "$UserName" inserts the current user's name : anonymous user
- "$UserPerm" inserts the current user's permission string : r
- "$HomePage" inserts a link to the current user's homepage : Start Page
- "$DefPage" inserts a link to the default page : Start Page
- "$Version" inserts the version of the Wiki Server that is running : 1.5.11c
- "$edit:StartPage" inserts a link to edit StartPage : Edit StartPage
- "$html:<span style="text-decoration:line-through">TEXT</span>" inserts the htmlcode into the current page : TEXT
- "$reverselink" inserts a list with links to the current page.
- "$reverselink:StartPage" inserts a list with links to StartPage.
- "<toc>" generates a Table Of Contents at the current location for all headings which use the "equals" format modified with a # sign.
- Example:
- === # third level heading ===
- The first # will cause TOC section numbers to be automatically assigned.
Meta Pages
- Edit Page inserts a link to the current page's edit page
- Reverse Link inserts a link to the reverse link page for the current page
Footer
- Wiki Footer is the normal page footer area
- Wiki System Footer is the footer area for system pages - it should not include an Edit Page link
Includes
- [!<name>] inserts the text of a page directly
- The [!<name>] must be the only word on a line
Syntax Highlighting
- Wx Wiki Server will highlight source code that appears between a @code:[language] and [$@endcode] tag, where [language] is the language you wish to highlight. The language is dictated by a flag described below, I.E. to highlight visual basic you'd put @code:VB.
- Wx Wiki Server currently supports 6 languages with syntax highlighting what you put after the colon is in parenthases:
- C (C)
- C++ (CPP)
- Visual Basic (VB)
- Visual Basic Script (VBS)
- JScript (JSCRIPT)
- Java (JAVA)
- Wx Wiki Server highlights in C++ by default.
Example:
#include <stdio.h>
int main(int argc, char* argv[])
{
printf("Hello World!");
return 0;
}
#REDIRECT
- Put #REDIRECT <pagename> as the only line in a page to redirect to another page.
- Only one redirection supported
- For an example see Wiki Wiki Info
Split Line
- Putting a \ at the end of a line (no spaces either) appends the next line unto the current one
Psuedo-HTML
- You can enter the following html tags right into the wiki:
- <b> _and_ </b> (EXAMPLE)
- <i> _and_ </i> (EXAMPLE)
- <tt> _and_ </tt> (EXAMPLE)
- <pre> _and_ </pre> (
EXAMPLE
)
- Putting a ] at the beginning of a line centers the text on that line. Works great with headers, too!
Table of Contents
- Putting space-#-space after the equals in a heading makes it a heading that gets included in the table of contents
Example:
== # Table of Contents ==
== # Table of Contents ==
After marking the headings you want included like so, put <toc> at the begginning of your page to have Wiki Server generate the table of contents.
HI!
[1] This is a footnote - try clicking me! I should send you back to the place that refers to me.
[LabeledFootnote] This is a labeled footnote - try clicking me! I should send you back to the place that refers to me.
[LabeledFootnote] This is a labeled footnote - try clicking me! I should send you back to the place that refers to me.



