Difference between revisions of "Template:Item"

From DDO Compendium
Line 1: Line 1:
<noinclude>
<noinclude>
== How To Use This Template ==
The basic template for items in DDO. See [[Template:Weapon]] for weapons and [[Template:Armor]] for anything that is equipped to the Armor slot.
Orbs, Shields, and other items that can be wielded but are not weapons are TBD.
All generic equippable items (non-weapon, non-armor, non-shield) on this wiki should start with a blank page containing the following:
<pre>
<pre>
{{Template:Item
{{Template:Item
Line 13: Line 5:
|type =
|type =
|minlevel =
|minlevel =
|binding = (Blank for Unbound or one of: BtC = Bound to Character, BtA = Bound to Account, BtCoE = Bound to Character on Equip, BtCoA = Bound to Character on Aquire, BtAoE = Bound to Account on Equip, BtAoA = Bound to Account on Aquire)
|binding =  
|enchantments =
|enchantments =
|description =
|description =
|droplocation = (If there is one, put it on this line using template:droplocation, otherwise put on a new line and lead each with and asterisk)
|droplocation =  
|material =
|material =
|hardness =
|hardness =
Line 23: Line 15:
|details =
|details =
|upgradeable =
|upgradeable =
|restriction = use template:restrictedtrait or template:requiredrace
|restriction =  
}}
}}
</pre>
</pre>
 
{{TemplateDocumentation
Fill in the information, using a completed item - such as [[Pale Lavender Ioun Stone]] - for an example. When you preview or save the page, it will format itself!
|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
== The Template ==
|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:'''&nbsp;{{{droplocation}}}<br>}}
{{#if: {{{droplocation|}}} | '''Drop Location:'''&nbsp;{{{droplocation}}}<br>}}
{{#if: {{{details|}}} | '''Extra Details:''' {{{details}}}<br>}}
{{#if: {{{details|}}} | '''Extra Details:''' {{{details}}}<br>}}
{{#if: {{{upgradeable|}}} | '''Upgradeable:''' {{{upgradeable}}}<br>}}
{{#if: {{{upgradeable|}}} | '''Upgradeable:'''&nbsp;{{{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
nameThe name of the item.
typeWhat type of item is it.
Possible Values:
  • Goggles
  • Helmet
  • Necklace
  • Trinket
  • Cloak
  • Belt
  • Ring
  • Gloves
  • Boots
  • Bracers
minlevelEnter the minimum level required for the item, or leave blank if there is none.
bindingHow is this item bound - leave blank it is unbound.
Possible Values:
  • 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
enchantmentsThese 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.
descriptionEnter the description that is on the examine window at the bottom.
droplocationThis 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.
materialEnter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron).
hardnessEnter the hardness shown in the examine window.
durabilityEnter the maximum durability value shown in the examine window.
updateWhich update was this item added to the game in.
detailsEnter any details that a player may need to know about this (i.e. if not working correctly, etc).
upgradeableIf 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.
restrictionThis 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.


[[File:{{{name}}}_Icon.png|link=|40px|x40px|]]

{{{name}}}
[[:Category:{{{type}}}|{{{type}}}]]

} Enchantments: Template:MaterialDR

[[File:{{{name}}}_Icon.png|link=File:{{{name}}}_Icon.png|36px|x36px|]]{{{name}}}
Binding: Unbound




Description: {{{description}}}


[[Category:{{{type}}}]] [[Category:Minimum Level {{{minlevel}}} Items]]