Help:Formatting
Contents |
You can format your text using wiki markup. Wiki markup consists of characters like asterisks (*), single quotes (') or brackets ([) which have a special function in the wiki, sometimes depending on their position. For example, to format a word in italic, you include it in two single quotes like ''this''
Wiki Markup Basics
Fanlore CheatsheetFor more information on formatting, see Help:Formatting. | ||
| Description | You type | You get |
| Italicise text |
''italic'' |
italic |
| Bold text |
'''bold''' |
bold |
| Bold and italic |
'''''bold & italic''''' |
bold & italic |
| Escape wiki markup | <nowiki>no ''markup''</nowiki> | no ''markup'' |
| Indent text | :Indent text | Indent text |
| Horizontal rule |
---- |
|
| Internal link (within Fanlore)
|
[[Name of page]] |
|
| External link (to other websites)
|
[http://www.example.org Text to display] |
|
| Redirect to another page |
#REDIRECT [[Target page]] |
|
| Footnotes/References
Numbering is generated automatically.
|
To create a footnote or reference, use this format:
Article text.<ref name=test>[http://www.example.org Link text], additional text.</ref> |
Article text.[1] |
To reuse the same note, reuse the name with a trailing slash:
Article text.<ref name=test/> | ||
To display notes, add this lines to the References section
<references/> |
||
| Headings A Table of Contents will automatically be generated when four headings are added to an article.
|
== Level 1 == |
Level 1Level 2Level 3Level 4Level 5 |
| Bulleted Lists
Empty lines between list items discouraged (see numbered lists).
|
* One |
|
| Numbered Lists
Empty lines between list items restarts numbering at 1.
|
# One |
|
| Mixture of bulleted and numbered lists |
# one |
|
| Definition list |
;Definition |
|
| Preformatted text |
preformatted text is done with |
preformatted text is done with a space at the beginning of the line |
| Thumbnail image |
[[Image:Example.jpg|thumb|Caption text]] |
|
| Categorizing a page |
[[Category:Help]] |
See bottom of page. |
| For Talk Pages | ||
| Signature |
~~~~ |
Your username 20:20, |
| Indenting Text |
no indent (normal) |
no indent (normal)
|
Paragraphs
MediaWiki ignores normal line breaks. To start a new paragraph, leave an empty line. You can also start a new line with the HTML tags <br> or <br/>.
Indented Text and Long Quotations
There are several ways to indent text on the wiki:
- Put a colon (:) in front of a paragraph.
- Use the HTML tag <blockquote>.
- Use the quote template. The template indents the text and puts a blue border around it.
- Lists are also indented (like this one). Put * or # in front of each block of text you want to be a separate item in the list. Use * for a list with bullets (like this one). Use # for a numbered list.
HTML
Some HTML tags are allowed in MediaWiki. Examples: <code>, <div>, <span> and <font>.
Other Formatting
Beyond the text formatting markup shown above, here are some other formatting references: