Difference between revisions of "Template:Stub"

From Discovery Wiki
Jump to navigationJump to search
(Created.)
 
 
(13 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<div style="border: 2px solid #dddddd; width: 56%; margin: 10px auto 0px auto; padding: 0px;">
+
<noinclude><!--</noinclude><div style="border: 2px solid #dddddd; width: 58%; margin: 10px auto 0px auto; padding: 0px;">
<div class="notice metadata plainlinks" id="stub">''This article requires attention. You can help the Discovery Wiki by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it]. ''</div><includeonly>[[Category:Stubs]]</includeonly>
+
<div class="notice metadata plainlinks" id="stub">''This article requires attention. You can help the Discovery Wiki by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].{{#if: {{{1|}}} |<br> {{{1}}} '' |}}</div><includeonly>{{#ifeq:{{NAMESPACE}}|Template||[[Category:Stubs]]}}</includeonly>
 
</div>
 
</div>
 +
<noinclude>-->
 +
==Usage==
 +
<pre>
 +
{{Stub}}
 +
{{Stub | <Actions required> }}
 +
{{Stub | 1 = <Actions required> }}
 +
</pre>
 +
:Use the third form instead of the second form if the text of <Actions Required> contains an '=' anywhere in it (i.e. there is a link to a forum topic)
 +
==Result==
 +
{{Stub}}
 +
{{Stub|It needs a full-stop at teh end of this sentence, and "teh" corrected}}
 +
[[Category:Templates]]
 +
</noinclude>

Latest revision as of 19:51, 29 January 2012

Usage

{{Stub}}
{{Stub | <Actions required> }}
{{Stub | 1 = <Actions required> }}
Use the third form instead of the second form if the text of <Actions Required> contains an '=' anywhere in it (i.e. there is a link to a forum topic)

Result