Difference between revisions of "Template:ItemBox"
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}} |
Latest revision as of 19:14, 14 November 2021
Topaz |
---|
No Description |
Item ID: 128 |
Category: Gemstone |
Type: Gem |
Sells For: |
Item Sources:
|
Item Uses: |
Part of 100% Completion: Yes |
Based on Template:Item, but pulling data from Module:Items/data filtered through Module:Items