Aus Terraria Wiki
Wechseln zu: Navigation, Suche
Template-info.svg Dokumentation Die folgende Dokumentation stammt von der Seite Vorlage:ItemIdFromName/Dokumentation. (bearbeiten | Versionsgeschichte)

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


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

First unnamed parameter

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


Language code. Default is {{lang}}. 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.


Code result
{{ItemIdFromName|Eisenspitzhacke}} 1
{{ItemIdFromName|W.D.M.G.}} 1553
{{ItemIdFromName| W.D.M.G. }} 1553
{{ItemIdFromName|Christmas Tree Sword|lang=en}} 1928

See also