Template:Infobox equipment: Difference between revisions

From Everafter Falls Wiki

Created page with "<noinclude>{{#cargo_attach:table=Items}}</noinclude><includeonly><!-- // Storing the inputs into the 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|Equipment}}} |Source={{{source|}}} |Machine={{{machine|0}}} |Mat1={{{mat1|0}}} |Amt1={{{amt1..."
 
mNo edit summary
 
(12 intermediate revisions by the same user not shown)
Line 10: Line 10:
|Description={{{description|}}}
|Description={{{description|}}}
|Type={{{type|Equipment}}}
|Type={{{type|Equipment}}}
|Source={{{source|}}}
|Source={{{source|Usual sources}}}
|Machine={{{machine|0}}}
|Machine={{{machine|0}}}
|Mat1={{{mat1|0}}}
|Mat1={{{mat1|0}}}
Line 24: Line 24:
|AmtCrafted={{{amt_crafted|0}}}
|AmtCrafted={{{amt_crafted|0}}}
|CraftTime={{{time|0}}}
|CraftTime={{{time|0}}}
|BuyPrice=
|Size={{{tier|}}}
|SellPrice={{{sell|}}}
|SellPrice={{{sell|}}}
|Stats={{{stats|}}}
|BuyPrice={{{buy|}}}
|Stats={{#if:{{{stats|}}}|{{{stats|}}}|'''Base:''' {{{stats_base|}}}<br />'''Superior:''' {{{stats_superior|}}}<br />'''Majestic:''' {{{stats_majestic|}}}}}
|Rarity={{{rarity|}}}
|Rarity={{{rarity|}}}
|Slot={{{slot|}}}
|Slot={{{slot|}}}
|Misc={{{smelts_into|}}}
|Misc={{{smelts_into|}}}
|SoldAt={{{store|}}}
}} }}<!--
}} }}<!--


Line 45: Line 47:
<group>
<group>
     <data source="type"><label>Type</label><default>Equipment</default></data>
     <data source="type"><label>Type</label><default>Equipment</default></data>
     <data source="source"><label>Sources</label></data>
    <data source="slot"><label>Slot</label></data>
     <data source="stats"><label>Stats</label></data>
    <data source="tier"><label>Tier</label></data>
     <data source="source"><label>Sources</label><default>[[Treasure chest]]s<br />[[Boss]] drops<br />[[Treasure Duck]]s<br />[[Strange stone]]s{{#ifeq:{{{tier|}}}|Legendary|<br />Black [[pigeon]]s}}</default></data>
</group>
<group>
    <header>Stats</header>
     <data source="stats"/>
    <data source="stats_base"><label>Base</label></data>
    <data source="stats_superior"><label>Superior</label></data>
    <data source="stats_majestic"><label>Majestic</label></data>
</group>
</group>
<group layout="horizontal">
<group layout="horizontal">
Line 53: Line 63:
     <data source="sell"><label>Sell price</label><format>{{formatnum:{{{sell|}}}}}{{coin}}</format><default>50{{coin}}</default></data>
     <data source="sell"><label>Sell price</label><format>{{formatnum:{{{sell|}}}}}{{coin}}</format><default>50{{coin}}</default></data>
</group>
</group>
</infobox>[[Category:Orbs]]</includeonly><noinclude>{{documentation}}[[Category:Infobox templates|equipment]]</noinclude>
</infobox>{{#switch:{{{slot|}}}
| Ring = [[Category:Rings]]
| Amulet | Necklace = [[Category:Amulets]]
| #default = [[Category:Equipment]]}}</includeonly><noinclude>{{documentation}}[[Category:Infobox templates|equipment]]</noinclude>

Latest revision as of 19:50, 27 July 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.