Difference between revisions of "Template:Stub"

From questden
m (Work around Tav_Stub being a .jpg)
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
Marks a page as incomplete and puts it in [[:Category:Stubs]]. You can specify a character as a single argument, e.g. <code><nowiki>{{</nowiki>Stub|John<nowiki>}}</nowiki></code>, from the supported list:
 
Marks a page as incomplete and puts it in [[:Category:Stubs]]. You can specify a character as a single argument, e.g. <code><nowiki>{{</nowiki>Stub|John<nowiki>}}</nowiki></code>, from the supported list:
 
;Tav:[[Image:Tav_Stub.jpg|40px]] [[Journey Quest|Tav]]. ''(Default)''
 
;Tav:[[Image:Tav_Stub.jpg|40px]] [[Journey Quest|Tav]]. ''(Default)''
;John:[[Image:John_Stub.png|40px]] [[John_(Joandventure)|John]]'s puny ears.
+
;John:[[Image:John_Stub.png|40px]] [[Joandventure/John|John]]'s puny ears.
 
<!--
 
<!--
 
     TODO Really should redo that Tav stub as a PNG so that the special-case can be removed.
 
     TODO Really should redo that Tav stub as a PNG so that the special-case can be removed.
-->
+
--></noinclude>{{Notice
</noinclude>
+
|image={{{1|Tav}}}_Stub.{{#ifeq:{{{1|Tav}}}|Tav|jpg|png}}
{| style="border:1px solid black; margin-left: auto; margin-right: auto;"
+
|color=#5c5
|-
+
|majortext=This article is a stub.
|[[Image:{{{1|Tav}}}_Stub.{{#ifeq:{{{1|Tav}}}|Tav|jpg|png}}|40px]] '''This article is a stub.'''  You can help improve Wikiquest by [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} expanding it]
+
|minortext=You can help improve Wikiquest by [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} expanding it].
|}
+
}}<includeonly>[[Category:Stubs]]</includeonly><noinclude>[[Category:Templates]] [[Category:Banners]]</noinclude>
 
 
<includeonly>[[Category:Stubs]]</includeonly>
 

Latest revision as of 14:23, 1 April 2018

Marks a page as incomplete and puts it in Category:Stubs. You can specify a character as a single argument, e.g. {{Stub|John}}, from the supported list:

Tav
Tav Stub.jpg Tav. (Default)
John
John Stub.png John's puny ears.
Tav Stub.jpg This article is a stub. You can help improve Wikiquest by expanding it.