Template:Infobox fruit tree/doc: Difference between revisions
Appearance
imported>Oath2order Created page with "==Description== This template is used to provide a template that displays an infobox for fruit tree pages. ==Usage== This template can be used by entering the following onto..." |
imported>Margotbean m Text replacement - "==Usage==" to "==Use==" |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
==Description== | ==Description== | ||
This template | This template displays an infobox for fruit tree pages. | ||
== | ==Use== | ||
This template can be used by entering the following onto a relevant page. | This template can be used by entering the following onto a relevant page. '''Do not use this on your user page. It is reserved for content pages.''' | ||
<pre>{{Infobox fruit tree | <pre>{{Infobox fruit tree | ||
|name = | |||
|image = | |image = | ||
|sapling = | |sapling = | ||
|produce = | |altsapling = | ||
|produce = | |||
|altproduce = | |||
|growth = | |growth = | ||
|season = | |season = | ||
|price = | |||
|altprice = | |||
}}</pre> | }}</pre> | ||
===Parameters=== | ===Parameters=== | ||
<pre>{{Infobox fruit tree | <pre>{{Infobox fruit tree | ||
|name = Tree name (optional - name of page if omitted) | |||
|image = | |image = | ||
|sapling = | |sapling = Sapling that grows into the tree | ||
|produce = | |altsapling = Name of sapling in language other than English | ||
|growth = | |produce = Name of fruit produced by mature tree | ||
|altproduce = Name of produce in language other than English | |||
|growth = Growth time from planting to full maturity | |||
|season = What season does it produce fruit in? | |season = What season does it produce fruit in? | ||
|price = Sell price if sapling is sold to Pierre | |||
|altprice = Sapling source, used for Ginger Island saplings | |||
}}</pre> | }}</pre> | ||
This template automatically calculates the purchase prices for Pierre's General Store and the Traveling Cart, based on the sell price entered in the template. The sell price can be found in <samp>Content\ObjectInformation.xnb</samp>. | |||
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | <includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | ||
<includeonly>{{Addlanglinks}}</includeonly> | |||
Latest revision as of 21:01, 8 January 2023
Description
This template displays an infobox for fruit tree pages.
Use
This template can be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages.
{{Infobox fruit tree
|name =
|image =
|sapling =
|altsapling =
|produce =
|altproduce =
|growth =
|season =
|price =
|altprice =
}}
Parameters
{{Infobox fruit tree
|name = Tree name (optional - name of page if omitted)
|image =
|sapling = Sapling that grows into the tree
|altsapling = Name of sapling in language other than English
|produce = Name of fruit produced by mature tree
|altproduce = Name of produce in language other than English
|growth = Growth time from planting to full maturity
|season = What season does it produce fruit in?
|price = Sell price if sapling is sold to Pierre
|altprice = Sapling source, used for Ginger Island saplings
}}
This template automatically calculates the purchase prices for Pierre's General Store and the Traveling Cart, based on the sell price entered in the template. The sell price can be found in Content\ObjectInformation.xnb.