This page provides a more complete list of some of the markup sequences available. Note that it's easy to create and edit pages without using any of the markups below, but if you ever need them, they're here.
To experiment with the rules, please try editing the
Wiki Sandbox. Some additional markup may be listed in a box when you are actually editing a page.
See also
Images In Wiki Pages for more formatting tips.
References
- Join capitalized words (WikiWords) to make references to other pages on this Wiki. Spaces between the words will be automatically inserted.
- Links with arbitrary text can be created in double brackets as [[url text]] or [[Wiki Word text]]. Text can be an image URL, in which case the image becomes the link to the remote url or Wiki Word. In TVTropes parlance this is a Pot Hole.
- Free link markup turns anything (except punctuation marks) in curly brackets {{ }} into a reference.
- A single word can be made a reference by using {{word}}.
- Text added to the outside of the brackets can be included in the link. This is useful for pluralizing links; for example {{wiki word}}s links to the Wiki Word page but looks like wiki words.
- URLs can be placed in double brackets [[url]] when the URL itself is not important to the text. For example, [[http://www.google.com/]] will appear as [1]
.
- Punctuated references can be made using [=~The Apostrophe's Dilemma~=]. Note the single square brackets. Punctuated titles cannot be used in a pothole.
- Punctuated titles are exactly literal and are not formatted in any other way. [=~"TheApostrophe's Dilemma"~=] would render with the quote marks, and without the space after 'The.' The markup will not allow '~' (tildes) or '/' slashes (other than for defining a namespace [see below]).
All internal references by default point to "Main." To link to a page in a different namespace, put it in front of the wiki word: {{Test/Tropes}} gives
Tropes, while {{Test.Tropes}} gives
Test.Tropes.
Paragraphs
- Do not indent paragraphs
- Words wrap and fill as needed
- Use blank lines as separators
- Lines indented with one or more spaces (or tabs) are monospace font.
- Use \ (backslash) at the end of a line to join the next line to the current one
- Use \\ (two backslashes) at the end of a line to force a line break
Bulleted Lists
Bullet lists are made by placing asterisks at the left margin. More asterisks increases the level of bullet. We limit to two levels:
- First-level list item
- Second-level list item
- Another second-level item
- A first-level item
Horizontal Line
Four or more dashes (----) at the beginning of a line produce a horizontal line.
Emphasis
- Use doubled single-quotes (''), i.e., two apostrophes, for emphasis (usually italics)
- Use tripled single-quotes ('''), i.e. three apostrophes, for strong emphasis (usually bold)
- Use five single-quotes ('''''), or triples within doubles (five apostrophes), for some other kind of emphasis (usually bold italics)
- Use doubled at-signs (@@) for
monospace text
- Use [+...+] for larger text and [-...-] for smaller text
- Emphasis can be used multiple times within a line, but cannot span across markup line boundaries (i.e., you can't put a paragraph break in the middle of bold text).
Text Effects
- Spoiler tagging: [[spoiler:hide this text]] for hide this text
- Small caps: [[AC:Text]] for Text
- Strikethrough: [[strike:text]] for
text
Images
URLs ending with .gif, .jpg, or .png are displayed as images in the page and float left, allowing text to appear on the right if there is room.
Making an image caption: [[caption-width:
number:
some text]] will place an enclosed box under the image. Setting the
number parameter to the width of the image will make the caption line up nicely with the image.
Redirects
If you want a trope title to redirect to another trope with content (ie. make
Magical Girl point to
Magical Girls), in
Magical Girl enter the following (but see
Creating New Redirects first for guidelines!):
[[redirect:MagicalGirl]]
Headings
Headings are made by placing a exclamation mark (
!) at the left margin. More exclamation marks increases the level of heading. For example,
Level 1 Heading
Level 2 Heading
Level 3 Heading
Escape sequence
Anything placed between [= and =] is not interpreted. This makes it possible to easily do WikiWords that are not links and turn off other special formatting interpretation. The [= and =] can span multiple input lines, allowing effects to be applied to multiple input lines. For example, @@[= at the beginning of a line will cause the text up to the next =]@@ to be monospace and uninterpreted (useful for program listings).
Note that
some markups--if left complete within the escape sequence--
are interpreted. The redirect markup is one. For these, you will need to escape in parts, like just the brackets.
Numbered Lists
Numbered lists are made by placing number-signs (#) at the left margin.
- Prepare the experiment
- Unwrap the pop-tart
- Insert the pop-tart into the toaster
- Begin cooking the pop tart
- Stand back
The starting number can be changed by putting [numlist:START_NUMBER] at the beginning of the list and [/numlist] at the end, where START_NUMBER is the number you want the list to start at. Inside this block, all lines that do
not begin with "#" are treated as comments and are not displayed; nested lists are not supported here, either.
- Prepare the experiment
- Unwrap the pop-tart
- Insert the pop-tart into the toaster
- Begin cooking the pop tart
- Stand back
Definition Lists
Definition lists are made by placing colons at the left margin:
- term
- definition of term
- second-level item
- definition of 2nd-level item
This effect can be duplicated by using "->", where each additional "-" increases the indent. Font size is decreased for lines prefixed in this manner. Note: insert a dummy comment line before each indented line (-- and higher) to ensure that all indents show.
term
definition of term
second-level item
definition of 2nd-level item
Indentation can also be set arbitrarily, using [[indent:PIXEL_COUNT:TEXT]].
We do what we must, because, we can.
Tables
Table are defined by enclosing cells with '||'. A cell with leading and trailing spaces is centered; a cell with leading spaces is right-aligned; all other cells are left-aligned. An empty cell will cause the previous cell to span multiple columns. (There is currently no mechanism for spanning multiple rows.) A line beginning with '||' specifies the table attributes for subsequent tables.
||align=center border=1 width=50%
||Left || Center || Right||
||A || B || C||
|| || single || ||
|| || multi span ||||
| Left | Center | Right |
| A | B | C |
| | single | |
| | multi span |
Text Color
Text can be formatted with color according to the following methods and values. For simple color formating use [[color:nameofthecolor: Text to be colored]].
Possible colors include
| Color (Word) | Hex Value | Decimal code |
| Blue | #0000FF | 0,0,255 |
| Brown | #A52A2A | 165,42,42 |
| Cyan | #00FFFF | 0,255,255 |
| Green | #008000 | 0,128,0 |
| Gray | #808080 | 128,128,128 |
| Maroon | #800000 | 128,0,0 |
| Lime | #00FF00 | 0,255,0 |
| Orange | #FFA500 | 255,165,0 |
| Purple | #800080 | 128,0,128 |
| Red | #FF0000 | 255,0,0 |
| Teal | #008080 | 0,128,128 |
| Yellow | #FFFF00 | 255,255,0 |
Be advised that color does not work reliably in tables past the first row, but seems to work fine in most other formats. The above list is not exhaustive, and anyone with good working knowledge on how to code colors into a wiki who helps fill it out would be much praised.
The table below shows a partial list of the special characters and their corresponding tokens that
Pm Wiki supports.
| Category
| Character
| Token
|
| Punctuation
| | ¿ | ¡ | « | » |
§ | ¶ | † | ‡ |
• | — | – | & |
|
| Commercial
| | ™ | © | ® | ¢ |
€ | ¥ | £ | ¤ |
|
| Greek
| | α | β | γ | δ |
| ε | ζ | η | θ |
| ι | κ | λ | μ |
| ν | ξ | ο | π |
| ρ | σ | ς | τ |
| υ | φ | χ | ψ |
| ω | Γ | Δ | Θ |
| Λ | Ξ | Π | Σ |
| Φ | Ψ | Ω |
| α | β | γ | δ |
ε | ζ | η | θ |
ι | κ | λ | μ |
ν | ξ | ο | π |
ρ | σ | ς | τ |
υ | φ | χ | ψ |
ω | Γ | Δ | Θ |
Λ | Ξ | Π | Σ |
Φ | Ψ | Ω |
|
| Maths
| | ∫ | ∑ | ∏ | √ |
| − | ± | ∞ | ≈ |
| ∝ | ≡ | ≠ | ≤ |
| ≥ | → | × | · |
| ÷ | ∂ | ′ | ″ |
| ∇ | ‰ | ° | ∴ |
| ℵ | ø | ∈ | ∉ |
| ∩ | ∪ | ⊂ | ⊃ |
| ⊆ | ⊇ | ¬ | ∧ |
| ∨ | ∃ | ∀ | ⇒ |
| ⇔ |
| ∫ | ∑ | ∏ | √ |
− | ± | ∞ | ≈ |
∝ | ≡ | ≠ | ≤ |
≥ | → | × | · |
÷ | ∂ | ′ | ″ |
∇ | ‰ | ° | ∴ |
ℵ | ø | ∈ | ∉ |
∩ | ∪ | ⊂ | ⊃ |
⊆ | ⊇ | ¬ | ∧ |
∨ | ∃ | ∀ | ⇒ |
⇔ |
|
| Spacing
| x ≥ y
| x ≥ y (prevents linebreaks)
|
| Accents
| | À | Á | Â | Ã |
| Ä | Å | Ç | È |
| É | Ê | Ë | Ì |
| Í | Î | Ï | Ñ |
| Ò | Ó | Ô | Õ |
| Ö | Ø | Ù | Ú |
| Û | Ü | ß | à |
| á | â | ã | ä |
| å | æ | ç | è |
| é | ê | ë | ì |
| í | î | ï | ñ |
| ò | ó | ô | õ |
| ö | ø | ù | ú |
| û | ü | ÿ |
| À | Á | Â | Ã |
Ä | Å | Ç | È |
É | Ê | Ë | Ì |
Í | Î | Ï | Ñ |
Ò | Ó | Ô | Õ |
Ö | Ø | Ù | Ú |
Û | Ü | ß | à |
á | â | ã | ä |
å | æ | ç | è |
é | ê | ë | ì |
í | î | ï | ñ |
ò | ó | ô | õ |
ö | ø | ù | ú |
û | ü | ÿ |
|
The one standard special character it doesn't support is the Æ ligature, because the HTML entity name is
Æ and this gets interpreted as a
Wiki Word. Æ can be used to get Æ
Comments
Text following a
%comment% tag is not displayed, up until the end of the line or a subsequent
%%.
An entire comment block can be created by utilizing a side-effect of the "numlist" block discussed above, where no lines that do not start with # are displayed.