Template:Stub
From ErfWiki
(Difference between revisions)
m (Moving all the stubs into sub categories. Cate:Stub is getting filled with annotaion stubs.) |
(→Usage) |
||
| (3 intermediate revisions not shown) | |||
| Line 3: | Line 3: | ||
| style="background: #A98E76; padding: 00px;" align="center" | {{#switch: {{{1}}}|Character=[[File:TBFGK_10-4.jpg|60px]]|Panel=[[File:Parson_livery.png|60px]]|panel=[[File:Parson_livery.png|60px]]|[[File:nobby_erfwiki.png|60px]]}} | | style="background: #A98E76; padding: 00px;" align="center" | {{#switch: {{{1}}}|Character=[[File:TBFGK_10-4.jpg|60px]]|Panel=[[File:Parson_livery.png|60px]]|panel=[[File:Parson_livery.png|60px]]|[[File:nobby_erfwiki.png|60px]]}} | ||
|''{{#switch: {{{1}}}|Character=This [[:Category:Character Related Stub|character-related]] article|Panel=This [[:Category:Frame_Annotation|panel-annotation related]] article|panel=This [[:Category:Frame_Annotation|panel-annotation related]] article|Section=This article section|This article}} is a [[Erfwiki:Stub|stub]]. You can [[Erfwiki:stub|help]] Erfwiki by <span class="plainlinks">[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} expanding it]</span>.'' | |''{{#switch: {{{1}}}|Character=This [[:Category:Character Related Stub|character-related]] article|Panel=This [[:Category:Frame_Annotation|panel-annotation related]] article|panel=This [[:Category:Frame_Annotation|panel-annotation related]] article|Section=This article section|This article}} is a [[Erfwiki:Stub|stub]]. You can [[Erfwiki:stub|help]] Erfwiki by <span class="plainlinks">[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} expanding it]</span>.'' | ||
| - | |} | + | |}{{#switch: {{{1}}}|Character=[[Category:Character Related Stub]]|Panel=[[Category:Frame Annotation Stub]]|panel=[[Category:Frame Annotation Stub]]|Section=[[Category:Section Stub]]|[[Category:Stub]]}}[[Category:Stub]] |
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== | ||
| - | This template will add a notification to an article, and automatically add that article to [[Category:Stub|Category:Stub]]. Usage is very simple, just put <nowiki>{{Stub}}</nowiki> to add the general template to an article. If you want to be more specific about what ''type'' of stub it is, you can add the stub type like so: <nowiki>{{Stub|Character}}</nowiki> will give you {{Stub|Character}} | + | This template will add a notification to an article, and automatically add that article to [[Category:Stub|Category:Stub]]. Usage is very simple, just put <nowiki>{{Stub}}</nowiki> to add the general template to an article. If you want to be more specific about what ''type'' of stub it is, you can add the stub type like so: |
| + | |||
| + | <nowiki>{{Stub|Character}}</nowiki> will give you {{Stub|Character}} | ||
<nowiki>{{Stub|Panel}}</nowiki> will give you {{Stub|Panel}} | <nowiki>{{Stub|Panel}}</nowiki> will give you {{Stub|Panel}} | ||
<nowiki>{{Stub|Section}}</nowiki> will give you {{Stub|Section}} | <nowiki>{{Stub|Section}}</nowiki> will give you {{Stub|Section}} | ||
Latest revision as of 19:36, 2 November 2011
| | This article is a stub. You can help Erfwiki by expanding it. |
[edit] Usage
This template will add a notification to an article, and automatically add that article to. Usage is very simple, just put {{Stub}} to add the general template to an article. If you want to be more specific about what type of stub it is, you can add the stub type like so:
{{Stub|Character}} will give you
| | This character-related article is a stub. You can help Erfwiki by expanding it. |
{{Stub|Panel}} will give you
| | This panel-annotation related article is a stub. You can help Erfwiki by expanding it. |
{{Stub|Section}} will give you
| | This article section is a stub. You can help Erfwiki by expanding it. |
Presently, the template supports the following additional arguments:
- Character
- Panel
- Section
Presently, the template tries (but mostly fails) to support the following buggy arguments:
- (None)
If you don't know what you're doing, more can be added to the latter; if you do know what you're doing, more can be added to the former, or moved from the latter to the former. Feel free to do so.