Template:Stub/doc: Difference between revisions

mNo edit summary
Raven.Familiar (talk | contribs)
No edit summary
Line 1: Line 1:
{{Documentation/Header}}
This template will categorize articles that include it into [[:Category:Article Stubs]], and mark them with a noticeable message. This note is typically added to [[Special:ShortPages|short pages]] to draw attention to them for expansion, and to invite readers and editors to add more.


;Description
==Syntax==
:This template is used to identify a stub. Any pages using this template will be automatically placed in the [[:Category:Stubs|Stubs]] category.
{{T|Stub|v1=reason}}
* '''1''' - Reason the stub is being added, explanation of what information is wanted on the page. Defaults to {{F|No reason provided.}}


<includeonly>[[Category:Notice Templates]]</includeonly><noinclude>[[Category:Template Documentation]]</noinclude>
==Example==
{{T|Stub|Example note here.|_Y_=1}}
 
==Template Data==
<templatedata>
{
"params": {
"1": {
"description": "A brief explanation of what is missing from the page.",
"type": "content",
"label": "Reason",
"suggested": true,
"default": "No reason provided."
}
},
"format": "inline",
"description": "This template will categorize articles that include it into Article Stubs, and mark them with a noticeable message. This note is typically added to short pages to draw attention to them for expansion, and to invite readers and editors to add more."
}
</templatedata>