TextFormattingRules

this is the page as it was on 2017-02-28 14:38 — all versions

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.

Contents

  1. FORMATTING
  2. FONT STYLES
  3. HEADLINES
    1. Equal signs make a Headline, you can use up to 4 equals signs
      1. The more equals signs the smaller the Headline font
  4. HORIZONTAL RULE
  5. LISTS
  6. FOOTNOTES
  7. LINK PATTERNS
  8. DOWNLOAD
  9. INCLUDE
    1. AGGREGATE
  10. IMAGES
    1. All about Image thumbnails.
  11. SIMPLE TABLES
  12. LONG TABLES
    1. LONG TABLE CSS
  13. REDIRECTION
  14. PERMANENTANCHORS
  15. BACKGROUNDS
  16. IFRAME
  17. MOVIES
  18. ROLLOVERIMAGES
  19. EMOTICONS
  20. TAGS
  21. checklist
  22. poetry
  23. other markup (from markup extension)

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:

Result:

Example

This and that

That and this

running out of ideas

hmm... what now?

Result

  1. This and that
  2. That and this
  3. running out of options
  4. hmm... what now?

use colons and semi colons to make definition lists
; kitty: my cat van toen


FOOTNOTES

Text in double brackets: {{bla-bla}} makes a footnote. So, for example this:{{is a footnote}}

This table lists all link patterns available.

Pattern Result Comment
http://www.oddmuse.org/ http://www.oddmuse.org/ Linking to URLs
http://www.oddmuse.org/ [1] Footnote style
text 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 page name Traditional linking of free links if FreeLinks is set
[page name] [1] Footnote style if FreeLinks is set
text text alternate text if BracketWiki and FreeLinks is set
Somewiki:page_name Somewiki:page_name URL Abbreviations also known as interlinks
[Somewiki:page_name] [1] Footnote style
[Somewiki:page_name text] text alternate text if BracketWiki is set
[[Somewiki:page name]] Somewiki:page name free URL Abbreviations including spaces in the page name
[[[Somewiki:page name]]] [1] Footnote style
[[Somewiki:page name text]] text
text text Traditional linking of HTML links if HtmlLinks is set
page name [image] Inlining of an image uploaded to a page if FreeLinks is set
[[::name]] name Definition of a permanent anchor if PermanentAnchors is set

Notes


DOWNLOAD

download: foo (nothing by that name) 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:

Result:
<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.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: page name

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

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:
    
You can also use a semicolon to separate labels:
    
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:

    

Column (acts as default for cells):

    

Cell (overrides column default):

A/important: this is the important part

Multiple classes:

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

Example usage:

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

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

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

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]]

[[iframe:http://auriea.org|100%|100]]


MOVIES

YouTube

Vimeo


ROLLOVERIMAGES

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

Example:
ornamentation of the worldwalk this way


EMOTICONS

;) !! {evil}{wink}

TAGS

Using the tag **foo**:
#foo

Using the tag *foo but displaying *bar' instead:

[[tag:foo|bar]]

checklist

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

[[ :something to do]]
[[x: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---

a past version · 2017-02-28 14:38