Difference between revisions of "Template:Item"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<pre> | <pre> | ||
{{Template:Item | {{Template:Item | ||
Line 13: | Line 5: | ||
|type = | |type = | ||
|minlevel = | |minlevel = | ||
|binding = | |binding = | ||
|enchantments = | |enchantments = | ||
|description = | |description = | ||
|droplocation = | |droplocation = | ||
|material = | |material = | ||
|hardness = | |hardness = | ||
Line 23: | Line 15: | ||
|details = | |details = | ||
|upgradeable = | |upgradeable = | ||
|restriction = | |restriction = | ||
}} | }} | ||
</pre> | </pre> | ||
{{TemplateDocumentation | |||
|name = Item | |||
|description = This template is used to render information about an item that is not a weapon, armor, orb or shield. See [[Template:Weapon]] for weapons, [[Template:Armor]] for armor, [[Template:Orb]] for orbs and [[Template:Shield]] for shields. Example of the Template in Use: [[Pale Lavender Ioun Stone]]. | |||
|usesnamedparameters = true | |||
== | |parameter1name = name | ||
|parameter1description = The name of the item. | |||
|parameter1values = | |||
|parameter2name = type | |||
|parameter2description = What type of item is it. | |||
|parameter2values = | |||
* Goggles | |||
* Helmet | |||
* Necklace | |||
* Trinket | |||
* Cloak | |||
* Belt | |||
* Ring | |||
* Gloves | |||
* Boots | |||
* Bracers | |||
|parameter3name = minlevel | |||
|parameter3description = Enter the minimum level required for the item, or leave blank if there is none. | |||
|parameter3values = | |||
|parameter4name = binding | |||
|parameter4description = How is this item bound - leave blank it is unbound. | |||
|parameter4values = | |||
* btc for Bound to Character | |||
* bta for Bound to Account | |||
* btcoe for Bound to Character on Equip | |||
* btcoa for Bound to Character on Acquire | |||
* btaoe for Bound to Account on Equip | |||
* btaoa for Bound to Account on Acquire | |||
|parameter5name = enchantments | |||
|parameter5description = These are a bulleted list of templates (each on its own line starting with an asterisk) found in [[:Category:Item_Enchantment_Template]]. 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. | |||
|parameter5values = | |||
|parameter6name = description | |||
|parameter6description = Enter the description that is on the examine window at the bottom. | |||
|parameter6values = | |||
|parameter7name = droplocation | |||
|parameter7description = 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. | |||
|parameter7values = | |||
|parameter8name = material | |||
|parameter8description = Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron). | |||
|parameter8values = | |||
|parameter9name = hardness | |||
|parameter9description = Enter the hardness shown in the examine window. | |||
|parameter9values = | |||
|parameter10name = durability | |||
|parameter10description = Enter the maximum durability value shown in the examine window. | |||
|parameter10values = | |||
|parameter11name = update | |||
|parameter11description = Which update was this item added to the game in. | |||
|parameter11values = | |||
|parameter12name = details | |||
|parameter12description = Enter any details that a player may need to know about this (i.e. if not working correctly, etc). | |||
|parameter12values = | |||
|parameter13name = upgradeable | |||
|parameter13description = 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. | |||
|parameter13values = | |||
|parameter14name = restriction | |||
|parameter14description = This is used when there is some kind of restriction. If it is a trait (Lawful, Good, etc), use [[Template:RestrictedTrait]]. If there is a race restriction, use [[Template:RestrictedRace]]. | |||
|parameter14values = | |||
}} | |||
</noinclude> | </noinclude> | ||
<table class="item-table background-color"> | <table class="item-table background-color"> | ||
Line 54: | Line 104: | ||
<td> | <td> | ||
{{#if: {{{restriction|}}}|{{{restriction}}}<br>}} | {{#if: {{{restriction|}}}|{{{restriction}}}<br>}} | ||
'''Minimum Level:''' {{{minlevel}}}<br>{{ItemBinding|{{{binding}}}}}<br> | {{#if: {{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>{{ItemBinding|{{{binding}}}}}<br>}}} | ||
'''Enchantments:''' | '''Enchantments:''' | ||
{{{enchantments|}}}{{MaterialDR|{{{material}}}}} | {{{enchantments|}}}{{MaterialDR|{{{material}}}}} | ||
Line 73: | Line 123: | ||
{{#if: {{{droplocation|}}} | '''Drop Location:''' {{{droplocation}}}<br>}} | {{#if: {{{droplocation|}}} | '''Drop Location:''' {{{droplocation}}}<br>}} | ||
{{#if: {{{details|}}} | '''Extra Details:''' {{{details}}}<br>}} | {{#if: {{{details|}}} | '''Extra Details:''' {{{details}}}<br>}} | ||
{{#if: {{{upgradeable|}}} | '''Upgradeable:''' {{{upgradeable}}}<br>}} | {{#if: {{{upgradeable|}}} | '''Upgradeable:''' {{{upgradeable}}}<br>}} | ||
</td> | </td> | ||
</tr> | </tr> |
Revision as of 15:30, 15 May 2018
{{Template:Item |name = |type = |minlevel = |binding = |enchantments = |description = |droplocation = |material = |hardness = |durability = |update = |details = |upgradeable = |restriction = }}
Item[edit]
This template is used to render information about an item that is not a weapon, armor, orb or shield. See Template:Weapon for weapons, Template:Armor for armor, Template:Orb for orbs and Template:Shield for shields. 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. |
binding | How is this item bound - leave blank it is unbound. Possible Values:
|
enchantments | These are a bulleted list of templates (each on its own line starting with an asterisk) found in Category:Item_Enchantment_Template. 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:RestrictedTrait. If there is a race restriction, use Template:RestrictedRace. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
|
|
[[Category:{{{type}}}]] [[Category:Minimum Level {{{minlevel}}} Items]]