Help:Editing: Difference between revisions

m
Protected "Help:Editing" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only administrators] (indefinite))
(Making big adjustments.)
m (Protected "Help:Editing" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This page is a reference and a tutorial for basic Mediawiki syntax, which is the code used on this wiki to produce formatted articles from plain text. More advanced techniques can be found in [[Help:Editing/Advanced techniques|editing/advanced techniques]]. If there is something that you cannot find in either of these places, but want explained, ask in the [[Help talk:Editing|help pages discussion]].
{{shortcut|P:EDITING}}
This page is a reference and a tutorial for basic Mediawiki syntax, which is the code used on this wiki to produce formatted articles from plain text. More advanced techniques can be found in [[Help:Editing/Advanced techniques]]. If there is something that you cannot find in either of these places, but want explained, ask in [[Help talk:Editing|this guide's discussion page]].


== Text ==
== Text ==
Line 14: Line 15:


This is a new paragraph.
This is a new paragraph.
|}
=== Sections ===
Articles are divided into sections, and there can be multiple levels of sections. To make a paragraph of text into a section heading, surround it with 2 or more equals signs.
{|class="wikitable"
!Code!!Result
|-
|<pre><nowiki>== Main heading ==
Paragraph.
=== Subheading ===
Paragraph.
==== Minor heading ====
Paragraph.</nowiki></pre>
|
<span style="font-size: 160%; font-family: serif">Main heading</span>
----
Paragraph.
<span style="font-size: 125%; font-weight: bold;">Subheading</span>
Paragraph.
<span style="font-size: 105%; font-weight: bold;">Minor heading</span>
Paragraph.
|}
A table of contents is automatically generated when there are more than 4 sections in an article.
To make a piece of text function like a heading but not appear in the table of contents, place a semicolon at the start of the line.
{|class="wikitable"
!Code!!Result
|-
|<pre><nowiki>;Obstacles
*Dirt wall
*Bridge
;Enemies
*Bulborb
*Fiery Blowhog</nowiki></pre>
|
;Obstacles
*Dirt wall
*Bridge
;Enemies
*Bulborb
*Fiery Blowhog
|}
|}


Line 38: Line 89:
|-
|-
|<pre><nowiki>[[Ship part#List]] is a section of the [[ship part]] article. See [[#Sections|sections]] for more information about sections.</nowiki></pre>
|<pre><nowiki>[[Ship part#List]] is a section of the [[ship part]] article. See [[#Sections|sections]] for more information about sections.</nowiki></pre>
|[[Ship part#List]] is a section of the [[ship part]] article. See [[#Sections|this section]] for more information about sections.
|[[Ship part#List]] is a section of the [[ship part]] article. See [[#Sections|sections]] for more information about sections.
|}
|}


Line 108: Line 159:
:This is a reply to that paragraph.
:This is a reply to that paragraph.
::This is another reply.
::This is another reply.
|}
=== Sections ===
Articles are divided into sections, and there can be multiple levels of sections. To make a paragraph of text into a section heading, surround it with 2 or more equals signs.
{|class="wikitable"
!Code!!Result
|-
|<pre><nowiki>== Main heading ==
Paragraph.
=== Subheading ===
Paragraph.
==== Minor heading ====
Paragraph.</nowiki></pre>
|
<span style="font-size: 160%; font-family: serif">Main heading</span>
----
Paragraph.
<span style="font-size: 125%; font-weight: bold;">Subheading</span>
Paragraph.
<span style="font-size: 105%; font-weight: bold;">Minor heading</span>
Paragraph.
|}
A table of contents is automatically generated when there are more than 4 sections in an article.
==== Others ====
To make a piece of text function like a heading but not appear in the table of contents, place a semicolon at the start of the line.
{|class="wikitable"
!Code!!Result
|-
|<pre><nowiki>;Obstacles
*Dirt wall
*Bridge
;Enemies
*Bulborb
*Fiery Blowhog</nowiki></pre>
|
;Obstacles
*Dirt wall
*Bridge
;Enemies
*Bulborb
*Fiery Blowhog
|}
|}


Line 168: Line 168:
|In ''Pikmin'', Yellow Pikmin can carry [[bomb-rock]]s &ndash; an ability necessary to access certain sections of areas.
|In ''Pikmin'', Yellow Pikmin can carry [[bomb-rock]]s &ndash; an ability necessary to access certain sections of areas.
|}
|}
For some types of information, it may be practical to display it on a table. Since table syntax can be complicated, it is described at [[Help:Tables]] instead of on this page.


== Images ==
== Images ==
Line 247: Line 245:
Arguments can have names, which means that instead of just separating the arguments by vertical bars, each argument contains a name and a value connected by an equals sign.
Arguments can have names, which means that instead of just separating the arguments by vertical bars, each argument contains a name and a value connected by an equals sign.


Some templates are more complex, featuring many arguments. An example of this is {{tem|infobox upgrade}}, which is used to show basic information about [[upgrade]]s. These include which games the upgrade appears in, an image of the upgrade, the areas it appears in, and the upgrade's weight. To make large templates like this easier to work with, it's recommended to place each argument on its own line. For the [[Dodge Whistle]], the template would look like this:
Some templates are more complex, featuring many arguments. An example of this is {{tem|infobox upgrade}}, which is used to show basic information about [[gear]]. These include which games the upgrade appears in, an image of the gear, its function, and how to obtain it. To make large templates like this easier to work with, it's recommended to place each argument on its own line. For the [[Dodge Whistle]], the template would look like this:
{|class="wikitable"
{|class="wikitable"
!Code!!Result
!Code!!Result
Line 257: Line 255:
|image        = DodgeWhistleArt.png
|image        = DodgeWhistleArt.png
|caption      = The Dodge Whistle's capsule.
|caption      = The Dodge Whistle's capsule.
|area        = [[Distant Tundra]]
|weight      = 10
|max_carriers = 20
|function    = Allows leaders and Pikmin to dodge
|function    = Allows leaders and Pikmin to dodge
|requirements = Retrieve the capsule
}}</nowiki></pre>
}}</nowiki></pre>
|{{infobox upgrade
|{{infobox upgrade
Line 268: Line 264:
|image        = DodgeWhistleArt.png
|image        = DodgeWhistleArt.png
|caption      = The Dodge Whistle's capsule.
|caption      = The Dodge Whistle's capsule.
|area        = [[Distant Tundra]]
|weight      = 10
|max_carriers = 20
|function    = Allows leaders and Pikmin to dodge
|function    = Allows leaders and Pikmin to dodge
|requirements = Retrieve the capsule
}}
}}
|}
|}
Line 287: Line 281:
|}
|}


