Changes

Jump to: navigation, search

Template:Item icon/doc

671 bytes added, 13:34, 6 December 2023
m
Slightly improved documentation.
__NOTOC__
==Description==
This template accepts an item name as input and returns the in-game icon. This template is used by both [[Template:Item]] and [[Template:Loot]]. See the Examples section below.
==Syntax==
<span class="extimage64px">{{Item icon|Salt}}</span>
=== Notes ===
Sometimes items appear in-game that share the same displayed name but have different internal names. Often future patches rename one of them to prevent conflicts, but a few persist. This wiki resolves the issue by renaming the less-likely to be searched for item.
One example is {{Item|Daisy}} and {{Item|Daisy (Lute)}}. Both are called just "Daisy" in-game, but the Lute has an InternalName (found in the items json) of "Daisy" and the flower has an InternalName of "Flower5".
==== Icon Codes for Items Sharing a Name ====
<pre> | Daisy = 5283
| Daisy (Lute) = 5380</pre>
[[Category:Template_documentation]]

Navigation menu