Terraria Wiki
Advertisement
Lua logo.svg
This template uses Module:Item, a script written in the Lua programming language. Please see wikipedia:Lua and mw:Extension:Scribunto to learn more about Lua.

Sablon:Project

Usage

This template is Hungarian version of {{item}},it basically the same as {{item}}, except for item name auto translation and the link target url (when the link parameter is not explicitly specified) the /hu suffix is automatically appended.

If you don't want to use auto translation, You should write the Hungarian item name on unamed parameter 2, e.g. {{item/hu|Iron Pickaxe|Vascsákány}} .

See {{item}} for more usage details.

Translating

When translating, In most cases, you only need to do 2 things:

  1. Change the template name from {{item}} to {{item/hu}};
  2. Add or modify parameter 2 if needed.

For example:

  • {{item|Iron Pickaxe}} -> {{item/hu|Iron Pickaxe}}
  • {{item|Iron Pickaxe|s}} -> {{item/hu|Iron Pickaxe|Vascsákány}} or {{item/hu|Iron Pickaxe}}

If the link parameter is explicitly specified, you may need to manually modify it:

  • {{item|Molten Hamaxe|link=Axes#Types}} -> {{item/hu|Molten Hamaxe|link=Axes/hu#Types}}

Examples

Code Result Note
{{item/hu|Iron Pickaxe}} VascsákányVascsákány auto translation and link target url will have /hu suffix automatically.
{{item/hu|Torch|Fáklya}} FáklyaFáklya Don't use auto translation.
{{item/hu|Iron Pickaxe|link=Iron Pickaxe}} VascsákányVascsákány Change link target(link target url won't have /hu suffix).
Advertisement