Template:Infobox decor: 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={{{image|{{{name|{{PAGENAME}}}}}}}}.png |Description={{{description|}}} |Type={{{type|Decoration}}} |Source={{{source|}}} |Location={{{location|}}} |BuyPrice..."
 
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 11: Line 11:
|Type={{{type|Decoration}}}
|Type={{{type|Decoration}}}
|Source={{{source|}}}
|Source={{{source|}}}
|Location={{{location|}}}
|BuyPrice={{{buy|0}}}
|BuyPrice={{{buy|}}}
|SellPrice={{{sell|}}}
|SellPrice={{{sell|}}}
|SoldAt={{{store|}}}
|SoldAt={{{store|}}}
Line 29: Line 28:
</group>
</group>
<group>
<group>
     <data source="type"><label>Type</label><default>Fish</default></data>
     <data source="type"><label>Type</label></data>
     <data source="source"><label>Source</label></data>
     <data source="source"><label>Source</label></data>
     <data source="size"><label>Size</label></data>
     <data source="size"><label>Size</label></data>
Line 37: Line 36:
     <header>Economy</header>
     <header>Economy</header>
     <data source="buy"><label>Buy price</label></data>
     <data source="buy"><label>Buy price</label></data>
     <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></data>
</group>
</group>
</infobox>{{#switch:{{lc:{{{type|}}}}}
</infobox>{{#switch:{{lc:{{{type|}}}}}
Line 46: Line 45:
| clock | wall clock = [[Category:Wall clocks]]
| clock | wall clock = [[Category:Wall clocks]]
| #default = [[Category:Decoration]]
| #default = [[Category:Decoration]]
}}</includeonly><noinclude>{{documentation}}[[Category:Infobox templates|fish]]</noinclude>
}}</includeonly><noinclude>{{documentation}}[[Category:Infobox templates|decor]]</noinclude>

Latest revision as of 17:02, 29 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.