Template:ItemLink: Difference between revisions

From Ymirheim Wiki
No edit summary
No edit summary
Line 29: Line 29:
== Examples ==
== Examples ==
  <nowiki>{{ItemLink|1330000004}}</nowiki>
  <nowiki>{{ItemLink|1330000004}}</nowiki>
Will produce: {{ItemLink|1330000004}}.


</noinclude>
</noinclude>

Revision as of 11:03, 30 June 2024

This template can be used to display link with an icon to a specific game item on a page.


Usage

{{ItemLink|ITEM_ID}}

You have to supply the specific item ID, not the item name.


How to find Item ID

You can find the item ID by searching the item in Ymirheim Translate (item_prototypes component).

The item ID is contained in the string key.

For example, if you look up "Pukui Peel" in Ymirheim Translate, you will see the item ID in the "Key" column (the portion before the forward slash).


Examples

{{ItemLink|1330000004}}

Will produce: icon Pukui Slice.