Help:Formatting

From Fanlore
Jump to: navigation, search

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

Hi, my name is Tommy. My hobbies are biking, swimming and traveling around the world. My last travel was in Paris. My webpage: https://www.victory165.com

Fanlore Cheatsheet

For 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]]
[[Name of page|Text to display]]

Name of page
Text to display

External link
(to other websites)

[https://www.victory165.com/ Victory165]
[http://www.example.org]
http://www.example.org

Victory165
[1]
https://www.victory165.com

Redirect to another page

#REDIRECT [[Target page]]

Redirect arrow without text.pngTarget 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 these lines to the References section

<references/>


  1. Link text, additional text.

Headings
A Table of Contents will automatically be generated when four headings are added to an article.

== Level 1 ==
=== Level 2 ===
==== Level 3 ====
===== Level 4 =====
====== Level 5 ======

Level 1

Level 2

Level 3

Level 4
Level 5
Bulleted Lists
Empty lines between list items discouraged (see numbered lists).

* One
* Two
** Two point one
* Three

  • One
  • Two
    • Two point one
  • Three
Numbered Lists
Empty lines between list items restarts numbering at 1.

# One
# Two
## Two point one
# Three

  1. One
  2. Two
    1. Two point one
  3. Three
Mixture of bulleted
and numbered lists

# one
# two
#* two point one
#* two point two

  1. one
  2. two
    • two point one
    • two point two
Definition list

;Definition
:item 1
:item 2

Definition
item 1
item 2
Preformatted text

  preformatted text is done with
  a space at the
  beginning of the line

preformatted text is done with
a space at the 
beginning of the line
Thumbnail image

[[Image:Example.jpg|thumb|Caption text]]

Caption text
Categorizing a page

[[Category:Help]]

See bottom of page.
For Talk Pages
Signature

~~~~

[[2]] 11:52,
6 June 2020 (UTC)

Indenting Text

no indent (normal)
:first indent
::second indent
:::third indent

no indent (normal)

first indent
second indent
third indent


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 quotation template, which 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.

Using columns

You can avoid whitespace to the right of lengthy, itemised lists using the template {{div col}} and {{div col end}} to format your list into columns. This makes pages easier to read and improves the flow of text. For example:

{{div col|colwidth=35em}}
*Programme A
*Programme B 
*Programme C 
*Programme D 
*Programme E 
*Programme F 
*Programme G 
*Programme H 
{{div col end}}

produces:

  • Programme A
  • Programme B
  • Programme C
  • Programme D
  • Programme E
  • Programme F
  • Programme G
  • Programme H

Similarly, you can force lengthy lists of references into columns using {{reflist}} instead of <references/>, for which no formatting options are available.

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: