Template:ItemInTable

From Monumenta Wiki
Jump to navigation Jump to search


This template shows an item's texture and name inside a table cell.

The width parameter can be omitted and defaults to 64px.

Usage (must be in a table cell):

{{ItemInTable|item_name|width}}


or if you want a display name different from the item name, but the width parameter is defaulted to the regualar image width parameter:

{{ItemInTable|item_name|width|display_name}}

Examples
Code Result
{{ItemInTable|King's Crown|16px}}
{{ItemInTable|King's Crown|64px}}
{{ItemInTable|King's Crown|256px}}
{{ItemInTable|King's Crown|16px|A King's Worth}}
{{ItemInTable|King's Crown|64px|A King's Worth}}
{{ItemInTable|King's Crown|256px|A King's Worth}}
{{ItemInTable|King's Crown|16px| }}
{{ItemInTable|King's Crown|64px| }}
{{ItemInTable|King's Crown|256px| }}
{{ItemInTable|Geomantic Dagger}}
{{ItemInTable|an unknown texture|32px}}