Template:Infobox shroom: Difference between revisions
From Everafter Falls Wiki
Created page with "<noinclude>{{#cargo_attach:table=Items}}</noinclude><includeonly><!-- // Storing the inputs into the declared Cargo table --><!-- ifeq namespace check to prevent documentation examples being stored in CargoTable --> {{#ifeq: {{NAMESPACENUMBER}} | 0 | {{#cargo_store: _table=Items |Name={{{name|{{PAGENAME}}}}} |Image={{{name|{{PAGENAME}}}}}.png |Description={{{description|}}} |Type={{{type|Mushroom}}} |Source={{{source|}}} |Location={{{location|}}} |Collection={{{collecti..." |
mNo edit summary |
||
| Line 44: | Line 44: | ||
<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: | </infobox>[[Category:Mushrooms]]</includeonly><noinclude>{{documentation}}[[Category:Infobox templates|shroom]]</noinclude> | ||
Revision as of 13:18, 22 July 2024
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. |
Description
This template is used to create infoboxes on individual mushroom pages and store data in Special:CargoTables/Items.
The template also assigns mushrooms category to the pages it is used on.
Syntax
{{infobox shroom
|name =
|description =
|collection =
|location =
|season =
|summer =
|autumn =
|winter =
|spring =
|patch_size =
|rarity =
|sell =
}}
- collection should be one of these:
- Shroom Delicacies · Shrooms Of Everafter · Saprophytic Shrooms
- location allows wikitext formatting
- For every season parameter, use any value if the shroom spawns during that particular season
- patch_size is the max size of the patch. Integer only
- rarity is the drop rarity value of the item; 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