Difference between revisions of "Template:Stub"

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search
(updated stub template to match D3 wiki)
Line 1: Line 1:
 +
<noinclude>Including this template into a page will display the following information box at the location it is included.
  
{|
+
To insert a stub, stick the following code on top of the page you wish to stub:
! This page is a stub
+
 
|-
+
 
| If you know more than can be found here,
+
<nowiki>{{stub}}</nowiki>
please share your information.
+
 
|}
+
 
 +
Or even better, use the following to include a reason why the article is a stub:
 +
 
 +
 
 +
<nowiki>{{stub|reason why stubbed}}</nowiki>
 +
 
 +
This displays in the format of:<br>
 +
:::This article is flagged as a stub because ''(reason why stubbed)''
 +
 
 +
 
 +
Make sure the reason you provide fits grammatically into that sentence.
 +
 
 +
 
 +
 
 +
</noinclude>
 +
<div align="center" style="border: 2px double #A60; background: #000000; padding: 0px 0px; margin-top: 0pt; margin-bottom: 0pt;">
 +
<table style="border: 0px; background: transparent;">
 +
<tr><td style="border: 0px;">[[Image:stub_sm.jpg]]</td><td style="border: 0px"><div style="padding: 0px 0px 0px 0px;">This article is a [[Help:Stub|stub]] because ''{{{1|it lacks depth or is unfinished}}}''. Help by <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it]</span>.
 +
</div></td></tr>
 +
</table>
 +
</div>
 +
<includeonly>[[Category:Stubs]]</includeonly>
 +
<noinclude>''In addition, this template will categorize articles that include it into [[:Category:Stubs]].''
 +
[[Category:Templates]]
 +
</noinclude>

Revision as of 07:47, 11 October 2008

Including this template into a page will display the following information box at the location it is included.

To insert a stub, stick the following code on top of the page you wish to stub:


{{stub}}


Or even better, use the following to include a reason why the article is a stub:


{{stub|reason why stubbed}}

This displays in the format of:

This article is flagged as a stub because (reason why stubbed)


Make sure the reason you provide fits grammatically into that sentence.



Stub sm.jpg
This article is a stub because it lacks depth or is unfinished. Help by expanding it.

In addition, this template will categorize articles that include it into Category:Stubs.