Template:Item link2

来自Terraria Wiki
跳到导航 跳到搜索

[[File:{{{1}}}.png|link={{{1}}}]]

Template-info.svg 文档 以下文档来自Template:Item link2/doc。(编辑 | 历史

Displays a link to the item and adds a item icon in front of it.

Usage

{{item link2|<item name>|size=}}
unnamed parameter 1
Item name.
size
Optional parameter to set the width. Read Extended image syntax for details.

Examples

  • Bed.png <-- is produced from {{item link2|Bed}}
  • Wood.png <-- is produced from {{item link2|Wood}}
  • Wall of Flesh.png <-- is produced from {{item link2|Wall of Flesh|size=32px}}
  • Wall of Flesh.png <-- is produced from {{item link2|Wall of Flesh|size=x32px}}
  • Wall of Flesh.png <-- is produced from {{item link2|Wall of Flesh|size=32x32px}}

Notes

To avoid html bloat, item link is not in a "nowrap". If you wish for a nowrap effect, please add them to the general table style.