Template:Stub/doc: Difference between revisions
Created page with "<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -..." |
No edit summary |
||
| Line 1: | Line 1: | ||
{{documentation}} | |||
The '''Stub''' template is used to mark short articles for further expansion. This template adds the article to the [[:Category:Stubs]]. This template '''should not''' be placed on short articles that can't be expanded any further. | |||
''''' | |||
== Usage == | ==Usage== | ||
{{t|stub}} | |||
==Placement== | |||
The tag should preferably be placed at the '''bottom''' of the article. This will be done automatically, as {{t|Clear}} is integrated into the template. however, in situations where this is undesirable, the "clear" parameter can be set to false. | |||
{{ | |||
= | {{t|stub|clear{{=}}false}} | ||
<includeonly>[[Category:Maintenance templates|{{PAGENAME}}]]</includeonly> | |||
{{TemplateData|<templatedata> | |||
{ | |||
"params": { | |||
"clear": { | |||
"label": "Clear", | |||
"description": "Prevents tag being placed at the bottom of an article", | |||
"example": "false", | |||
"type": "string" | |||
} | |||
}, | |||
"description": "The Stub template is used to mark short articles for further expansion. This template adds the article to the Category:Stubs. This template should not be placed on short articles that can't be expanded any further.", | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
}} | |||
Latest revision as of 21:50, 30 May 2020
The Stub template is used to mark short articles for further expansion. This template adds the article to the Category:Stubs. This template should not be placed on short articles that can't be expanded any further.
Usage
{{stub}}
Placement
The tag should preferably be placed at the bottom of the article. This will be done automatically, as {{Clear}} is integrated into the template. however, in situations where this is undesirable, the "clear" parameter can be set to false.
{{stub|clear=false}}
Data
| Show/hide template's data | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date. The Stub template is used to mark short articles for further expansion. This template adds the article to the Category:Stubs. This template should not be placed on short articles that can't be expanded any further.
|
||||||||||
