Difference between revisions of "Template:Stub"

From questden
(Make character selectable from a single template.)
m (Work around Tav_Stub being a .jpg)
Line 3: Line 3:
 
;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]] [[John_(Joandventure)|John]]'s puny ears.
 +
<!--
 +
    TODO Really should redo that Tav stub as a PNG so that the special-case can be removed.
 +
-->
 
</noinclude>
 
</noinclude>
 
{| style="border:1px solid black; margin-left: auto; margin-right: auto;"
 
{| style="border:1px solid black; margin-left: auto; margin-right: auto;"
 
|-
 
|-
|[[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}}|40px]] '''This article is a stub.'''  You can help improve Wikiquest by [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} expanding it]
 
|}
 
|}
  
 
<includeonly>[[Category:Stubs]]</includeonly>
 
<includeonly>[[Category:Stubs]]</includeonly>

Revision as of 11:28, 15 November 2010

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