User:CzechOut/Stubs: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
no edit summary
(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>
85,404

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.