Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!
Difference between revisions of "Template:Item"
Line 1: | Line 1: | ||
<includeonly>{{#if: | <includeonly>{{#if: | ||
{{#vardefine:icon|{{#show:{{{1|Item}}}|?Has game icon|link=none|default=File:No_Icon.png}}}} | {{#vardefine:icon|{{#show:{{{1|Item}}}|?Has game icon|link=none|default=File:No_Icon.png}}}} | ||
− | |||
{{#vardefine:name|{{#show:{{{1|Item}}}|?Has name|default={{{1|Item}}}}}}} | {{#vardefine:name|{{#show:{{{1|Item}}}|?Has name|default={{{1|Item}}}}}}} | ||
}}<!-- | }}<!-- |
Revision as of 15:05, 14 March 2016
Contents
Description
This template displays a link to an item with its respective icon.
Usage
{{Item |<item page> |<text> | icon = | full size = }}
Parameters
All parameters are optional unless stated otherwise.
- item page
- Required. Item page. The wiki page of the item.
- text
- Displayed text. Defaults to the name of the item.
- icon
- Icon file. Defaults to the icon of the item.
- full size
- Set to anything to display the icon in its original size.
Examples
{{Item|Corrupt Imposter Death Scythe}}
{{Item|Corrupt Imposter Death Scythe|Blargh|full size = y}}