Enter The Freenetrix
The Freenet Help Site
Enter The Freenetrix
Licences used on this wiki
Welcome admin to Freenet WikiServer
Edit Page - Diff - Revisions - Title Search - Preferences - Bottom
 

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
  • use ;, ;;, ;; etc for definition lists
Term1
Definition 1
Term2
Definition 2
Term3
Definition 3

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://newsbyte.blogspot.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. Image
  • [1], [2], [3], [LabeledFootnote] etc. link to footnotes
  • [something name] becomes a hyperlink with name displayed instead of the hyperlink itself The Wikiserversite!.
  • 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. Image
  • The newer img tag is a better way - it can work the same way e.g. Image or it can refer to images from the internet, as below:
Image

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

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 : 11:55pm
  • "$PageDate" inserts the current page's last update date : March 23, 2006
  • "$PageEditor" inserts the current page's last editor's name: admin
  • "$This" inserts the current page name : Wiki Formatting
  • "$UserName" inserts the current user's name : admin
  • "$UserPerm" inserts the current user's permission string : rwa
  • "$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

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.

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:
    • &lt;b&gt; _and_ &lt;/b&gt; (EXAMPLE)
    • &lt;i&gt; _and_ &lt;/i&gt; (EXAMPLE)
    • &lt;tt&gt; _and_ &lt;/tt&gt; (EXAMPLE)
    • &lt;pre&gt; _and_ &lt;/pre&gt; (
      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 ==

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.


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