Difference between revisions of "Template:Item"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 118: | Line 118: | ||
{{#switch: {{{type}}} | {{#switch: {{{type}}} | ||
| Goggles | Helmet |Cloak = <tr><td class="item-image">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|300px|]]</td></tr> | | Goggles | Helmet |Cloak = <tr><td class="item-image">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|300px|]]</td></tr> | ||
#default={{#if: {{{image|}}}|<tr><td class="item-image">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|300px|]]</td></tr>}} | |#default={{#if: {{{image|}}}|<tr><td class="item-image">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|300px|]]</td></tr>}} | ||
}} | }} | ||
<tr> | <tr> |
Revision as of 19:01, 17 November 2018
{{Template:Item |name = |type = |minlevel = |absoluteminlevel = |binding = |enchantments = |description = |droplocation = |material = |hardness = |durability = |update = |details = |upgradeable = |restriction = |icon= |image= |bug= }}
Item[edit]
This template is used to render information about an item that is not a weapon, armor, orb, rune arm, shield or quiver. See Template:Weapon for weapons, Template:Armor for armor, Template:Shield for shields and orbs, Template:Quiver for quivers. Example of the Template in Use: Pale Lavender Ioun Stone.
Usage[edit]
Parameter Documentation | |
name | The name of the item. |
type | What type of item is it. Possible Values:
|
minlevel | Enter the minimum level required for the item, or leave blank if there is none. |
absoluteminlevel | Enter the minimum level required for the item if something is removed, or leave blank if there is none. |
binding | How is this item bound - leave blank it is unbound.
|
enchantments | These are a bulleted list of templates (each on its own line starting with an asterisk) found in Enchantment Templates. If the enchantment is a one just for this item, just enter the information directly. The enchantment that is added because of the material (i.e. Flametouched Iron) is automatically added. |
description | Enter the description that is on the examine window at the bottom. |
droplocation | This specifies information on where this drops. Use Template:DropLocation to specify it. IF there is more than one, put each on its own line starting with an asterisk. |
material | Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron). |
hardness | Enter the hardness shown in the examine window. |
durability | Enter the maximum durability value shown in the examine window. |
update | Which update was this item added to the game in. |
details | Enter any details that a player may need to know about this (i.e. if not working correctly, etc). |
upgradeable | If this item is upgradeable, use Template:ItemUpgrade. If there is more than one (i.e. it is in the middle of a crafting chain), include multiple templates in a bulleted list. |
restriction | This is used when there is some kind of restriction. If it is a trait (Lawful, Good, etc), use Template:ItemRequiredTrait. If there is a race restriction, use Template:ItemRestrictedRace. |
icon | The icon to use for this item, overrides the image using the item name |
image | Image file, use if the image doesn't change between heroic and epic types. Do not include extension. |
bug | Contains any information about a bug related to the item. Use Template:Bug |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.