Template:Infobox crop/doc: Difference between revisions
From Everafter Falls Wiki
Created page with "==Description== This template is used to create infoboxes on individual crop and flower pages and store data in Special:CargoTables/Items. The template also assigns categories based on the ''type'' parameter. ==Syntax== <pre>{{Infobox critter |name = |description = |type = |collection = |season = |growth = |regrowth = |store = |buy = |sell = |seed_rarity = |summer = |autumn = |winter = |spring = }}</pre> *''collection'' should be one of these:..." |
m →Syntax |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
The template also assigns categories based on the ''type'' parameter. | The template also assigns categories based on the ''type'' parameter. | ||
==Syntax== | ==Syntax== | ||
<pre>{{Infobox | <pre>{{Infobox crop | ||
|name = | |name = | ||
|description = | |description = | ||
|type = | |type = | ||
|collection = | |collection = | ||
|growth = | |growth = | ||
|regrowth = | |regrowth = | ||
|harvest_amt = | |||
|store = | |store = | ||
|buy = | |buy = | ||
| Line 24: | Line 24: | ||
**Vegetable Crops · Berries · Crop Fruits · Flowers | **Vegetable Crops · Berries · Crop Fruits · Flowers | ||
*''growth'' and ''regrowth'' should be number of days only | *''growth'' and ''regrowth'' should be number of days only | ||
*''harvest_amt'' is how many items are produced per harvest | |||
*''seed_rarity'' is the drop rarity value of seeds for chest and pigeon drops; omit if you don't know the number and place the stub template on the page so it gets filled in later | *''seed_rarity'' is the drop rarity value of seeds for chest and pigeon drops; omit if you don't know the number and place the stub template on the page so it gets filled in later | ||
*''sell'' should be number only, no icons or other symbols | *''sell'' should be number only, no icons or other symbols | ||
*''store'' is unformatted name of the store (e.g. Freya's) | *''store'' is unformatted name of the store (e.g. Freya's) | ||
**But please format the price in ''buy'' field how you would like it to be displayed in the | **But please format the price in ''buy'' field how you would like it to be displayed in the infobox | ||
*Season parameters can have any value. Simply omit the seasons that do not apply. | |||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> | ||
Latest revision as of 17:14, 21 March 2025
Description
This template is used to create infoboxes on individual crop and flower pages and store data in Special:CargoTables/Items.
The template also assigns categories based on the type parameter.
Syntax
{{Infobox crop
|name =
|description =
|type =
|collection =
|growth =
|regrowth =
|harvest_amt =
|store =
|buy =
|sell =
|seed_rarity =
|summer =
|autumn =
|winter =
|spring =
}}
- collection should be one of these:
- Vegetable Crops · Berries · Crop Fruits · Flowers
- growth and regrowth should be number of days only
- harvest_amt is how many items are produced per harvest
- seed_rarity is the drop rarity value of seeds for chest and pigeon drops; omit if you don't know the number and place the stub template on the page so it gets filled in later
- sell should be number only, no icons or other symbols
- store is unformatted name of the store (e.g. Freya's)
- But please format the price in buy field how you would like it to be displayed in the infobox
- Season parameters can have any value. Simply omit the seasons that do not apply.