Template:ItemBox: Difference between revisions

From Melvor Idle
(New automatic ItemBox)
 
(Added getOtherItemBoxText argument)
Line 15: Line 15:
| Type: {{#invoke:Items|getItemStat|{{#var:item}}|type}}
| Type: {{#invoke:Items|getItemStat|{{#var:item}}|type}}
|-
|-
| Sells For: {{Icon|Coins|notext=true}} {{#invoke:Items|getItemStat|{{#var:item}}|sellsFor|formatNum=true}}
| 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}}

Revision as of 19:22, 29 September 2020

Topaz
Topaz
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