Help:Formatting

From MinecraftOnline
Jump to navigation Jump to search
For help with templates, see Help:Useful templates.

The MinecraftOnline wiki uses a special form of formatting called 'wiki-markup'. By inserting different characters or text around your work, you can change the formatting and appearance in a number of different ways.

In the left column of the table below, you can find a series of Wiki Markup examples. In the right column, you can see the resulting output.

In other words, to make text look like it looks in the right column, type it in the format you see in the left column. You may want to keep this page open in a separate browser window for reference.

Basic Formatting

Wiki markup Output
You can ''italicize text'' by
putting 2 apostrophes on each side. 

3 apostrophes will bold '''the text'''.

5 apostrophes will bold and italicize 
'''''the text'''''.

You can italicize text by putting 2 apostrophes on each side.

3 apostrophes will bold the text.

5 apostrophes will bold and italicize the text.

A single
newline
has no
effect on the
layout.

But an empty line
starts a new paragraph.

A single newline has no effect on the layout.

But an empty line starts a new paragraph.

You can break lines<br />
without starting a new paragraph.

You can break lines
without starting a new paragraph.

When adding a comment to a
Talk page, you should sign it.
You can do this by adding three
tildes for your user name:<br />
~~~

Four for user name plus date/time:<br />
~~~~

Five for date/time:<br />
~~~~~

When adding a comment to a Talk page, you should sign it. You can do this by adding three tildes for your user name:
Edessa

Four for user name plus date/time:
Edessa 06:52, April 27 2024 (UTC)

Five for date/time:
06:52, April 27 2024 (UTC)

Headers, Sections, Lists and Lines

Wiki markup Output
==New section==

===Subsection===

====Sub-subsection====

New section

Subsection

Sub-subsection

: A colon (:) indents a line or paragraph.
A newline starts a new paragraph.<br />
Often used for discussion on talk pages.
: We use 1 colon to indent once.
:: We use 2 colons to indent twice.
::: 3 colons to indent 3 times, and so on.
A manual newline starts a new paragraph.
A colon (:) indents a line or paragraph.

A newline starts a new paragraph.
Often used for discussion on talk pages.

We use 1 colon to indent once.
We use 2 colons to indent twice.
3 colons to indent 3 times, and so on.

A manual newline starts a new paragraph.

* ''Unordered lists'' are easy to do:
** Start every line with a star.
*** More stars indicate a deeper level.
** Previous item continues.
** A newline
* in a list  
marks the end of the list.
* Of course you can start again.
  • Unordered lists are easy to do:
    • Start every line with a star.
      • More stars indicate a deeper level.
    • Previous item continues.
    • A newline
  • in a list

marks the end of the list.

  • Of course you can start again.
# ''Numbered lists'' are:
## Very organized
## Easy to follow
A newline marks the end of the list.
# New numbering starts with 1.
  1. Numbered lists are:
    1. Very organized
    2. Easy to follow

A newline marks the end of the list.

  1. New numbering starts with 1.
*You can even do mixed lists
*#and nest them
*#*like this<br />or include newlines
  • You can even do mixed lists
    1. and nest them
      • like this
        or include newlines
Here's a definition list:
; Word : Definition of the word
; A longer phrase needing definition
: Phrase defined
; A word : Which has a definition
: Also a second one
: And even a third

Begin with a semicolon. One item per line; 
a newline can appear before the colon, but 
using a space before the colon improves 
parsing.

Here's a definition list:

Word
Definition of the word
A longer phrase needing definition
Phrase defined
A word
Which has a definition
Also a second one
And even a third

Begin with a semicolon. One item per line; a newline can appear before the colon, but using a space before the colon improves parsing.

A horizontal dividing line: above
----
and below.

A horizontal dividing line: above


and below.

Links and URLs

Wiki markup Output
[[Freedonia]] is an "internal link".

Freedonia is an "internal link".

Endings are blended into the link:
[[Freedonia]]'s [[Spawn]]ing area.

Endings are blended into the link: Freedonia's Spawning area.

You can put formatting around a link.
Example: ''[[Freedonia]]''.

You can put formatting around a link. Example: Freedonia.

The ''first letter'' of an
article is automatically
capitalized, so [[freedonia]]
goes to the same place
as [[Freedonia]].
Capitalization matters after the
first letter.

The first letter of an articles is automatically capitalized, so freedonia goes to the same place as Freedonia. Capitalization matters after the first letter.

