Difference between revisions of "Help:Editing"

From Minecraft Wiki
Jump to: navigation, search
(Undo revision 439966 by 74.63.112.140 (talk) Rule#2: Vandalism)
Line 4: Line 4:
   
 
{|style="margin: 0.25em; border: 1px solid #AFCFE2;" cellpadding="3" cellspacing="0" rules="all"
 
{|style="margin: 0.25em; border: 1px solid #AFCFE2;" cellpadding="3" cellspacing="0" rules="all"
  +
|- style="background: #DDD;"
|\TROOLLL
 
  +
!Description
  +
!Input
  +
!Result
  +
|-
  +
|Italicise text
  +
|<tt><nowiki>''italic''</nowiki></tt>
  +
|''italic''
  +
|-
  +
|Bold text
  +
|<tt><nowiki>'''bold'''</nowiki></tt>
  +
|'''bold'''
  +
|-
  +
|Internal page link (within wiki)(the first letter in the link can be capitalized or not)
  +
:With display text
  +
|
  +
<tt><nowiki>[[Name of target page]]</nowiki></tt><br>
  +
<tt><nowiki>[[Name of target page|Other word or phrase]]</nowiki></tt><br>
  +
<tt><nowiki>[[Target page]]s</nowiki></tt>
  +
|
  +
[[Name of target page]]<br>
  +
[[Name of target page|Other word or phrase]]<br>
  +
[[Target page]]s
  +
|-
  +
|Internal image link
  +
|<tt><nowiki>[[:File:Wiki.png]]</nowiki></tt>
  +
|[[:File:Wiki.png]]
  +
|-
  +
|Internal category link
  +
|<tt><nowiki>[[:Category:Mojang images]]</nowiki></tt>
  +
|[[:Category:Mojang images]]
  +
|-
  +
|External page link (off-wiki)
  +
:With display text
  +
:URL shown
  +
:Plain link
  +
|
  +
<tt><nowiki>[http://www.minecraft.net/]</nowiki></tt><br>
  +
<tt><nowiki>[http://www.minecraft.net/ Display Text]</nowiki></tt><br>
  +
<tt><nowiki>http://www.minecraft.net/</nowiki></tt><br>
  +
<tt><nowiki><span class="plainlinks">[http://www.minecraft.net/ Display Text]</span></nowiki></tt>
  +
|
  +
[http://www.minecraft.net/]<br>
  +
[http://www.minecraft.net/ Display Text]<br>
  +
http://www.minecraft.net/<br>
  +
<span class="plainlinks">[http://www.minecraft.net/ Display Text]</span>
  +
|-
  +
|Signing comments
  +
(for talk pages)
  +
|<tt><nowiki>~~~~</nowiki></tt>
  +
|[[User:Coaster|Coaster]] 02:36, 13 April 2011 (UTC)
  +
|-
  +
|Inserting a citation/reference<br><br>
  +
:Allow reusing<br><br>
  +
::Reusing
  +
|<tt><nowiki><ref>Source 1</ref></nowiki></tt>
  +
:<tt><nowiki><ref name=name>Source 2</ref></nowiki></tt><br>or<br><tt><nowiki><ref name="word phrase">Source 2</ref></nowiki></tt>
  +
::<tt><nowiki><ref name=name/></nowiki></tt>
  +
|
  +
<ref>Source 1</ref><br>
  +
<ref name=reuse>Source 2</ref><br>
  +
<ref name=reuse/>
  +
|}
   
 
===Only at the beginning of a line===
 
===Only at the beginning of a line===

Revision as of 00:17, 2 February 2013

Editing syntax

Anywhere in a line

Description Input Result
Italicise 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

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

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

Wiki.png
Wiki.png
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]]
Caption Text

Caption Text
Headings

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

= First Tier =
== Second Tier ==
=== Third Tier ===
==== Fourth Tier ====
===== Fifth Tier =====
====== Sixth Tier ======

First Tier

Second Tier

Third Tier

Fourth Tier

Fifth Tier
Sixth Tier
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

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. Syntax for including templates is addressed by the following pages: