Template:Infobox fruit: Difference between revisions
From Everafter Falls Wiki
mNo edit summary |
mNo edit summary |
||
| (11 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 | ||
|Mat1=0 | |||
|Amt1=0 | |||
|Mat2=0 | |||
|Amt2=0 | |||
|Mat3=0 | |||
|Amt3=0 | |||
|Mat4=0 | |||
|Amt4=0 | |||
|Mat5=0 | |||
|Amt5=0 | |||
|Season={{#arraydefine:season|{{#if:{{{summer|}}}|Summer,}}{{#if:{{{autumn|}}}|Autumn,}}{{#if:{{{winter|}}}|Winter,}}{{#if:{{{spring|}}}|Spring}}|,|unique}}{{#arrayprint:season| · }} | |||
|GrowthTime={{{growth|0}}} | |||
|RegrowthTime={{{days_until_fruit|0}}} | |||
|SellPrice={{{sell|}}} | |||
|SoldAt={{{store|Not sold}}} | |||
|Rarity={{{rarity|0}}} | |||
|SpawnSummer={{{summer|0}}} | |||
|SpawnAutumn={{{autumn|0}}} | |||
|SpawnWinter={{{winter|0}}} | |||
|SpawnSpring={{{spring|0}}} | |||
}} | |||
{{#cargo_store: | |||
_table=Items | |||
|Name={{{tree_name|{{{name|{{PAGENAME}}}}} Tree}}} | |||
|Image={{{tree_name|{{{name|{{PAGENAME}}}}} Tree}}} Sapling.png | |||
|Description={{{name|{{PAGENAME}}}}} | |||
|Type={{{type|Tree}}} | |||
|Source={{{source|[[{{{store|}}}]] for {{{buy|}}}}}} | |||
|Machine=Fruit | |||
|Mat1=0 | |Mat1=0 | ||
|Amt1=0 | |Amt1=0 | ||
| Line 29: | Line 58: | ||
|SellPrice={{{sell|}}} | |SellPrice={{{sell|}}} | ||
|SoldAt={{{store|Not sold}}} | |SoldAt={{{store|Not sold}}} | ||
|Rarity={{{sapling_rarity|}}} | |Rarity={{{sapling_rarity|0}}} | ||
|SpawnSummer={{{summer|0}}} | |SpawnSummer={{{summer|0}}} | ||
|SpawnAutumn={{{autumn|0}}} | |SpawnAutumn={{{autumn|0}}} | ||
|SpawnWinter={{{winter|0}}} | |SpawnWinter={{{winter|0}}} | ||
|SpawnSpring={{{spring|0}}} | |SpawnSpring={{{spring|0}}} | ||
|Misc={{{ | |Misc={{{drops|}}} | ||
}} }}<!-- | }} }}<!-- | ||
| Line 60: | 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> | |||
</group> | </group> | ||
<group layout="horizontal"> | <group layout="horizontal"> | ||
| Line 67: | 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| | </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. |