Template:PlantInfobox/doc

From PinataIsland.info, the Viva Piñata wiki
Revision as of 08:31, 22 August 2008 by FeralKitty (talk | contribs) (Template documented)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This is a documentation subpage for Template:PlantInfobox.

Usage

This template displays an Infobox for a (Classic, Trouble in Paradise, or Pocket Paradise) plant, such as a flower, bush, tree, or weed.

The Infobox uses the following parameters:

image 
Image filename for the plant
title 
Name of the plant (and the caption for the image)
level 
Level of the plant
plant_value 
Base value of the plant
seed_price 
The buy/sell price of the plant's seed
fertilizer 
Color of fertilizer to use on this plant, if any (optional)
produce_singular 
Singular spelling of this plant's produce, if any (optional)
produce_plural 
Plural spelling of this plant's produce, if any (optional)
produce_price 
The buy/sell price of this plant's produce, if any (optional)


Notes

  1. This template takes the place of FlowerInfobox, WaterFlowerInfobox, BushInfobox, TreeInfobox, and WeedInfobox, however, it does not transclude any categories, as each of those did.
  2. The old templates' value has been clarified to plant_value as the old field was prone to contributors accidentally entering seed or produce values, instead of plant values.


Examples

{{PlantInfobox
| title = Daisy
| image = Daisy.png
| plant_value= 10 coins
| level = 1
| fertilizer = Yellow
| seed_price = 2 coins
}}
Daisy
Daisy
Level:1
Base value:10 coins
Fertilizer:Yellow
Seed price:2 coins
{{PlantInfobox
| title = Gooseberry bush
| image = Gooseberry_bush.jpg
| produce_plural = Gooseberries
| produce_singular = Gooseberry
| level = 5
| fertilizer = Green
| seed_price = 83 coins
| produce_price = 30 coins
| plant_value = 330 coins
}}
Gooseberry bush
Gooseberry bush
Produces:Gooseberries
Level:5
Base value:330 coins
Fertilizer:Green
Seed price:83 coins
Gooseberry price:30 coins


Blank article template

Copy this code and paste it into a new blank page:

__NOTOC__
__NOEDITSECTION__
Now is the time for all good men...