Difference between revisions of "Template:PlantInfobox/doc"
FeralKitty (talk | contribs) |
FeralKitty (talk | contribs) (Fertilizer defaults to N/A if parameter is omitted.) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
; ''image'' : Image filename for the plant | ; ''image'' : Image filename for the plant | ||
− | ; ''title'' : Name of the plant (and the caption for the image) | + | ; ''title'' : Name of the plant (and the heading/caption for the image) |
; ''level'' : Level of the plant | ; ''level'' : Level of the plant | ||
Line 18: | Line 18: | ||
; ''seed_price'' : The buy/sell price of the plant's seed | ; ''seed_price'' : The buy/sell price of the plant's seed | ||
− | ; ''fertilizer'' : Color of fertilizer to use on this plant, if any (optional) | + | ; ''fertilizer'' : Color of fertilizer to use on this plant, if any (optional). Should be supplied for flowers, vegetables, bushes, and trees. Defaults to N/A if omitted. |
− | ; ''produce_singular'' : Singular spelling of this plant's produce, if any (optional) | + | ; ''produce_singular'' : Singular spelling of this plant's produce, if any (optional). Should be supplied for vegetables, bushes, and trees. |
− | ; ''produce_plural'' : Plural spelling of this plant's produce, if any (optional) | + | ; ''produce_plural'' : Plural spelling of this plant's produce, if any (optional). Should be supplied for bushes and trees. |
− | ; ''produce_price'' : The buy/sell price of this plant's produce, if any (optional) | + | ; ''produce_price'' : The buy/sell price of this plant's produce, if any (optional). Should be supplied for vegetables, bushes, and trees. |
Line 33: | Line 33: | ||
− | == Examples == | + | == Examples of different uses == |
+ | |||
+ | === A weed === | ||
+ | |||
+ | Selling weeds costs money -- [[General Store|Costalot]] charges you to take them off your hands, instead of paying you to buy them from you. | ||
+ | |||
+ | A weed Infobox shows the level, a (negative) plant value, and the cost/value of a seed: | ||
+ | |||
+ | <pre><nowiki> | ||
+ | {{PlantInfobox | ||
+ | | title = Poison Ivy | ||
+ | | image = Poison_Ivy.jpg | ||
+ | | level = 8 | ||
+ | | plant_value = -100 coins | ||
+ | | seed_price = 22 coins | ||
+ | }} | ||
+ | </nowiki></pre> | ||
+ | |||
+ | {{PlantInfobox | ||
+ | | title = Poison Ivy | ||
+ | | image = Poison_Ivy.jpg | ||
+ | | level = 8 | ||
+ | | plant_value = -100 coins | ||
+ | | seed_price = 22 coins | ||
+ | }} | ||
+ | |||
+ | |||
+ | {{clear}} | ||
+ | === A flower === | ||
+ | |||
+ | A flower Infobox shows the fertilizer color, in addition to flower level, plant value, and cost/value of a seed. | ||
<pre><nowiki> | <pre><nowiki> | ||
Line 54: | Line 84: | ||
| seed_price = 2 coins | | seed_price = 2 coins | ||
}} | }} | ||
+ | |||
{{clear}} | {{clear}} | ||
+ | === A vegetable === | ||
+ | |||
+ | A vegetable Infobox shows the cost/value of the produce, in addition to fertilizer color, level, plant value, and cost/value of a seed: | ||
+ | |||
+ | <pre><nowiki> | ||
+ | {{PlantInfobox | ||
+ | | title = Chili | ||
+ | | image = Chili.jpg | ||
+ | | produce_singular = Chili | ||
+ | | level = 4 | ||
+ | | plant_value = 100 coins | ||
+ | | fertilizer = Red | ||
+ | | seed_price = 22 coins | ||
+ | | produce_price = 100 coins | ||
+ | }} | ||
+ | </nowiki></pre> | ||
+ | |||
+ | {{PlantInfobox | ||
+ | | title = Chili | ||
+ | | image = Chili.jpg | ||
+ | | produce_singular = Chili | ||
+ | | level = 4 | ||
+ | | plant_value = 100 coins | ||
+ | | fertilizer = Red | ||
+ | | seed_price = 22 coins | ||
+ | | produce_price = 100 coins | ||
+ | }} | ||
+ | |||
+ | {{clear}} | ||
+ | === A bush or tree === | ||
+ | |||
+ | A bush or tree Infobox shows all possible information. A plural produce name is supplied to display what the bush or tree repeatedly produces: | ||
+ | |||
<pre><nowiki> | <pre><nowiki> | ||
{{PlantInfobox | {{PlantInfobox | ||
Line 107: | Line 171: | ||
== Surface terrain requirements == | == Surface terrain requirements == | ||
− | + | Plant needs to be planted in ???. | |
− | |||
− | |||
Line 151: | Line 213: | ||
}} | }} | ||
− | You can purchase ??? seeds or ??? from [[General Store|Costolot's General Store]], use your [[ | + | You can purchase ??? seeds or ??? from [[General Store|Costolot's General Store]], use your [[seed pouch]], or try talking with [[Characters#Seedos|Seedos]] to get a ??? seed. |
In-game description from Encyclopedia goes here. | In-game description from Encyclopedia goes here. | ||
Line 157: | Line 219: | ||
== Surface terrain requirements == | == Surface terrain requirements == | ||
− | + | Plant needs to be planted in ???. | |
− | |||
− | |||
Line 201: | Line 261: | ||
}} | }} | ||
− | You can purchase ??? seeds or ??? from [[General Store|Costolot's General Store]], use your [[ | + | You can purchase ??? seeds or ??? from [[General Store|Costolot's General Store]], use your [[seed pouch]], or try talking with [[Characters#Seedos|Seedos]] to get a ??? seed. |
In-game description from Encyclopedia goes here. | In-game description from Encyclopedia goes here. | ||
Line 207: | Line 267: | ||
== Surface terrain requirements == | == Surface terrain requirements == | ||
− | + | Plant needs to be planted in ???. | |
− | |||
− | |||
Line 257: | Line 315: | ||
== Surface terrain requirements == | == Surface terrain requirements == | ||
− | + | Plant needs to be planted in ???. | |
− | |||
− | |||
Latest revision as of 09:50, 14 July 2009
Contents
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 heading/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). Should be supplied for flowers, vegetables, bushes, and trees. Defaults to N/A if omitted.
- produce_singular
- Singular spelling of this plant's produce, if any (optional). Should be supplied for vegetables, bushes, and trees.
- produce_plural
- Plural spelling of this plant's produce, if any (optional). Should be supplied for bushes and trees.
- produce_price
- The buy/sell price of this plant's produce, if any (optional). Should be supplied for vegetables, bushes, and trees.
Notes
- This template takes the place of FlowerInfobox, WaterFlowerInfobox, BushInfobox, TreeInfobox, and WeedInfobox, however, it does not transclude any categories, as each of those did.
- 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 of different uses
A weed
Selling weeds costs money -- Costalot charges you to take them off your hands, instead of paying you to buy them from you.
A weed Infobox shows the level, a (negative) plant value, and the cost/value of a seed:
{{PlantInfobox | title = Poison Ivy | image = Poison_Ivy.jpg | level = 8 | plant_value = -100 coins | seed_price = 22 coins }}
Poison Ivy | |
---|---|
Level: | 8 |
Base value: | -100 coins |
Fertilizer: | N/A |
Seed price: | 22 coins |
A flower
A flower Infobox shows the fertilizer color, in addition to flower level, plant value, and cost/value of a seed.
{{PlantInfobox | title = Daisy | image = Daisy.png | plant_value= 10 coins | level = 1 | fertilizer = Yellow | seed_price = 2 coins }}
Daisy | |
---|---|
Level: | 1 |
Base value: | 10 coins |
Fertilizer: | Yellow |
Seed price: | 2 coins |
A vegetable
A vegetable Infobox shows the cost/value of the produce, in addition to fertilizer color, level, plant value, and cost/value of a seed:
{{PlantInfobox | title = Chili | image = Chili.jpg | produce_singular = Chili | level = 4 | plant_value = 100 coins | fertilizer = Red | seed_price = 22 coins | produce_price = 100 coins }}
Chili | |
---|---|
Level: | 4 |
Base value: | 100 coins |
Fertilizer: | Red |
Seed price: | 22 coins |
Chili price: | 100 coins |
A bush or tree
A bush or tree Infobox shows all possible information. A plural produce name is supplied to display what the bush or tree repeatedly produces:
{{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 | |
---|---|
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__ =Classic= <div class="pii_plant_content_container"><div class="pii_plant_classic_content"> {{PlantInfobox | title = ??? | image = Unknown.png | produce_plural = ??? | produce_singular = ??? | level = ??? | plant_value = ??? coins | seed_price = ??? coins | fertilizer = ??? | produce_price = ??? coins }} You can purchase ??? seeds or ??? from [[General Store|Costolot's General Store]], or try talking with [[Characters#Seedos|Seedos]] to get a ??? seed. In-game description from Encyclopedia goes here. == Surface terrain requirements == Plant needs to be planted in ???. == How best to grow it == <!-- Include any unique fertilizer method that this flower might have --> Use 3 applications of ??? [[fertilizer]] immediately after planting it, for maximum effect. == Uses == <div class="pii_species_requirements"> === ??? seed uses === * ??? === ??? uses === * ??? === ??? uses === <!-- Transformed item uses --> * ??? === ??? uses === * ??? </div> {{Clear}}</div></div> {{Plants-Classic}} =TiP - Standard= <div class="pii_plant_content_container"><div class="pii_plant_tipStd_content"> {{PlantInfobox | title = ??? | image = Unknown.png | produce_plural = ??? | produce_singular = ??? | level = ??? | plant_value = ??? coins | seed_price = ??? coins | fertilizer = ??? | produce_price = ??? coins }} You can purchase ??? seeds or ??? from [[General Store|Costolot's General Store]], use your [[seed pouch]], or try talking with [[Characters#Seedos|Seedos]] to get a ??? seed. In-game description from Encyclopedia goes here. == Surface terrain requirements == Plant needs to be planted in ???. == How best to grow it == <!-- Include any unique fertilizer method that this flower might have --> Use 3 applications of ??? [[fertilizer]] immediately after planting it, for maximum effect. == Uses == <div class="pii_species_requirements"> === ??? seed uses === * ??? === ??? uses === * ??? === ??? uses === <!-- Transformed item uses --> * ??? === ??? uses === * ??? </div> {{Clear}}</div></div> {{Plants-TroubleInParadise}} =TiP - Just for Fun= <div class="pii_plant_content_container"><div class="pii_plant_tipJff_content"> {{PlantInfobox | title = ??? | image = Unknown.png | produce_plural = ??? | produce_singular = ??? | level = ??? | plant_value = ??? coins | seed_price = ??? coins | fertilizer = ??? | produce_price = ??? coins }} You can purchase ??? seeds or ??? from [[General Store|Costolot's General Store]], use your [[seed pouch]], or try talking with [[Characters#Seedos|Seedos]] to get a ??? seed. In-game description from Encyclopedia goes here. == Surface terrain requirements == Plant needs to be planted in ???. == How best to grow it == <!-- Include any unique fertilizer method that this flower might have --> Use 3 applications of ??? [[fertilizer]] immediately after planting it, for maximum effect. == Uses == <div class="pii_species_requirements"> === ??? seed uses === * ??? === ??? uses === * ??? === ??? uses === <!-- Transformed item uses --> * ??? === ??? uses === * ??? </div> {{Clear}}</div></div> {{Plants-TroubleInParadise}} = Pocket Paradise = <div class="pii_plant_content_container"><div class="pii_plant_pp_content"> {{PlantInfobox | title = ??? | image = Unknown.png | produce_plural = ??? | produce_singular = ??? | level = ??? | plant_value = ??? coins | seed_price = ??? coins | fertilizer = ??? | produce_price = ??? coins }} You can purchase ??? seeds or ??? from [[General Store|Costolot's General Store]], or try talking with [[Characters#Seedos|Seedos]] to get a ??? seed. In-game description from Encyclopedia goes here. == Surface terrain requirements == Plant needs to be planted in ???. == How best to grow it == <!-- Include any unique fertilizer method that this flower might have --> Use 3 applications of ??? [[fertilizer]] immediately after planting it, for maximum effect. == Uses == <div class="pii_species_requirements"> === ??? seed uses === * ??? === ??? uses === * ??? === ??? uses === <!-- Transformed item uses --> * ??? === ??? uses === * ??? </div> {{Clear}}</div></div> {{Plants-PocketParadise}} <headertabs/>