Template:Infobox Plant

From Plants vs. Zombies Wiki
Jump to navigation Jump to search
Error creating thumbnail: File missing
Documentation The documentation below is transcluded from Template:Infobox_Plant/doc.
Description
This template is used to create a plant infobox.
Syntax
Type {{Infobox Plant|<...>}} somewhere. This infobox supports unlimited rows title/info parameters and new feature: flavor text.
Parameter Description
Game Name of the game it appears. If leaving it blank, it will be Plants vs. Zombies 2 logo.
box title optional, uses pagename template as default
translate if the plant is from the Chinese version, its Chinese name should be put in box title, and this should include the translation
image uses a thumbnail version of the image
caption functionally useful overview of the plant
title 1~10 these parameters will show the titles of the additional custom information
info 1~10 these parameters will show the info of the additional custom information
mushroom leave blank for non-mushrooms, type anything for mushrooms (yes, 1, asdf, etc.)
aquatic leave blank for non-aquatic plants, type anything for aquatic plants
Others any other parameter that works for Template:Infobox Plant/Standard works for this as well
flavor text the sometimes nonsensical descriptions provided by PopCap
Sample output
{{Infobox Plant
|Game = Plants vs. Zombies
|box title = Ice-shroom
|image = Ice-shroom1.png
|caption = Ice-shrooms temporarily immobilize all zombies on the screen.
|title1 = [[Sun]] cost
|info1 = 75
|title2 = Recharge
|info2 = Very slow
|title3 = Damage
|info3 = Very light, immobilizes zombies
|title4 = Unlocked
|info4 = After beating [[Level 2-7]]
|title5 = Planted on
|info5 = Ground, [[Lily Pad]] or [[Flower Pot]]
|mushroom = yes
|flavor text = Ice-shroom frowns, not because he's unhappy or because he disapproves, but because of a childhood injury that left his facial nerves paralyzed.
}}

Results in...