Your wiki has been migrated to a new Fandom domain. Learn more here.

Button See Issues.png
Experiencing problems on the wiki?
  • Invisible files and icons: Clear your cache by purging the page
  • Strange view on Desktop: Probably using Mobile view, click here to switch back to Desktop view
If none of the above worked, try to reach us on the Community noticeboard or our Discord server.

ItemIdFromName/doc

This template returns the Item ID of an item based on its name. It requires the exact name of the item.

Usage

{{ItemIdFromName | <Item name> (optional) | lang= <lang> (optional) }}

First unnamed parameter

Name of the item. If empty or invalid, will return empty string.

lang

Language code. Default is en. Currently we have 9 languages (as in game): en/es/it/de/fr/zh/pl/pt/ru. All other lang codes will use en database.

Examples

Code result
{{ItemIdFromName|Iron Pickaxe}} 1
{{ItemIdFromName|S.D.M.G.}} 1553
{{ItemIdFromName| S.D.M.G. }} 1553
{{ItemIdFromName|}}
{{ItemIdFromName|someNameNotExists}}
{{ItemIdFromName|Zyan Farbstoff|lang=de}} 1013
{{ItemIdFromName|Amber Bunny Cage|lang=de}} 4888

See also

Community content is available under CC BY-NC-SA 3.0 unless otherwise noted.