VOOZH about

URL: https://minecraft.wiki/w/Help:Wikitext?veaction=edit

⇱ Help:Wikitext – Minecraft Wiki


Help:Wikitext

From Minecraft Wiki
Jump to navigation Jump to search

Wikitext is the markdown system used by the source editor in the Minecraft Wiki that allows users to format text and images. Below is a reference of the most common syntax you may see. For more comprehensive help or an introduction to using wikitext, please see w:Help:Wikitext on Wikipedia.

Editing syntax

[edit | edit source]

Anywhere in a line

[edit | edit source]
Description Input Result
Italicize text ''italic'' italic
Bold text '''bold''' bold
Internal page link (within wiki)(the first letter in the link can be capitalized or not)
With display text

[[Name of target page]]
[[Name of target page|Other word or phrase]]
[[Target page]]s

Name of target page
Other word or phrase
Target pages

Internal image link [[:File:Wiki.png]] File:Wiki.png
Internal category link [[:Category:Mojang images]] Category:Mojang images
External page link (off-wiki)
With display text
URL shown
Plain link

[http://www.minecraft.net/]
[http://www.minecraft.net/ Display Text]
http://www.minecraft.net/
<span class="plainlinks">[http://www.minecraft.net/ Display Text]</span>

[1]
Display Text
http://www.minecraft.net/
Display Text

Signing comments

(for talk pages)

~~~~ Coaster 02:36, 13 April 2011 (UTC)
Inserting a citation/reference

Allow reusing

Reusing
<ref>Source 1</ref>
<ref name=name>Source 2</ref>
or
<ref name="word phrase">Source 2</ref>
<ref name=name/>

[1]
[2]
[2]

Only at the beginning of a line

[edit | edit source]
Description Input Result
Image
Resized
[[File:Wiki.png]]

[[File:Wiki.png|150px]]

👁 Image

👁 Image
Image thumbnail with caption

(defaults to right side of page)

Left side
[[File:Wiki.png|thumb|Caption Text]]
[[File:Wiki.png|thumb|left|Caption Text]]
👁 Image
Caption Text

👁 Image
Caption Text
Headings

(a table of contents is created
with four or more of these)

= First Tier =
* Don't use this heading. It is only for page title, and the wiki adds it automatically.
== Second Tier ==
=== Third Tier ===
==== Fourth Tier ====
===== Fifth Tier =====
====== Sixth Tier ======

First Tier [ Edit | Edit source ]

  • Don't use this heading. It is only for page title, and the wiki adds it automatically.

Second Tier [ Edit | Edit source ]

Third Tier [ Edit | Edit source ]

Fourth Tier [ Edit | Edit source ]

Fifth Tier [ Edit | Edit source ]
Sixth Tier [ Edit | Edit source ]
Numbered list

#Point One
#Point Two
#Point Three
##Three Subpoint One
#Point Four

  1. Point One
  2. Point Two
  3. Point Three
    1. Three Subpoint One
  4. Point Four
Bullet list

*First Point
*Second Point
*Third Point
**Third Point Subpoint One
*Fourth Point

  • First Point
  • Second Point
  • Third Point
    • Third Point Subpoint One
  • Fourth Point
Indented lines or paragraphs
(for use in comment replies)

No Indent
:First Indent
::Second Indent
:::and so on

No Indent

First Indent
Second Indent
and so on
Inserting the reference list <references/>
or
{{reflist}}
  1. Source 1
  2. a b Source 2
Moving a line of text to the next line
without using actual line breaks
with the Enter key

Useful when editing charts that
push the border outwards without
a defined size limit
Text<br>Text Text
Text

Templates

[edit | edit source]

Templates are a way of replicating common page elements by "hiring" those elements from a specialized page in such a way that when the "master" is edited, all articles borrowing from the template will automatically incorporate those changes. See Category:Templates for a list of templates.

Templates are created in the 'Template:' namespace. Once created, they may be transcluded by placing the name of the template within double braces ({{Template Name}}). Inside a template, parameters may be utilized. Inside a template definition, use triple braces to substitute a parameter ({{{parameterName}}}), and inside the template transclusion, add |parameterName=parameterValue between the name of the template and the closing double brace.

Inside a template's definition, various parser functions may be used to control output. These usually have direct programmatical equivalents, such as #if:, #vardefine:, and #switch:. See w:mw:Help:Extension:ParserFunctions for documentation on those.

Example

[edit | edit source]
Definition: "Template:Sandbox"
This is a {{{type}}}. {{#if: {{{message|}}} | Your message is: {{{message}}}. | No message provided! }}
Transclusion
{{Sandbox|type=Test|message=Hello world}}
Output
This is a Test. Your message is: Hello world.

See also

[edit | edit source]

Navigation

[edit | edit source]
Retrieved from "https://minecraft.wiki/w/Help:Wikitext?oldid=3600200"

Navigation menu