Шаблон:Redirect — различия между версиями

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
м (1 версия)
 
 
Строка 1: Строка 1:
{{ #switch: {{lc:{{{1|}}}}}
+
<includeonly>{{ #switch: {{lc:{{{1|}}}}} | [[Category:{{ #switch: {{lc:{{{1|}}}}}
| variant spelling    = {{#vardefine:category|Variant spelling redirects}}
+
| variant spelling
| variant              = {{#vardefine:category|Variant spelling redirects}}
+
| variant              = Variant spelling redirects
| common misspelling   = {{#vardefine:category|Common misspelling redirects}}
+
| common misspelling
| misspelling          = {{#vardefine:category|Common misspelling redirects}}
+
| misspelling          = Common misspelling redirects
| abbreviation        = {{#vardefine:category|Abbreviation redirects}}
+
| abbreviation        = Abbreviation redirects
}}
+
| common term          = Common term redirects
<includeonly>{{ #switch: {{lc:{{{1|}}}}} | [[Category:{{#var:category}}|{{PAGENAME}}]] }}</includeonly><noinclude>
+
| plural              = Plural redirects
 +
| waypoint
 +
| vista                = Map redirects
 +
| #default            = Redirects
 +
}}|{{PAGENAME}}]] }}</includeonly><noinclude>
  
 
== Description ==
 
== Description ==
Строка 18: Строка 22:
 
; ''unnamed parameter'' 1
 
; ''unnamed parameter'' 1
 
: Required. Redirect type. Possible values:
 
: Required. Redirect type. Possible values:
:* <code>abbreviation</code> : [[:Category:Abbreviation redirects]]. For any redirect that is an abbreviation or shortening of the article's title.
+
:* <code>abbreviation</code>: [[:Category:Abbreviation redirects]]. For abbreviations/shortening of the title, e.g. NPC → Non-player character
:* <code>common misspelling</code> : [[:Category:Common misspelling redirects]]. For any redirect that is a mispelled version of the article's title.
+
:* <code>common term</code>: [[:Category:Common term redirects]]. For commonly-used terms, e.g. Trade → Trading Post. Also use this for grammatical variations (Cartographer → Cartography), omitted punctuation (aint → ain't), specialized terms (e.g. Bronze Coin → Coin), and general terms.
:* <code>variant spelling</code> : [[:Category:Variant spelling redirects ]]. For any redirect that is a correct variant spelling of the article's title.
+
:* <code>common misspelling</code> or  <code>misspelling</code>: [[:Category:Common misspelling redirects]]. For commonly-misspelled variations, e.g. Theif → Thief.
 +
:* <code>plural</code>: [[:Category:plural redirects]]. For uncommon plurals, i.e. those that cannot be formed by adding "s" or "es" to the article title, e.g. Medals of Honor, but not Medals.
 +
:* <code>variant spelling</code> / <code>variant</code>: [[:Category:Variant spelling redirects ]]. For reasonable alternative variations, , e.g. Armour → Armor. Also use this for capitalization variations, e.g. The Rain in Spain → The Rain In Spain.
  
 
[[Category:Redirect templates|Redirect]]
 
[[Category:Redirect templates|Redirect]]
 
</noinclude>
 
</noinclude>

Текущая версия на 18:50, 27 июля 2016


Description[править]

{{Redirect|<type>}}

This template is used to categorize articles at the proper subcategory within the redirects category. Include this template below the #redirect line on redirect pages.

Parameters[править]

unnamed parameter 1
Required. Redirect type. Possible values:
  • abbreviation: Category:Abbreviation redirects. For abbreviations/shortening of the title, e.g. NPC → Non-player character
  • common term: Category:Common term redirects. For commonly-used terms, e.g. Trade → Trading Post. Also use this for grammatical variations (Cartographer → Cartography), omitted punctuation (aint → ain't), specialized terms (e.g. Bronze Coin → Coin), and general terms.
  • common misspelling or misspelling: Category:Common misspelling redirects. For commonly-misspelled variations, e.g. Theif → Thief.
  • plural: Category:plural redirects. For uncommon plurals, i.e. those that cannot be formed by adding "s" or "es" to the article title, e.g. Medals of Honor, but not Medals.
  • variant spelling / variant: Category:Variant spelling redirects . For reasonable alternative variations, , e.g. Armour → Armor. Also use this for capitalization variations, e.g. The Rain in Spain → The Rain In Spain.