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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
м (Откат правок Snowbirdie (обсуждение) к версии Blood)
 
 
(не показаны 4 промежуточные версии этого же участника)
Строка 1: Строка 1:
<div class="notice metadata" style="padding-left:25px;margin-bottom:10px">''В этом разделе статьи отсутствуют ключевые элементы. Вы можете помочь Guild Wars 2 Wiki, <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} дополнив её]</span>. ''</div><includeonly>[[Category:{{ #switch: {{lc: {{{1|}}} }}
+
<div class="metadata section-stub" style="padding-left:25px;margin-bottom:10px">''В этом разделе статьи отсутствуют ключевые элементы. Вы можете помочь Guild Wars 2 Wiki, <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} '''дополнив ее''']</span>. ''{{#if: {{{2|{{{reason|}}}}}} |<br> '''Причина:'''  {{ucfirst:{{#replace:{{{2|{{{reason|}}}}}}|"|&quot;}}}} }} </div><includeonly>[[Category:{{ #switch: {{lc: {{{1|}}} }}
| armor                                 = Armor articles
+
| achievement                              = Achievement articles
| bounty                                 = Bounty articles
+
| armor                                     = Armor articles
| build                                 = Build articles
+
| bounty                                   = Bounty articles
| bundle                                 = Bundle articles
+
| build                                     = Build articles
| cinematic                             = Cinematic articles
+
| bundle                                   = Bundle articles
| dialogue                               = Dialogue articles
+
| cinematic                                 = Cinematic articles
| effect                                 = Effect articles
+
| dialogue                                 = Dialogue articles
| guild                                 = Guild articles
+
| effect                                   = Effect articles
| interactive-object | interactive       = Interactive object articles
+
| guild                                     = Guild articles
| item                                   = Item articles
+
| interactive-object | interactive | object = Interactive object articles
| location                               = Location articles
+
| item                                     = Item articles
| lore                                   = Lore articles
+
| location | area                          = Location articles
| mission                               = Mission articles
+
| lore                                     = Lore articles
| npc | npcs                             = NPC articles
+
| mission                                   = Mission articles
| pve                                   = PvE articles
+
| npc | npcs                               = NPC articles
| pvp                                   = PvP articles
+
| pve                                       = PvE articles
| event                                 = Event articles
+
| pvp                                       = PvP articles
| region                                 = Region articles
+
| event                                     = Event articles
| skill                                 = Skill articles
+
| region                                   = Region articles
| arenanet employee | anet               = ArenaNet employee
+
| skill                                     = Skill articles
| terminology | term                     = Terminology
+
| arenanet employee | anet                 = ArenaNet employee
| title                                 = Title
+
| terminology | term                       = Terminology
| unique-weapon | unique weapon | unique = Unique weapon
+
| title                                     = Title
| weapon                                 = Weapon articles
+
| unique-weapon | unique weapon | unique   = Unique weapon
| crafting                               = Crafting articles
+
| weapon                                   = Weapon articles
| personal story                         = Personal Story articles
+
| crafting                                 = Crafting articles
| living world                          = Living World articles
+
| story | personal story | living world    = Story articles
 +
| dungeon                                  = Dungeon articles
 +
| wvw                                      = World versus World articles
 
| #default = Articles}} with stub sections]]</includeonly><noinclude>
 
| #default = Articles}} with stub sections]]</includeonly><noinclude>
 
----
 
----
 
== Description ==
 
== Description ==
 
 
A section stub is a section of an article that has ''missing'' or ''incomplete'' information — this has nothing to do with length: short sections are not necessarily stubs and long ones are not necessarily complete.
 
A section stub is a section of an article that has ''missing'' or ''incomplete'' information — this has nothing to do with length: short sections are not necessarily stubs and long ones are not necessarily complete.
  
Строка 36: Строка 37:
 
* Don't use a stub on a new article or if it's generally obvious that the article is incomplete.
 
* Don't use a stub on a new article or if it's generally obvious that the article is incomplete.
 
* Do use the stub when an article ''appears'' substantially complete, but isn't.
 
* Do use the stub when an article ''appears'' substantially complete, but isn't.
** Always include a reason for stubbing, using the <code>reason = </code> parameter.
+
* Always include a reason for stubbing.
** Generally remove the tag if it does not include the reason and you cannot add them yourself.
+
** If you cannot think of a reason, reconsider if the stub tag is needed.
  
 
''This template will categorize articles that include it into [[:Category:Articles with stub sections]] or an appropriate subcategory.''
 
''This template will categorize articles that include it into [[:Category:Articles with stub sections]] or an appropriate subcategory.''
  
 
== Usage ==
 
== Usage ==
 
 
=== Parameters ===
 
=== Parameters ===
 +
;unnamed parameter 1
 +
* Optional, but recommended. The type of article. This will determine the stub category into which the article is placed.
 +
* Accepted values:
 +
**achievement
 +
**armor
 +
**bounty
 +
**build
 +
**bundle
 +
**cinematic
 +
**dialogue
 +
**effect
 +
**guild
 +
**interactive-object / interactive / object
 +
**item
 +
**location / area
 +
**lore
 +
**mission
 +
**npc / npcs
 +
**pve
 +
**pvp
 +
**event
 +
**region
 +
**skill
 +
**arenanet employee / anet
 +
**terminology / term
 +
**title
 +
**unique-weapon / unique weapon / unique
 +
**weapon
 +
**crafting
 +
**story / personal story / living world
 +
**dungeon
 +
**wvw
  
; unnamed: type of article
+
;Reason
* This can be anything from armor to weapon; it will determine into which category of stubs that article is placed.
+
* Optional but recommended. The reason for stubbing.
 
+
* This parameter will not display unless it is labelled as "reason" OR the type is also included. See below for examples.
; Reason
 
* This makes it more likely for people to be able to fill in the missing information. It has no effect on the article or categories.
 
* If you cannot add a reason for stubbing, reconsider whether the tag is appropriate.
 
  
 
=== Examples ===
 
=== Examples ===
 
+
* <code>{{tl|section-stub|<type>|<reason>}}</code>
* {{tl|section-stub|reason=[reason]}}
+
* <code>{{tl|section-stub|reason&#61;<reason>}}</code>
* {{tl|section-stub|[type]|reason=[reason]}}
+
* <code>{{tl|section-stub| {{!}}<reason>}}</code> (Note that the "type" parameter has been included, but is empty.)
  
 
== See also ==
 
== See also ==
 
 
* {{tl|stub}}
 
* {{tl|stub}}
  
 
[[Category:Stub templates|Section-stub]]</noinclude>
 
[[Category:Stub templates|Section-stub]]</noinclude>

Текущая версия на 00:17, 1 апреля 2021


Description[править]

A section stub is a section of an article that has missing or incomplete information — this has nothing to do with length: short sections are not necessarily stubs and long ones are not necessarily complete.

As a rule of thumb, use this template sparingly:

  • Don't use a stub on a new article or if it's generally obvious that the article is incomplete.
  • Do use the stub when an article appears substantially complete, but isn't.
  • Always include a reason for stubbing.
    • If you cannot think of a reason, reconsider if the stub tag is needed.

This template will categorize articles that include it into Category:Articles with stub sections or an appropriate subcategory.

Usage[править]

Parameters[править]

unnamed parameter 1
  • Optional, but recommended. The type of article. This will determine the stub category into which the article is placed.
  • Accepted values:
    • achievement
    • armor
    • bounty
    • build
    • bundle
    • cinematic
    • dialogue
    • effect
    • guild
    • interactive-object / interactive / object
    • item
    • location / area
    • lore
    • mission
    • npc / npcs
    • pve
    • pvp
    • event
    • region
    • skill
    • arenanet employee / anet
    • terminology / term
    • title
    • unique-weapon / unique weapon / unique
    • weapon
    • crafting
    • story / personal story / living world
    • dungeon
    • wvw
Reason
  • Optional but recommended. The reason for stubbing.
  • This parameter will not display unless it is labelled as "reason" OR the type is also included. See below for examples.

Examples[править]

See also[править]