Difference between revisions of "Template:Species-Classic"
FeralKitty (talk | contribs) (Moving category tag from Infobox to Navbox) |
FeralKitty (talk | contribs) (Updated template to include optional nocat parameter; adjust heading and heading case to be consistent.) |
||
Line 4: | Line 4: | ||
− | This template displays a Navbox containing the list of species in [[Viva Piñata: Classic]]. | + | This template displays a Navbox containing the list of species in [[Viva Piñata: Classic]]. By default, including this template in an article will add the article to [[:Category:Classic species]]. Calling this template with an optional unnamed parameter '''nocat''' will suppress the category tag. |
+ | ; nocat : Suppress category tag (optional, boolean) | ||
− | |||
+ | == Example == | ||
− | |||
+ | : <nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|nocat}}</nowiki> gives {{{{PAGENAME}}|nocat}} | ||
</noinclude><includeonly><br> | </noinclude><includeonly><br> | ||
<center> | <center> | ||
{| class="toccolours" | {| class="toccolours" | ||
− | ! style="background:#ccccff" align="center" width="100%" | '''[[ | + | ! style="background:#ccccff" align="center" width="100%" | '''[[:Category:Classic_species|Classic piñata species]]''' |
|- | |- | ||
| align="center" | | | align="center" | | ||
Line 22: | Line 23: | ||
|} | |} | ||
</center> | </center> | ||
− | <!-- | + | {{#ifeq:{{{1| }}}|nocat|<!--true, do not categorize-->|[[Category:Classic species]]}}<!-- |
− | --> | + | --></includeonly> |
Revision as of 01:04, 21 May 2008
Usage
This template displays a Navbox containing the list of species in Viva Piñata: Classic. By default, including this template in an article will add the article to Category:Classic species. Calling this template with an optional unnamed parameter nocat will suppress the category tag.
- nocat
- Suppress category tag (optional, boolean)
Example
- {{Species-Classic|nocat}} gives
Classic piñata species |
---|
Arocknid · Badgesicle · Barkbark · Bonboon · Bunnycomb · Buzzenge · Buzzlegum · Candary · Chewnicorn · Chippopotamus · Cinnamonkey · Cluckles · Cocoadile · Crowla · Doenut · Dragonache · Dragumfly · Eaglair · Elephanilla · Fizzlybear · Fourheads · Fudgehog · Galagoogoo · Goobaa · Horstachio · Jameleon · Juicygoose · Kittyfloss · Lackatoad · Lickatoad · Macaraccoon · Mallowolf · Moozipan · Mothdrop · Mousemallow · Newtgat · Parrybo · Pigxie · Ponocky · Pretztail · Profitamole · Pudgeon · Quackberry · Raisant · Rashberry · Reddhott · Roario · Salamango · Shellybean · Sherbat · Sparrowmint · Squazzil · Swanana · Sweetooth · Syrupent · Taffly · Twingersnap · Whirlm · White Flutterscotch · Zumbug |