Template:ItemBox: Difference between revisions
From Melvor Idle
Falterfire (talk | contribs) (centering the image for when that matters) |
(Amend category to return 'None' if no category is found) |
||
Line 13: | Line 13: | ||
| '''Item ID:''' {{#invoke:Items|getItemStat|{{#var:item}}|id}} | | '''Item ID:''' {{#invoke:Items|getItemStat|{{#var:item}}|id}} | ||
|- | |- | ||
| '''Category:''' [[{{#invoke:Items|getItemStat|{{#var:item}}|category}}]] | | '''Category:''' {{#ifeq:{{#invoke:Items|getItemStat|{{#var:item}}|category}}||None|[[{{#invoke:Items|getItemStat|{{#var:item}}|category}}]]}} | ||
|- | |- | ||
| '''Type:''' {{#invoke:Items|getItemStat|{{#var:item}}|type}} | | '''Type:''' {{#invoke:Items|getItemStat|{{#var:item}}|type}} |
Revision as of 19:14, 14 November 2021
Topaz |
---|
Standard Gem |
Item ID: melvorD:Topaz |
Category: Gemstone |
Type: Gem |
Sells For: Error creating thumbnail: File missing 225
|
Item Sources:
|
Item Uses: |
Part of 100% Completion: Yes |
Based on Template:Item, but pulling data from Module:Items/data filtered through Module:Items