Template:Stub: Difference between revisions
Jump to navigation
Jump to search
m (Where to place the template; Category suppression) |
(+ section parameter, examples) |
||
Line 1: | Line 1: | ||
{| class=toccolours style="text-align: center; width: 100%; font-size: 100%; clear:both; margin-top:1em; margin-bottom:-0.5em;" | {| class=toccolours style="text-align: center; width: 100%; font-size: 100%; clear:both; margin-top:1em; margin-bottom:-0.5em;" | ||
| '''This article is a [[:Category:Stubs|stub]]. You can help the wiki by <span class=plainlinks>[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} expanding it]. | | '''This {{#if: {{{section|}}} | section | article}} is a [[:Category:Stubs|stub]].''' You can help the wiki by <span class=plainlinks>[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} expanding it].</span>. | ||
|} | |} | ||
<includeonly>{{main other|[[Category:Stubs]]}}</includeonly><noinclude> | <includeonly>{{main other|[[Category:Stubs]]}}</includeonly><noinclude> | ||
Line 10: | Line 10: | ||
== Usage == | == Usage == | ||
< | <nowiki>{{</nowiki>'''stub'''<nowiki>|</nowiki>''section=''<nowiki>}}</nowiki> | ||
; section: Optional parameter to use if the template is placed in a section. If not empty the template will read "This section is a stub". | |||
== Examples == | |||
<nowiki>{{stub}}</nowiki> | |||
{{stub}} | {{stub}} | ||
</ | |||
<nowiki>{{stub|section=1}}</nowiki> | |||
{{stub|section=1}} | |||
}} | }} | ||
Revision as of 05:02, 18 May 2014
This article is a stub. You can help the wiki by expanding it.. |
The following template description is not displayed when the template is inserted in an article.
Goal
This template can be added to the top of pages that should be extended.
Adding this template to a page in the article namespace will automatically add the hidden category Category:Stubs to that page.
Usage
{{stub|section=}}
- section
- Optional parameter to use if the template is placed in a section. If not empty the template will read "This section is a stub".
Examples
{{stub}}
This article is a stub. You can help the wiki by expanding it.. |
{{stub|section=1}}
This section is a stub. You can help the wiki by expanding it.. |