Bureaucrats, content-moderator, emailconfirmed, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Administrators, threadmoderator
85,404
edits
(Created page with "==Done== Template:Astronomical object stub Template:Audio stub C Template:Character stub Template:Comic stub M Template:Magazine stub *keep looking for better image P Template:P...") |
No edit summary |
||
Line 69: | Line 69: | ||
*Zoological | *Zoological | ||
*Botanical | *Botanical | ||
==The code== | |||
The following generic code is all that's required to create a new stub template. (Well, that and the png file that the template calls for, which must be in the format [name of template - "stub"]Stub.png. So, if the template is '''Template:Moon stub''', the picture must be MoonStub.png. | |||
<pre> | |||
<div id="stub-type">[[file:{{#sub:{{PAGENAME}}| |-5|}}Stub.png|25px|link=Tardis:stub]]</div><includeonly>[[Category:{{#sub:{{PAGENAME}}| |-5|}} stub]]</includeonly><noinclude>[[Category:Stub templates|{{#sub:{{PAGENAME}}| |-5|}} stub]]</noinclude> | |||
</pre> |
edits