[[Project Anubis #Nexus nodes]] is a link to the
"Nexus nodes" section of the "Project Anubis" article.

Project Anubis #Nexus nodes is a link to the "Nexus nodes" section of the "Project Anubis" article.

[[Project Anubis #Nexus nodes|Project Anubis]] is a "piped link".
It allows you to change the text of a
link without changing its target.

Project Anubis is a "piped link". It allows you to change the text of a link without changing its target.

[[Randomness]] is a page that doesn't exist yet.

Randomness is a page that doesn't exist yet.

Redirect one article to another:<br />
#REDIRECT [[target_page]]
"What links here" and "Related changes"
can be linked as:<br/>
[[Special:Whatlinkshere/Help:Editing]] and
[[Special:Recentchangeslinked/Help:Editing]]

"What links here" and "Related changes" can be linked as:
Special:Whatlinkshere/Help:Editing and Special:Recentchangeslinked/Help:Editing

You can make an external link
just by typing a URL:
http://minecraftonline.com/

You can give it a title:
[http://minecraftonline.com/ MCO.com]

Or leave the title blank:
[http://minecraftonline.com/]

You can make an external link just by typing a URL: http://minecraftonline.com/

You can give it a title: MCO.com

Or leave the title blank: [1]

Linking to an e-mail address
works the same way:
mailto:someone@domain.com or 
[mailto:someone@domain.com Someone]

Linking to an e-mail address works the same way: mailto:someone@domain.com or Someone

Category links do not show up
in-line but instead at the
bottom of the page ''and cause
the page to be listed in the
category.''
[[Category:Settlements]]

Add an extra colon to ''link''
to a category in line without
causing the page to be listed
in the category:
[[:Category:Settlements]]

Category links do not show up in-line but instead at the bottom of the page and cause the page to be listed in the category. Category:Settlements

Add an extra colon to link to a category in line without causing the page to be listed in the category: Category:Settlements

The Wiki reformats linked
dates to match the reader's
date preferences. These three
dates will show up the same
if you choose a format in your
[[Special:Preferences|]]:
* July 20, 1969
* 20 July 1969
* 1969-07-20

The Wiki reformats linked dates to match the reader's date preferences. These three dates will show up the same if you choose a format in your Preferences:

  • July 20, 1969
  • 20 July 1969
  • 1969-07-20

Images and Media

Wiki markup Output
Display an image:<br />
[[Image:Imageexample.jpg]]

Display an image:
Imageexample.jpg

Resize an image:<br />
[[Image:Imageexample.jpg|50px]]

Resize an image:
Imageexample.jpg

Align an image:<br />
[[Image:Imageexample.jpg|50px|left]]
[[Image:Imageexample.jpg|50px|right]]

Align an image:

Imageexample.jpg
Imageexample.jpg
A framed image:<br />
[[Image:Imageexample.jpg|frame]]

A framed image:

Imageexample.jpg
Add an image caption:<br />
[[Image:Imageexample.jpg|frame|An image.]]

Add an image caption:

An image.
A thumbnail image:<br />
[[Image:Imageexample.jpg|thumb|100px|A cool image.]]

A thumbnail image:

A cool image.
An image gallery:<br />
<gallery>
Image:Imageexample.jpg|Epic image
Image:Imageexample.jpg|Cool story bro
</gallery>

An image gallery:

Link to an image description page:<br /> 
[[:Image:Imageexample.jpg]]

Link to an image description page:
Image:Imageexample.jpg

Link directly to an image:<br />
[[media:Imageexample.jpg]]

Link directly to an image:
media:Imageexample.jpg

To link to non-image uploads, 
you also use a "media" link:<br/>
[[media:musicsample.ogg]]

To link to non-image uploads, you also use a "media" link:
media:musicsample.ogg

Tables

Wiki markup Output
{| border="1" cellspacing="0" cellpadding="5" align="center"
|+this is a caption
! This
! is
|- 
| a
| table
|}
This is
a table
this is a caption
{| table start, required
|+ table caption, optional; only between table start and first row
|- table row. Optional on first row—wiki engine assumes the first row
! table header cell, optional. Consecutive table header cells may be added on same line separated by double marks (!!) or start on new lines, each with its own single mark (!).
| table data cell, optional. Consecutive table data cells may be added on same line separated by double marks (||) or start on new lines, each with its own single mark (|).
|} table end, required

See the Mediawiki documentation for all of the features of Table Markup

HTML Tags

You can use some HTML tags as well. However, you should avoid HTML in favor of Wiki markup whenever possible.

Wiki markup Output
<i>italics</i><br />
<b>bold</b>

italics
bold

Put text in a <tt>typewriter
font</tt>. The same font is 
generally used for <code>
computer code</code>.

Put text in a typewriter font. The same font is generally used for computer code.

<strike>Strike out</strike>
or <u>underline</u> text,
or write it <span style=
"font-variant:small-caps">
in small caps</span>.

Strike out or underline text, or write it in small caps.

Superscripts and subscripts:
X<sup>2</sup>, H<sub>2</sub>O

Superscripts and subscripts: X2, H2O

You can use <small>small
text</small> for captions.

You can use small text for captions.

<center>Centered text</center>
Centered text
<blockquote>
The '''blockquote''' command will indent 
both margins when needed instead of the 
left margin only as the colon does.  
</blockquote>

The blockquote command will indent both margins when needed instead of the left margin only as the colon does.

Invisible comments to editors (<!-- -->) 
only appear while editing the page.
<!-- Note to editors: blah blah blah. -->

Invisible comments to editors (<!-- -->) only appear while editing the page.

Character Formatting

Wiki markup Output
'''Umlauts and accents:'''<br />
è é ê ë ì í

&Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring; &AElig;<br />
&Ccedil; <br />
&Egrave; &Eacute; &Ecirc; &Euml;<br />
&Igrave; &Iacute; &Icirc; &Iuml;<br />
&Ntilde; <br />
&Ograve; &Oacute; &Ocirc; &Otilde; &Ouml; &Oslash; &Oelig;<br />
&Ugrave; &Uacute; &Ucirc; &Uuml;<br />
&Yuml;<br />
&szlig;<br />
&agrave; &aacute; &acirc; &atilde; &auml; &aring;<br />
&aelig; &ccedil;<br />
&egrave; &eacute; &ecirc; &euml;<br />
&igrave; &iacute; &icirc; &iuml;<br />
&ntilde;<br />
&ograve; &oacute; &ocirc; &otilde; &ouml; &oslash; &oelig;<br />
&ugrave; &uacute; &ucirc; &uuml;<br />
&yuml;

Umlauts and accents:
è é ê ë ì í

À Á Â Ã Ä Å Æ
Ç
È É Ê Ë
Ì Í Î Ï
Ñ
Ò Ó Ô Õ Ö Ø Œ
Ù Ú Û Ü
Ÿ
ß
à á â ã ä å æ
ç
è é ê ë
ì í î ï
ñ
ò ó ô õ ö ø œ
ù ú û ü
ÿ

'''Punctuation:'''<br />
&iquest; &iexcl; &laquo;<br />
&raquo; &sect; &para;<br />
&dagger; &Dagger; &bull;<br />
- &ndash; &mdash;

Punctuation:
¿ ¡ «
» § ¶
† ‡ •
- – —

'''Commercial symbols:'''<br />
&trade; &copy; &reg;<br />
&cent; &euro; &yen;<br />
&pound; &curren;<br />

Commercial symbols:
™ © ®
¢ € ¥
£ ¤

'''Greek characters:'''<br />
&alpha; &beta; &gamma;<br />
&delta; &epsilon; &zeta;<br />
&eta; &theta; &iota;<br />
&kappa; &lambda; &mu;<br />
&nu; &xi; &omicron;<br />
&pi; &rho; &sigma;<br />
&sigmaf; &tau; &upsilon;<br />
&phi; &chi; &psi;<br />
&omega; &Gamma; &Delta;<br />
&Theta; &Lambda; &Xi;<br />
&Pi; &Sigma; &Phi;<br />
&Psi; &Omega;

Greek characters:
α β γ
δ ε ζ
η θ ι
κ λ μ
ν ξ ο
π ρ σ
ς τ υ
φ χ ψ
ω Γ Δ
Θ Λ Ξ
Π Σ Φ
Ψ Ω

'''Math characters:'''<br />
&int; &sum; &prod;<br />
&radic; &minus; &plusmn;<br />
&infin; &asymp; &prop;<br />
&equiv; &ne; &le;<br />
&ge; &times; &middot;<br />
&divide; &part; &prime;<br />
&Prime; &nabla; &permil;<br />
&deg; &there4; &alefsym;<br />
&oslash; &isin; &notin;<br />
&cap; &cup; &sub; &sup; &sube; &supe;<br />
&not; &and; &or;<br />
&exist; &forall; &rArr;<br />
&hArr; &rarr; &harr;<br />
&uarr;

Math characters:
∫ ∑ ∏
√ − ±
∞ ≈ ∝
≡ ≠ ≤
≥ × ·
÷ ∂ ′
″ ∇ ‰
° ∴ ℵ
ø ∈ ∉
∩ ∪ ⊂ ⊃ ⊆ ⊇
¬ ∧ ∨
∃ ∀
⇒ ⇔ → ↔

Preformatted Text

A few different kinds of formatting will tell the Wiki software to display your text just as you typed it.

Wiki markup Output
<nowiki>
The nowiki tag ignores 
[[Wiki]] ''markup''.
It reformats text by 
removing
newlines    and multiple
 spaces.
It still interprets special
characters: &rarr;
</nowiki>

The nowiki tag ignores [[Wiki]] ''markup''. It reformats text by removing newlines and multiple spaces. It still interprets special characters: →

<pre>
The pre tag ignores Wiki
 ''markup''.
It also doesn't     reformat
 text.
It still interprets special
characters: &rarr;
</pre>
The pre tag ignores Wiki
 ''markup''.
It also doesn't     reformat
 text.
It still interprets special
characters: →
Leading spaces are another way
to preserve formatting.

 Putting a space at the
 beginning of each
 line stops the text   
 from being
 reformatted.  It still 
 interprets Wiki
 ''markup'' and special
 characters: &rarr;

Leading spaces are another way to preserve formatting.

Putting a space at the
beginning of each
line stops the text   
from being
reformatted.  It still 
interprets Wiki
markup and special
characters: →