Minecraft Wiki
Register
(added br info)
(Undo revision 1630286 by 99.255.64.9 (talk))
Tag: Undo
 
(39 intermediate revisions by 28 users not shown)
Line 1: Line 1:
  +
{{soft redirect|gphelp:Editing}}
==Editing syntax==
 
 
===Anywhere in a line===
 
 
{|style="margin: 0.25em; border: 1px solid #AFCFE2;" cellpadding="3" cellspacing="0" rules="all"
 
|- style="background: #DDD;"
 
!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===
 
 
{|style="margin: 0.25em; border: 1px solid #AFCFE2;" cellpadding="3" cellspacing="0" rules="all"
 
|- style="background: #DDD;"
 
!Description
 
!Input
 
!Result
 
|-
 
|Image
 
:Resized
 
|<tt><nowiki>[[File:Wiki.png]]</nowiki></tt>
 
<tt><nowiki>[[File:Wiki.png|150px]]</nowiki></tt>
 
|[[File:Wiki.png]]<br>[[File:Wiki.png|100px]]
 
|-
 
|Image thumbnail with caption
 
(defaults to right side of page)
 
 
:Left side
 
|<tt><nowiki>[[File:Wiki.png|thumb|Caption Text]]</nowiki></tt><br><tt><nowiki>[[File:Wiki.png|thumb|left|Caption Text]]</nowiki></tt>
 
|[[File:Wiki.png|thumb|Caption Text]]<br>[[File:Wiki.png|thumb|left|Caption Text]]
 
|-
 
|Headings
 
(a table of contents is created<br>
 
with four or more of these)
 
|
 
<tt><nowiki>= First Tier =</nowiki></tt><br>
 
<tt><nowiki>== Second Tier ==</nowiki></tt><br>
 
<tt><nowiki>=== Third Tier ===</nowiki></tt><br>
 
<tt><nowiki>==== Fourth Tier ====</nowiki></tt><br>
 
<tt><nowiki>===== Fifth Tier =====</nowiki></tt><br>
 
<tt><nowiki>====== Sixth Tier ======</nowiki></tt><br>
 
|
 
 
= First Tier =
 
== Second Tier ==
 
=== Third Tier ===
 
==== Fourth Tier ====
 
===== Fifth Tier =====
 
====== Sixth Tier ======
 
|-
 
|Numbered list
 
|
 
<tt><nowiki>#Point One</nowiki></tt><br>
 
<tt><nowiki>#Point Two</nowiki></tt><br>
 
<tt><nowiki>#Point Three</nowiki></tt><br>
 
<tt><nowiki>##Three Subpoint One</nowiki></tt><br>
 
<tt><nowiki>#Point Four</nowiki></tt>
 
|
 
#Point One
 
#Point Two
 
#Point Three
 
##Three Subpoint One
 
#Point Four
 
|-
 
|Bullet list
 
|
 
<tt><nowiki>*First Point</nowiki></tt><br>
 
<tt><nowiki>*Second Point</nowiki></tt><br>
 
<tt><nowiki>*Third Point</nowiki></tt><br>
 
<tt><nowiki>**Third Point Subpoint One</nowiki></tt><br>
 
<tt><nowiki>*Fourth Point</nowiki></tt>
 
|
 
*First Point
 
*Second Point
 
*Third Point
 
**Third Point Subpoint One
 
*Fourth Point
 
|-
 
|Indented lines or paragraphs<br>(for use in comment replies)
 
|
 
<tt><nowiki>No Indent</nowiki></tt><br>
 
<tt><nowiki>:First Indent</nowiki></tt><br>
 
<tt><nowiki>::Second Indent</nowiki></tt><br>
 
<tt><nowiki>:::and so on</nowiki></tt>
 
|
 
No Indent
 
:First Indent
 
::Second Indent
 
:::and so on
 
|-
 
|Inserting the reference list
 
|<tt><nowiki><references/></nowiki></tt><br>or<br><tt><nowiki>{{reflist}}</nowiki></tt>
 
|<references/>
 
|-
 
|Moving a line of text to the next line<br>(line break)
 
|<tt>Text<code><nowiki><br></nowiki></code>Text</tt>
 
|Text<br>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:
 
* [[Minecraft Wiki:Projects/Easy Template Lists/Basic Template List|Basic template list]]
 
* [[Minecraft Wiki:Projects/Easy Template Lists/Advanced Templates|Advanced templates]]
 
 
 
{{Help}}
 
 
[[Category:Help]]
 
 
[[fr:Aide:Syntaxe]]
 

Latest revision as of 18:06, 9 July 2020