Template:Infobox fruit: Difference between revisions
From Everafter Falls Wiki
No edit summary |
mNo edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 10: | Line 10: | ||
|Description={{{description|}}} | |Description={{{description|}}} | ||
|Type={{{type|Tree fruit}}} | |Type={{{type|Tree fruit}}} | ||
|Source={{{source|}}} | |Source={{{source|[[{{{store|}}}]] for {{{buy|}}}}}} | ||
|Collection={{{collection|}}} | |Collection={{{collection|}}} | ||
|Machine=0 | |Machine=0 | ||
| Line 26: | Line 26: | ||
|GrowthTime={{{growth|0}}} | |GrowthTime={{{growth|0}}} | ||
|RegrowthTime={{{days_until_fruit|0}}} | |RegrowthTime={{{days_until_fruit|0}}} | ||
|SellPrice={{{sell|}}} | |SellPrice={{{sell|}}} | ||
|SoldAt={{{store|Not sold}}} | |SoldAt={{{store|Not sold}}} | ||
|Rarity= | |Rarity={{{rarity|0}}} | ||
|SpawnSummer={{{summer|0}}} | |SpawnSummer={{{summer|0}}} | ||
|SpawnAutumn={{{autumn|0}}} | |SpawnAutumn={{{autumn|0}}} | ||
| Line 41: | Line 40: | ||
|Description={{{name|{{PAGENAME}}}}} | |Description={{{name|{{PAGENAME}}}}} | ||
|Type={{{type|Tree}}} | |Type={{{type|Tree}}} | ||
|Source={{{source|}}} | |Source={{{source|[[{{{store|}}}]] for {{{buy|}}}}}} | ||
|Machine= | |Machine=Fruit | ||
|Mat1=0 | |Mat1=0 | ||
|Amt1=0 | |Amt1=0 | ||
| Line 90: | Line 89: | ||
<data source="source"><label>Source</label></data> | <data source="source"><label>Source</label></data> | ||
<data><label>Season</label><default>{{#arraydefine:season|{{#if:{{{summer|}}}|Summer,}}{{#if:{{{autumn|}}}|Autumn,}}{{#if:{{{winter|}}}|Winter,}}{{#if:{{{spring|}}}|Spring}}|,|unique}}{{#arrayprint:season|<nowiki /> · <nowiki />|@@@@|[[@@@@]]}}</default></data> | <data><label>Season</label><default>{{#arraydefine:season|{{#if:{{{summer|}}}|Summer,}}{{#if:{{{autumn|}}}|Autumn,}}{{#if:{{{winter|}}}|Winter,}}{{#if:{{{spring|}}}|Spring}}|,|unique}}{{#arrayprint:season|<nowiki /> · <nowiki />|@@@@|[[@@@@]]}}</default></data> | ||
<data source="growth"><label>Growth time</label><format>{{{growth}}} days {{#if:{{{days_until_fruit|}}}|<br />{{{days_until_fruit|}}} days to fruit}}</format></data> | <data source="growth"><label>Growth time</label><format>{{{growth}}} days {{#if:{{{days_until_fruit|}}}|<br />{{{days_until_fruit|}}} days to first fruit}}</format></data> | ||
<data source="drops"><label>Drops when cut</label></data> | <data source="drops"><label>Drops when cut</label></data> | ||
</group> | </group> | ||
| Line 98: | Line 97: | ||
<data source="sell"><label>Sell price</label><format>{{formatnum:{{{sell|}}}}}{{coin}}</format><default>''Cannot be sold''</default></data> | <data source="sell"><label>Sell price</label><format>{{formatnum:{{{sell|}}}}}{{coin}}</format><default>''Cannot be sold''</default></data> | ||
</group> | </group> | ||
</infobox>[[Category:Tree fruit]]</includeonly><noinclude>{{documentation}}[[Category:Infobox templates|fruit]]</noinclude> | </infobox>[[Category:Tree fruit]][[Category:Tree saplings]]</includeonly><noinclude>{{documentation}}[[Category:Infobox templates|fruit]]</noinclude> | ||
Latest revision as of 15:09, 8 May 2025
This template adds rows to the table "Items", which is declared by the template Item declare. View table.
| Template documentation |
|---|
| Note: portions of the template sample may not be visible without values provided. |
| View or edit this documentation. (About template documentation) |
| Editors can experiment in this template's sandbox and test case pages. |