TextFormattingRules
If you click on the question mark you can make a new wiki page. If a wiki page already exists for the WikiWord then that word will lead to its page.
Another way to link a word or group or words is to use double brackets around them:
See the table of Link Patterns below for more.
Contents
FORMATTING
A line that starts with a blank space is automatically in monospaced preformatted font.Words in two tick marks make italics.
Words in two tick marks make italics.
Words in three tick marks make bold.
Words in three tick marks make bold.
Words in five tick marks make bolditalic.
Words in five tick marks make bolditalic.
FONT STYLES
For styling text arbitrarily.[[span/class:blahblah]]
Example:
[[span/red:This is to make the text special.]]
Result:
[[span/red:This is to make the text special.]]
this is in the StyleSheetPage controlling the look.
.red {font:30px zapfino; color:red;}
HEADLINES
===Equal signs make a Headline, you can use up to 4 equals signs===
Equal signs make a Headline, you can use up to 4 equals signs
====The more equals signs the smaller the Headline font====
The more equals signs the smaller the Headline font
Note: If there are more than 2 Headlines on a page it makes a menu (like the one you see on this page in the upper right). The items in the menu can be clicked on to jump down the page.
HORIZONTAL RULE
Four or more dashes in a row: ---- draw a rule across the pageLISTS
Use an Asterix (*) and a space to make list items. Use a Number sign (#) and a space to make numbered lists.Example:
- Thing one
- Thing two
** Another thing
*** And another thing
Result:
- Thing one
- Thing two
- Another thing
- And another thing
- Another thing
Example
This and that
That and this
running out of ideas
hmm... what now?
Result
- This and that
- That and this
- running out of options
- hmm... what now?
use colons and semi colons to make definition lists
; kitty: my cat van toen
- kitty: my cat van toen
FOOTNOTES
Text in double brackets:LINK PATTERNS
This table lists all link patterns available.
| Pattern | Result | Comment |
|---|---|---|
| Linking to URLs | ||
| [1] | Footnote style | |
| text | alternate text if BracketText is set | |
| PageName | PageName | Traditional linking of WikiWords if WikiLinks is set |
| [PageName] | [1] | Footnote style if WikiLinks is set |
| text | text | alternate text if BracketWiki and WikiLinks is set |
| page name | Traditional linking of free links if FreeLinks is set | |
| [1] | Footnote style if FreeLinks is set | |
| text | alternate text if BracketWiki and FreeLinks is set | |
| URL Abbreviations also known as interlinks | ||
| [1] | Footnote style | |
| text | alternate text if BracketWiki is set | |
| free URL Abbreviations including spaces in the page name | ||
| [1] | Footnote style | |
| text]] | text | |
| text | text | Traditional linking of HTML links if HtmlLinks is set |
| [image] | Inlining of an image uploaded to a page if FreeLinks is set | |
| name | Definition of a permanent anchor if PermanentAnchors is set |
- open links in a new window
[new:URL] class="wikilink autolink" href="/Entropy8.com">entropy8.com</a>
[new:URL text] Entropy8
Notes
- PageName: To prevent the linking of WikiWords (since camel case is often used for various brands and family names), prefix them with an exclamation mark,
LikeThis . text : The default CSS will add square brackets around the text, so that the result will be [text]. This is to warn visitors that the innocuous link points off-site.- file: //foo/bar and file:///foo/bar: The file protocol is only available if NetworkFile is set. Absolute paths (three slashes) are only available if AllNetworkFiles is set.
- [1]: The extra brackets around the footnote style links can be removed via CSS.
page name : A new instance of the scrip will be started on the server for every image inlined this way. If you want to include many images on one page, you might need to change some of the Surge Protection parameters.- [[Somewiki:page name]], [[[Somewiki:page name]]], [[Somewiki:page name|text]]: Free URL Abbreviations may contain spaces and therefore do URL encoding of the page names.
INCLUDE
You can include one Wiki Page inside another. This can be **very useful** as then that page is treated as a separateResult:
<include "InclusionSamplePage">
CSS (for the StyleSheetPage):
.InclusionSamplePage { background-color:#333333; border:3px dotted #ff0000; width:200px; height:130px; color:#ffffff; font:30px Arial;}
AGGREGATE
Controlled with aggregate.plTo include the beginning of a number of pages on the front page, use the following rule:
<aggregate "LinkLanguage" "Alex Schroeder">
The pages in double quotes will be added to the front page.
You can also use a search term instead of a list of pages:
<aggregate search fnord>
Use double quotes to search for phrases:
<aggregate search "foo bar">
You can also request that the pages be sorted:
<aggregate sort search fnord>
If you want to control how the pages are sorted, you will have to define a function ##PageSort## to do it for you.
- All the text up to the first heading or horizontal line will be shown. (Actually we're cheating -- all the text up to the next ##----## or ##=## at the beginning of a line.)
- A leading heading will be stripped if the page starts with a heading right away.
- A Learn more... link is added if we're not showing the complete page.
[::Aggregate Action]
The aggregate action gives you an RSS feed of the HomePage.
You can specify any page you want using the id parameter.
IMAGES
The default link pattern to inline images as documented on the Link Pattern page: page nameSpecify one or more CSS classes:
page name
[[image/class/class:page name]]
Specify an alternate text for text-only browsers:
page name
Specify an alternate text and a different local page as a target (instead of the image source page):
page name
Specify an alternate text and an URL as target (instead of the image source page):
page name
With caption:
image
With the caption linking somewhere else:
image
Remember that image, target, and reference can be either page names or URLs (matching FullUrlPattern).
Option: $ImageUrlPath
Default: "/images"
The URL where image files can be found.
[[image/class external:image-file-name|alt text|url]]
The image will be loaded from $ImageUrlPath + image-file-name.
All about Image thumbnails.
see the page --> thumbnailSIMPLE TABLES
Table rows start and end with two vertical bars (||), with two
vertical bars between cells. Empty cells fuse with the next cell;
in other words, ||||bar|| is a table row with a cell spanning two columns.
Example:
| foo | bar | | --- | --- | | bar |
Result:
| foo | bar |
|---|---|
| bar |
Whitespace around cell-content controls alignment. If you leave whitespace on
both sides, the cell is centered. If you leave whitespace on the right, the cell
is aligned to the left, and if you leave whitespace on the left, the cell is aligned
to the right.
| fnordifnord | | --- | | foo | | bar | | baz |
Result:
| fnordifnord |
|---|
| foo |
| bar |
| baz |
LONG TABLES
http://www.oddmuse.org/cgi-bin/wiki/Long_Table_Markup_Extension Start a table by declaring the labels for each colum. In this case we have two columns using the labels A, B, and C: