Created page with "<infobox> <title source="name"> <default>{{PAGENAME}}</default> </title> <image source="image"/> <data source="obtainment"> <label>Obtainment</label> </data> <data source="slot"> <label>Slot placement</label> </data> <data source="maxplace"> <label>Maximum placed</label> <default>1</default> </data> <data source="cost"> <label>Cost</label> </data> <data source="value"> <label>Worth</label> </data> <data source="drop..." |
shake param |
||
| (One intermediate revision by the same user not shown) | |||
| Line 25: | Line 25: | ||
<data source="abilities"> | <data source="abilities"> | ||
<label>Abilities</label> | <label>Abilities</label> | ||
</data> | |||
<data source="shake"> | |||
<label>Shakeable?</label> | |||
<default>Yes</default> | |||
</data> | </data> | ||
</infobox><includeonly> | </infobox><includeonly> | ||
{{ifeq:{{NAMESPACENUMBER}}|0|[[Category:Fruits]]|}}</includeonly><noinclude> | {{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Fruits]]|}}</includeonly><noinclude> | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
{{documentation}} | {{documentation}} | ||
Latest revision as of 04:40, 20 December 2025
| Template documentation follows |
|---|
| Note: the template above may sometimes be partially or fully invisible. |
| Visit Template:Fruit/doc to edit this documentation. (How does this work?) |
Description
Fruit is an infobox template that provides the most important information about a tree's fruit. This should be used at the very top of fruit articles.
Let TormentInSquallLines know if you have any suggestions or issues.
Syntax
{{Fruit|<name>|<obtainment>|<slot>|<maxplace>|<cost>|<value>|<droprate>|<abilities>}}
Fruit has x parameters, all named.
- name is the name of the fruit. This should be what it is named in-game. It defaults to the page name.
- obtainment is how the fruit is obtained. If it is in the normal tycoon, this should be "Tycoon (floor x)", with x being the floor it's on.
- slot is the type of placement slot it uses
- maxplace is the maximum amount of this tree that can be placed on the tycoon. The default is 1.
- cost is how much the tree costs to plant. If the tree costs increasingly more money to plant, this should be a bullet list with exact values.
- value is the base value of the fruit, excluding any multipliers
- droprate is the range of time that it takes for the tree to drop fruit
- abilities are any passive abilities the tree has in-game
In addition, this template will categorize any pages in the namespace using this template under the Fruits category.
TemplateData
The TemplateData for fruits
Infobox template for fruit pages
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Fruit name | name | The name of the fruit in-game
| Line | optional |
| Obtainment method | obtainment | The way in which the tree is obtained
| String | required |
| Slot type | slot | The type of placement slots the tree can use
| Line | required |
| Maximum placed | maxplace | The maximum amount of this tree that can be placed on the tycoon
| Number | required |
| Tree cost | cost | The amount of money it takes to buy the tree. If the tree varies with slot number, write in bullet points the costs. | String | required |
| Base fruit value | value | The base value of the fruit without multipliers | Line | required |
| Drop rate | droprate | The range of time it takes for the tree to drop fruit
| Line | suggested |
| Abilities | abilities | The passive abilities the tree has in-game
| String | suggested |