AurieaHarvey About Contact Index Random
Trail: 2007-08-24 Book33 Page13 TooManyOptions TextFormattingRules

TextFormattingRules

Empire

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:

 [[Link this phrase]]

See the table of Link Patterns below for more.

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 page

LISTS

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:

Example

 # This and that
 # That and this
 ## running out of ideas
 # hmm... what now?

Result

  1. This and that
  2. That and this
    1. running out of options
  3. 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: {{bla-bla}} makes a footnote.
So, for example this:1


LINK PATTERNS

This table lists all link patterns available.

PatternResultComment
http://www.oddmuse.org/http://www.oddmuse.org/Linking to URLs
[http://www.oddmuse.org/][1]Footnote style
[http://www.oddmuse.org/ text]textalternate text if BracketText is set
PageNamePageNameTraditional linking of WikiWords if WikiLinks is set
[PageName][1]Footnote style if WikiLinks is set
texttextalternate text if BracketWiki and WikiLinks is set
[[page name]]page nameTraditional linking of free links if FreeLinks is set
[[[page name]]][1]Footnote style if FreeLinks is set
[[page name|text]]textalternate text if BracketWiki and FreeLinks is set
Somewiki:page_nameSomewiki:page_nameURL Abbreviations also known as interlinks
[Somewiki:page_name][1]Footnote style
[Somewiki:page_name text]textalternate text if BracketWiki is set
[[Somewiki:page name]]Somewiki:page namefree URL Abbreviations including spaces in the page name
[[[Somewiki:page name]]][1]Footnote style
[[Somewiki:page name|text]]textalternate text if BracketWiki is set
texttextTraditional linking of HTML links if HtmlLinks is set
[[image:page name]][image]Inlining of an image uploaded to a page if FreeLinks is set
[[::name]]nameDefinition of a permanent anchor if PermanentAnchors is set


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.
[http://www.oddmuse.org/ 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.
[[image: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.

DOWNLOAD

 [[download:foo]]upload types include images and .pdf

INCLUDE

You can include one Wiki Page inside another. This can be very useful as then that page is treated as a separate

which can be styled via .css
Syntax:
 <include “InclusionSamplePage”>

Result:

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

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

  1. 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.)
  2. A leading heading will be stripped if the page starts with a heading right away.
  3. 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:

    [[image:page name]]

Specify one or more CSS classes:

    [[image/class:page name]]
    [[image/class/class:page name]]

Specify an alternate text for text-only browsers:

    [[image:page name|alt text]]

Specify an alternate text and a different local page as a target (instead of the image source page):

    [[image:page name|alt text|other page]]

Specify an alternate text and an URL as target (instead of the image source page):

    [[image:page name|alt text|url]]

With caption:

    [[image/class:image|alt text|target|caption]]

With the caption linking somewhere else:

    [[image/class:image|alt text|target|caption|reference]]

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 -→ thumbnail


SIMPLE 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:

foobar
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:

    <table A, B, C>

You can also use a semicolon to separate labels:

    <table UM; OM; MB>

The first row will be a table header (using the th HTML element), the rest will be table data (using the td HTML element).

Use the labels you defined to write cells:

    A: This is for column A
    B: This is for column B
    C: This is for column C

If you ommit a cell, the preceding cell will automatically span columns.

    A: This is for columns A and B
    C: This is for column C

The order is not important:

    A: This is for column A
    C: This is for column C
    B: This is for column B

A new row starts when a label is repeated:

    A: This is for row 1, column A
    C: This is for row 1, column C
    B: This is for row 1, column B
    A: This starts the second row
    B: This is for row 2, column B and C
    A: This starts the third row and spans from A to C

To end the table, use a horizontal line:

    ----

You can also use an equal sign after the cell label:

    A=Like this.

LONG TABLE CSS

You can specify CSS classes to use for the table, for columns, or for cells.

Table:

    <table/foo A, B, C>

Column (acts as default for cells):

    <table A/bar, B/baz, C>

Cell (overrides column default):

    A/important: this is the important part

Multiple classes:

    A/important/right: this is important and right-aligned

Example usage:

<table pos/r, country/l, oda/r>
pos=Rank
country=Country
oda=%GNP
pos=1
country=Norway
oda=0.92
pos=2
country=Denmark
oda=0.84
pos=3
country=Netherlands
oda=0.81
pos/c=...
pos=9
country=Switzerland
oda=0.38
pos/c=...
pos=22
country=United States
oda/mark/r=0.14
----

RESULT

RankCountry%GNP
1Norway0.92
2Denmark0.84
3Netherlands0.81
...
9Switzerland0.38
...
22United States0.14

REDIRECTION

In order to redirect from page A to another page B,
start page A with the keyword “#REDIRECT”, followed by the name of
the new page B. See Link Pattern.

Example:

    #REDIRECT SetFont

This is often useful for common typos, plurals, and varying
capitalization. When you find users linking to variants of the real
name, consider creating these page variants and redirect to the real
page.

Note that if you use free links, you must use the appropriate link pattern:
Use double square brackets.

Example:

    #REDIRECT [[Blog]]

You can also use permanent achors to create a page alias.
On page B, write a permanent anchor named A. See Permanent Anchors.

Example:

    [::Page SetFont]

PERMANENTANCHORS

If you want to refer to a particular place on page, you can define a permanent anchor at the place you want to refer to. You can now link to this permanent anchor as if it were an ordinary page.

A permanent anchor is created using [::brackets and two colons].

Example:

Define a permanent anchor in the middle of the page:
    [::permanent anchors example]
Link to the permanent anchor as if it were an ordinary page:
    See [[permanent anchors example]]

If you create an anchor with a name that already exists, the anchor
link will tell you about it and link to the first instance of this
name, so that you can easily verify and correct the situation.
If you define a permanent anchor with the name of an existing page,
the anchor definition will tell you about it and link to the page.

[[#foo]]: This will link to the named anchor or permanent anchor named “foo” on the same page. See Permanent Anchors for targets that remain valid if you move them from page to page.
[[#foo|text]]: If BracketWiki is set, this will link to the named anchor or permanent anchor named “foo” on the same page, but show the text given..
[[some page#foo]]: This will link to the named anchor or permanent anchor named “foo” on the page called “some page”. Unlike ordinary free links, this will not create an edit link for “some page” if “some page” does not exist.
[[some page#foo|text]]: If BracketWiki is set, this will link to the named anchor or permanent anchor named “foo” on the page called “some page”, but show the text given. Unlike ordinary free links, this will not create an edit link for “some page” if “some page” does not exist.
[:foo]: This defines a named anchor called “foo”. The named anchor will be invisible, like ordinary anchors in HTML usually are. Note that having a text formatting rule that results in some invisible output is sometimes considered to be straying from the WikiWay.

Named anchors need unique names per page. They don’t have to be unique on the entire wiki (unlike permanent anchors).


BACKGROUNDS

 [[background external:url|repeat color attachment position]]
 [[background:page name or url|repeat color attachment position]]

the image can also be one that has been uploaded into the wiki!
external is optional. it means that the image you want to use is in the image/ directory on the server
all the perameters other than the url are optional and can be anything css which controls the background image.

also:

 [[foreground[external]:page name or url|repeat|color|attachment|position]]

IFRAME

 [[iframe:src|width|height]]

or with a class (specify it on the StyleSheetPage)

 [[iframe/class:src|width|height]]



MOVIES

YouTube

 [[tube:8nxUOIAyuvw 425 350 1]]

Vimeo

 [[vimeo:8nxUOIAyuvw 425 350 1]]

ROLLOVERIMAGES

 [[rollover/class:link|src|srctwo|width|height|alt-text|statusbar-message]]

Example:

 [[rollover:http://e8z.org|picture-over.gif|picture.gif|30|60|ornamentation of the world|walk this way]]

EMOTICONS

;) !!
{evil}{wink}


TAGS

Using the tag foo:

    [[tag:foo]]

Using the tag foo but displaying bar instead:

    [[tag:foo|bar]]

checklist

 [[ :something to do]]
 [[ :something done]]
 [[x:this thing]]
 [[save:btn]]








no spaces, only one checklist per page.

poetry

poetry handles markup markup surrounded by three colons:

   Like this, a
   poem with its last
   stanza
        indented, and linking to another poem.

other markup (from markup extension)

 ---this strike it out---

this strikes it out

Footnotes:

1. is a footnote