Template:ItemBox: Difference between revisions

From Melvor Idle
(Added description)
(Now with more categories)
Line 19: Line 19:
| Sells For: {{Icon|Coins|notext=true}} {{#invoke:Items|getItemStat|{{#var:item}}|sellsFor|formatNum=true}}{{#invoke:Items|getOtherItemBoxText|{{#var:item}}}}
| Sells For: {{Icon|Coins|notext=true}} {{#invoke:Items|getItemStat|{{#var:item}}|sellsFor|formatNum=true}}{{#invoke:Items|getOtherItemBoxText|{{#var:item}}}}
|-
|-
| Item Sources:<br/>{{#invoke:Items|getItemSources|{{#var:item}}|asList=true}}
| Item Sources:<br/>{{#invoke:Items|getItemSources|{{#var:item}}|asList=true|addCategories=true}}
|-
|-
| Item Uses:<br/>{{#invoke:Items|getItemUses|{{#var:item}}}}
| Item Uses:<br/>{{#invoke:Items|getItemUses|{{#var:item}}|addCategories=true}}
|}{{#invoke:Items|getItemCategories|{{#var:item}}}}
|}{{#invoke:Items|getItemCategories|{{#var:item}}}}
</includeonly></onlyinclude>
</includeonly></onlyinclude>

Revision as of 20:55, 1 October 2020

Topaz
Topaz
Standard Gem
Item ID: melvorD:Topaz
Category: Gemstone
Type: Gem
Sells For:
Error creating thumbnail: File missing
225
Item Sources:
Script error: The function "getItemSources" does not exist.
Item Uses:
Script error: The function "getItemUses" does not exist.


Based on Template:Item, but pulling data from Module:Items/data filtered through Module:Items