alt title(s): Wiki Markup; Text Formatting
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, and
Example Indentation In Trope Lists.
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.
- Note that this markup does not automatically insert spaces.
- 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]).
- To prevent a word like McDonalds from being linked when you don't want it to, use the "Escape sequence" described below. For example: [=McDonalds=]
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.
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 three levels:
- First-level list item
- Second-level list item
- A third level item
- Four bullets, but still a third level 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
- Use [++...++] for even larger text and [--...--] for even 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
- Small caps: [[AC:Text]] for Text
- Strikethrough: [[strike:text]] for
text
- Superscript: [[superscript:2]] for 2
- Subscript: [[subscript:2]] for 2
- Spoiler tagging: [[spoiler:hide this text]] for hide this text. Also, [[supersecretspoiler:hide this text]] to get the effect you're reading right now.
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.
To shift an image and text to the left:
For images: [[quoteright:URL]]
For text: [[caption-width-right:
number:
some text]]
Redirects
If you want a trope title to redirect to another trope with content (ie. make
Buffy point to
Buffy The Vampire Slayer), in
Buffy enter the following (but see
Creating New Redirects first for guidelines!):
[[redirect:BuffyTheVampireSlayer]]
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
- If cooking bacon at the same time, make sure to not back towards the stove unless you're wearing a shirt. And pants.
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 |
| Gold | N/A * It's two colors used at once |
| 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 |
| Silver | #C0C0C0 | 192,192,192 |
| Fuchsia | #FF00FF | 255,0,255 |
Be advised that color does not work reliably in tables past the first row, but seems to work fine in most other formats. An Exhaustive list can be found on
The Other Wiki at
http://en.wikipedia.org/wiki/Html_color
Footnotes
Very useful for collapsing a tenuously related or humourous aside, or additional explanatory text that would otherwise be cluttering up the trope description.
[[hottip:Typographic symbol:Footnote text]]
* Footnote text
Folders
Long spans of text can be collapsed like so:
[[folder:Title Or Description]]
Text to hide.
* List
* To
* Hide
[[/folder]]
Title Or Description
Text to hide.
Close Title Or Description
Quote Blocks
Useful only on the fora, since the markup doesn't work in the main wiki. It can be practiced in the Sandbox forum.
[[quoteblock]] Text that you want to quote [[/quoteblock]].
Special Characters
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
| | α | β | γ | δ |
| ε | ζ | η | θ |
| ι | κ | λ | μ |
| ν | ξ | ο | π |
| ρ | σ | ς | τ |
| υ | φ | χ | ψ |
| ω | Γ | Δ | Θ |
| Λ | Ξ | Π | Σ |
| Φ | Ψ | Ω |
| α | β | γ | δ |
ε | ζ | η | θ |
ι | κ | λ | μ |
ν | ξ | ο | π |
ρ | σ | ς | τ |
υ | φ | χ | ψ |
ω | Γ | Δ | Θ |
Λ | Ξ | Π | Σ |
Φ | Ψ | Ω |
|
| Math
| | ∫ | ∑ | ∏ | √ |
| − | ± | ∞ | ≈ |
| ∝ | ≡ | ≠ | ≤ |
| ≥ | → | × | · |
| ÷ | ∂ | ′ | ″ |
| ∇ | ‰ | ° | ∴ |
| ℵ | ø | ∈ | ∉ |
| ∩ | ∪ | ⊂ | ⊃ |
| ⊆ | ⊇ | ¬ | ∧ |
| ∨ | ∃ | ∀ | ⇒ |
| ⇔ |
| ∫ | ∑ | ∏ | √ |
− | ± | ∞ | ≈ |
∝ | ≡ | ≠ | ≤ |
≥ | → | × | · |
÷ | ∂ | ′ | ″ |
∇ | ‰ | ° | ∴ |
ℵ | ø | ∈ | ∉ |
∩ | ∪ | ⊂ | ⊃ |
⊆ | ⊇ | ¬ | ∧ |
∨ | ∃ | ∀ | ⇒ |
⇔ |
|
| Accents
| | À | Á | Â | Ã |
| Ä | Å | Ç | È |
| É | Ê | Ë | Ì |
| Í | Î | Ï | Ñ |
| Ò | Ó | Ô | Õ |
| Ö | Ø | Ù | Ú |
| Û | Ü | ß | à |
| á | â | ã | ä |
| å | æ | ç | è |
| é | ê | ë | ì |
| í | î | ï | ñ |
| ò | ó | ô | õ |
| ö | ø | ù | ú |
| û | ü | ÿ |
| À | Á | Â | Ã |
Ä | Å | Ç | È |
É | Ê | Ë | Ì |
Í | Î | Ï | Ñ |
Ò | Ó | Ô | Õ |
Ö | Ø | Ù | Ú |
Û | Ü | ß | à |
á | â | ã | ä |
å | æ | ç | è |
é | ê | ë | ì |
í | î | ï | ñ |
ò | ó | ô | õ |
ö | ø | ù | ú |
û | ü | ÿ |
|
The one standard special character it doesn't support is the letter Æ, 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.
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.