Template:Infobox shell: 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=Shell |Source=Gathering |Location={{{location|Beach}}} |Collection={{{collection|}}} |Seaso..." |
mNo edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
_table=Items | _table=Items | ||
|Name={{{name|{{PAGENAME}}}}} | |Name={{{name|{{PAGENAME}}}}} | ||
|Image={{{name|{{PAGENAME}}}}}.png | |Image={{{image|{{{name|{{PAGENAME}}}}}.png}}} | ||
|Description={{{description|}}} | |Description={{{description|}}} | ||
|Type=Shell | |Type=Shell | ||
| Line 14: | Line 14: | ||
|Collection={{{collection|}}} | |Collection={{{collection|}}} | ||
|Season={{{season|All}}} | |Season={{{season|All}}} | ||
|Rarity={{{rarity|}}} | |||
|SellPrice={{{sell|}}} | |SellPrice={{{sell|}}} | ||
|CrushOutput={{{bricks|1}}} | |CrushOutput={{{bricks|1}}} | ||
| Line 32: | Line 33: | ||
<data source="type"><label>Type</label><default>Shell</default></data> | <data source="type"><label>Type</label><default>Shell</default></data> | ||
<data source="collection"><label>Collection</label><format>[[Museum#{{ucfirst:{{{collection|}}}}}|{{ucfirst:{{{collection|}}}}}]]</format></data> | <data source="collection"><label>Collection</label><format>[[Museum#{{ucfirst:{{{collection|}}}}}|{{ucfirst:{{{collection|}}}}}]]</format></data> | ||
<data source="bricks"><label>Crushes into</label><format>{{i|Brick|{{{bricks|1}}}}}</format></data> | <data source="bricks"><label>Crushes into</label><format>{{i|Brick|{{{bricks|1}}}}}</format></data> | ||
</group> | |||
<group> | |||
<header>Obtaining</header> | |||
<data source="location"><label>Location</label><default>[[Beach]] areas</default></data> | |||
<data source="rarity"><label>Spawn chance</label><format>{{drop chance|{{{rarity|}}}|Shell}}</format></data> | |||
<data source="source"><label>Other sources</label><default>[[Shell Extractor]]<br />[[Strange stone]]s</default></data> | |||
</group> | </group> | ||
<group layout="horizontal"> | <group layout="horizontal"> | ||
| Line 41: | Line 46: | ||
<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:Shells]]</includeonly><noinclude>{{documentation}}[[Category:Infobox templates| | </infobox>[[Category:Shells]]</includeonly><noinclude>{{documentation}}[[Category:Infobox templates|shell]]</noinclude> | ||
Latest revision as of 05:44, 2 August 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 shell pages and store data in Special:CargoTables/Items.
The template also assigns shells category to the pages it is used on.
Syntax
{{Infobox shell
|name =
|description =
|collection =
|bricks =
|rarity =
|sell =
}}
- collection should be one of these:
- Common Shells · Conch Shells · Starfish · Ammonites · Rare Shells
- bricks is how many bricks the shell is crushed into. Integer only
- rarity is the drop rarity value of the shell; 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