Difference between revisions of "Template:Div"
From PinataIsland.info, the Viva Piñata wiki
m (→Usage: add an instruction) |
(tweak instruction to use {{subst:divclear}} to close tabs) |
||
Line 13: | Line 13: | ||
classic {{subst:div|article|classic}} | classic {{subst:div|article|classic}} | ||
trouble in paradise {{subst:div|article|tip}} //default - if no parameters are passed | trouble in paradise {{subst:div|article|tip}} //default - if no parameters are passed | ||
− | + | - Standard {{subst:div|article|tipStd}} | |
− | + | - Just for fun {{subst:div|article|tipJff}} | |
pocket paradise {{subst:div|article|pp}} | pocket paradise {{subst:div|article|pp}} | ||
television show {{subst:div|article|tv}} | television show {{subst:div|article|tv}} | ||
Line 25: | Line 25: | ||
pocket paradise {{subst:div|species|pp}} | pocket paradise {{subst:div|species|pp}} | ||
television show {{subst:div|species|tv}} | television show {{subst:div|species|tv}} | ||
+ | |||
+ | ^^ The above tabs must be closed with {{subst:divclear}} and each article ends with <headertabs/> | ||
+ | ^^ common content not within a page tab may appear below the headertabs closing | ||
Basic article shell | Basic article shell | ||
Line 35: | Line 38: | ||
{{subst:div|article|classic}} | {{subst:div|article|classic}} | ||
... | ... | ||
− | + | {{subst:divclear}} | |
=Trouble in Paradise | =Trouble in Paradise | ||
{{subst:div|article|tipStd}} | {{subst:div|article|tipStd}} | ||
... | ... | ||
− | + | {{subst:divclear}} | |
Line 46: | Line 49: | ||
{{subst:div|article|tipStd}} | {{subst:div|article|tipStd}} | ||
... | ... | ||
− | + | {{subst:divclear}} | |
Line 52: | Line 55: | ||
{{subst:div|article|tipJff}} | {{subst:div|article|tipJff}} | ||
... | ... | ||
− | + | {{subst:divclear}} | |
Line 58: | Line 61: | ||
{{subst:div|article|pp}} | {{subst:div|article|pp}} | ||
... | ... | ||
− | + | {{subst:divclear}} | |
Line 64: | Line 67: | ||
{{subst:div|article|tipStd}} | {{subst:div|article|tipStd}} | ||
... | ... | ||
− | + | {{subst:divclear}} | |
<headertabs/> | <headertabs/> |
Revision as of 17:35, 22 August 2008
Usage
This template is used to create page tabs.
There are two parameters, the first being the type of page (article or species) and the second being the platform (and gametype, if applicable). It will default to a Trouble in Paradise article if no parameters are supplied.
This template should be subst:'ed.
Articles -------- classic {{subst:div|article|classic}} trouble in paradise {{subst:div|article|tip}} //default - if no parameters are passed - Standard {{subst:div|article|tipStd}} - Just for fun {{subst:div|article|tipJff}} pocket paradise {{subst:div|article|pp}} television show {{subst:div|article|tv}} Species ------- classic {{subst:div|species|classic}} tip Standard {{subst:div|species|tipStd}} tip Just for fun {{subst:div|species|tipJff}} pocket paradise {{subst:div|species|pp}} television show {{subst:div|species|tv}} ^^ The above tabs must be closed with {{subst:divclear}} and each article ends with <headertabs/> ^^ common content not within a page tab may appear below the headertabs closing Basic article shell ---start--- //eliminate any sections you don't need __NOTOC__ __NOEDITSECTION__ =Classic= {{subst:div|article|classic}} ... {{subst:divclear}} =Trouble in Paradise {{subst:div|article|tipStd}} ... {{subst:divclear}} =TiP - Standard= {{subst:div|article|tipStd}} ... {{subst:divclear}} =TiP - Just for Fun= {{subst:div|article|tipJff}} ... {{subst:divclear}} =Pocket Paradise= {{subst:div|article|pp}} ... {{subst:divclear}} =TV show= {{subst:div|article|tipStd}} ... {{subst:divclear}} <headertabs/> //never forget <headertabs/> - it closes the tabs ===end=== //any content you put below it and it will show on any tab