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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
м (Откат правок Snowbirdie (обсуждение) к версии Blood)
 
Строка 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="notice metadata" id="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
 
| armor                                  = Armor articles
 
| bounty                                = Bounty articles
 
| bounty                                = Bounty articles
Строка 8: Строка 8:
 
| effect                                = Effect articles
 
| effect                                = Effect articles
 
| guild                                  = Guild articles
 
| guild                                  = Guild articles
| interactive-object | interactive      = Interactive object articles
+
| interactive-object | interactive | object       = Interactive object articles
 
| item                                  = Item articles
 
| item                                  = Item articles
 
| location                              = Location articles
 
| location                              = Location articles
Строка 27: Строка 27:
 
| personal story                        = Personal Story articles
 
| personal story                        = Personal Story articles
 
| living world                          = Living World articles
 
| living world                          = Living World 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.
  
Строка 42: Строка 43:
  
 
== Usage ==
 
== Usage ==
 
 
=== Parameters ===
 
=== Parameters ===
 
 
; unnamed: type of article
 
; unnamed: type of article
 
* This can be anything from armor to weapon; it will determine into which category of stubs that article is placed.
 
* This can be anything from armor to weapon; it will determine into which category of stubs that article is placed.
Строка 53: Строка 52:
  
 
=== Examples ===
 
=== Examples ===
 
 
* {{tl|section-stub|reason=[reason]}}
 
* {{tl|section-stub|reason=[reason]}}
 
* {{tl|section-stub|[type]|reason=[reason]}}
 
* {{tl|section-stub|[type]|reason=[reason]}}
  
 
== See also ==
 
== See also ==
 
 
* {{tl|stub}}
 
* {{tl|stub}}
  
 
[[Category:Stub templates|Section-stub]]</noinclude>
 
[[Category:Stub templates|Section-stub]]</noinclude>

Версия 13:42, 26 ноября 2016


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, using the reason = parameter.
    • Generally remove the tag if it does not include the reason and you cannot add them yourself.

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

Usage

Parameters

unnamed
type of article
  • This can be anything from armor to weapon; it will determine into which category of stubs that article is placed.
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

See also