Difference between revisions of "Template:Stub"

From questden
(Make character selectable from a single template.)
 
(5 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.
</noinclude>
+
<!--
{| style="border:1px solid black; margin-left: auto; margin-right: auto;"
+
    TODO Really should redo that Tav stub as a PNG so that the special-case can be removed.
|-
+
--></noinclude>{{Notice
|[[Image:{{{1|Tav}}}_Stub.jpg|40px]] '''This article is a stub.'''  You can help improve Wikiquest by [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} expanding it]
+
|image={{{1|Tav}}}_Stub.{{#ifeq:{{{1|Tav}}}|Tav|jpg|png}}
|}
+
|color=#5c5
 
+
|majortext=This article is a stub.
<includeonly>[[Category:Stubs]]</includeonly>
+
|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>

Latest revision as of 15: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.