=== Shortcut ===
A faster way of adding, changing, or removing categories is by using {{w|WP:HC|HotCat}}, enabled via [[Special:Preferences|preference]]s. Note that only [[Pikipedia:Users|registered users]] have access to this tool, while [[Pikipedia:IP addresses|logged-out editors]] are required to [[Special:CreateAccount|create an account]] to utilize it.
A faster way of adding, changing, or removing categories is by using [[wikipedia:Wikipedia:HotCat|HotCat]]. You can enable this tool by going to [[Special:Preferences#mw-prefsection-gadgets|your preferences page]].
*Note that only [[Pikipedia:Why create an account?|registered users]] can use this tool. To gain access to the tool, you must [[Special:CreateAccount|create an account]] or [[Special:UserLogin|login]].


<center>[[File:HotCat demonstration.png|basic|798px]]</center>
[[File:HotCat demonstration.png|center|800px]]
<center>How '''HotCat''' looks like when it is enabled.</center>
{{clear}}
{{clear}}


== Pages ==
== Other ==
=== Redirect pages ===
=== Redirect pages ===
Redirect pages are special pages that automatically go to another page when someone searches them or clicks on a link to them. They're useful when an article has multiple things it could be called. To create a redirect page, start it with <code><nowiki>#REDIRECT</nowiki></code> and then link to the article. An example of this is [[Olimar]], which contains <code><nowiki>#REDIRECT [[Captain Olimar]]</nowiki>.</code>
Redirect pages are special pages that automatically go to another page when someone searches them or clicks on a link to them. They're useful when an article has multiple things it could be called. To create a redirect page, start it with <code><nowiki>#REDIRECT</nowiki></code> and then link to the article. An example of this is [[Olimar]], which contains <code><nowiki>#REDIRECT [[Captain Olimar]]</nowiki>.</code>


=== Talk pages ===
=== Talk pages ===
In talk pages, you can end your post with a signature, which contains your username and the date and time of your post. To sign your posts, put 4 tildes (<code><nowiki>~~~~</nowiki></code>) at the end of the post. (3 tildes will produce just the username, and 5 tildes will produce just the time and date.) It's possible to customize your signature in your [[Special:Preferences|preferences page]]. Below is an example of a custom signature.
In talk pages, you can end your post with a signature, which contains your username and the date and time of your post. To sign your posts, put 4 tildes (<code><nowiki>~~~~</nowiki></code>) at the end of the post. (3 tildes will produce just the username, and 5 tildes will produce just the time and date.) It's possible to customize your signature in [[Special:Preferences|your preferences page]]. Below is an example of a custom signature.
{|class="wikitable"
{|class="wikitable"
!Code!!Result
!Code!!Result
|-
|-
|<pre><nowiki>~~~~</nowiki></pre>
|<pre><nowiki>~~~~</nowiki></pre>
|'''[[User:Username|Username]]''' <sup><small>('''[[User talk:Username|talk]]''')</small></sup> 00:46, February 6, 2022 (EST)
|&mdash; '''{''[[User:Espyo|Espyo]]''<sup>[[User talk:Espyo|T]]</sup>}''' 12:00, January 1, 2020 (EST)
|}
|}


==Pikipedia standards==
=== Tables ===
For some types of information, it may be practical to display it on a table. Since table syntax can be complicated, it is described at [[Help:Tables]] instead of on this page.
 
== Pikipedia standards ==
[[Pikipedia:Policies and guidelines|Pikipedia's policies and guidelines]] contain useful information in making sure edits fit Pikipedia's style. Here are a few tips:
[[Pikipedia:Policies and guidelines|Pikipedia's policies and guidelines]] contain useful information in making sure edits fit Pikipedia's style. Here are a few tips:
* Always italicize the names of games.
* Always italicize the names of games.
Line 317: Line 311:
==See also==
==See also==
*{{w|Help:Wikitext|Wikipedia's guide to MediaWiki syntax}}
*{{w|Help:Wikitext|Wikipedia's guide to MediaWiki syntax}}
{{help}}