Difference between revisions of "Template:Armor"

From DDO Compendium
Line 5: Line 5:
|type =
|type =
|minlevel =
|minlevel =
|absoluteminlevel =
|binding =
|binding =
|proficiency =
|proficiency =
Line 38: Line 39:
|parameter3description = Enter the minimum level required for the armor, or leave blank if there is none.
|parameter3description = Enter the minimum level required for the armor, or leave blank if there is none.
|parameter3values =  
|parameter3values =  
|parameter4name = binding
|parameter4name = absoluteminlevel
|parameter4description = How is this armor bound - leave blank it is unbound.
|parameter4description = Enter the minimum level required for the item if something is removed, or leave blank if there is none.
|parameter4values =  
|parameter4values =  
|parameter5name = binding
|parameter5description = How is this armor bound - leave blank it is unbound.
|parameter5values =
* btc for Bound to Character
* btc for Bound to Character
* bta for Bound to Account
* bta for Bound to Account
Line 47: Line 51:
* btaoe for Bound to Account on Equip
* btaoe for Bound to Account on Equip
* btaoa for Bound to Account on Acquire
* btaoa for Bound to Account on Acquire
|parameter5name = proficiency
|parameter6name = proficiency
|parameter5description = Enter the proficiency needed to wield this weapon
|parameter6description = Enter the proficiency needed to wield this weapon
|parameter5values =  
|parameter6values =  
* Light
* Light
* Medium
* Medium
* Heavy
* Heavy
|parameter6name = dexarmorbonus
|parameter7name = dexarmorbonus
|parameter6description = Enter the Armor Bonus w/Dex shown in the examine window.
|parameter7description = Enter the Armor Bonus w/Dex shown in the examine window.
|parameter6values =
|parameter7name = armorbonus
|parameter7description = Enter the armor bonus as shown on the examine window.  If this is a docent, use [[Template:DocentArmorBonus]] to get the special formatting.
|parameter7values =  
|parameter7values =  
|parameter8name = maxdex
|parameter8name = armorbonus
|parameter8description = Enter the Max Dex Bonus shown on the examine window.
|parameter8description = Enter the armor bonus as shown on the examine window.  If this is a docent, use [[Template:DocentArmorBonus]] to get the special formatting.
|parameter8values =  
|parameter8values =  
|parameter9name = armorcheckpenalty
|parameter9name = maxdex
|parameter9description = Enter the Armor Check Penalty, as shown on the examine window.
|parameter9description = Enter the Max Dex Bonus shown on the examine window.
|parameter9values =  
|parameter9values =  
|parameter10name = spellfailure
|parameter10name = armorcheckpenalty
|parameter10description = Enter the Spell Failure percent as shown on the examine window.
|parameter10description = Enter the Armor Check Penalty, as shown on the examine window.
|parameter10values =  
|parameter10values =  
|parameter11name = enchantments
|parameter11name = spellfailure
|parameter11description = These are a bulleted list of templates (each on its own line starting with an asterisk) found in [[:Category:Item_Enchantment_Template|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.
|parameter11description = Enter the Spell Failure percent as shown on the examine window.
|parameter11values =  
|parameter11values =  
|parameter12name = description
|parameter12name = enchantments
|parameter12description = Enter the description that is on the examine window at the bottom.
|parameter12description = These are a bulleted list of templates (each on its own line starting with an asterisk) found in [[:Category:Item_Enchantment_Template|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.
|parameter12values =  
|parameter12values =  
|parameter13name = droplocation
|parameter13name = description
|parameter13description = 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.
|parameter13description = Enter the description that is on the examine window at the bottom.
|parameter13values =  
|parameter13values =  
|parameter14name = material
|parameter14name = droplocation
|parameter14description = Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron).
|parameter14description = 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.
|parameter14values =  
|parameter14values =  
|parameter15name = hardness
|parameter15name = material
|parameter15description = Enter the hardness shown in the examine window.
|parameter15description = Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron).
|parameter15values =  
|parameter15values =  
|parameter16name = durability
|parameter16name = hardness
|parameter16description = Enter the maximum durability value shown in the examine window.
|parameter16description = Enter the hardness shown in the examine window.
|parameter16values =  
|parameter16values =  
|parameter17name = update
|parameter17name = durability
|parameter17description = Which update was this item added to the game in.
|parameter17description = Enter the maximum durability value shown in the examine window.
|parameter17values =  
|parameter17values =  
|parameter18name = details
|parameter18name = update
|parameter18description = Enter any details that a player may need to know about this (i.e. if not working correctly, etc).
|parameter18description = Which update was this item added to the game in.
|parameter18values =  
|parameter18values =  
|parameter19name = upgradeable
|parameter19name = details
|parameter19description = 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.
|parameter19description = Enter any details that a player may need to know about this (i.e. if not working correctly, etc).
|parameter19values =  
|parameter19values =  
|parameter20name = restriction
|parameter20name = upgradeable
|parameter20description = 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]].
|parameter20description = 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.
|parameter20values =  
|parameter20values =  
|parameter21name = icon
|parameter21name = restriction
|parameter21description = The name of the icon fileUse this if it is a duplicate of another piece of armor.
|parameter21description = This is used when there is some kind of restrictionIf it is a trait (Lawful, Good, etc), use [[Template:ItemRequiredTrait]]. If there is a race restriction, use [[Template:ItemRestrictedRace]].
|parameter21values =  
|parameter21values =  
|parameter22name = icon
|parameter22description = The name of the icon file.  Use this if it is a duplicate of another piece of armor.
|parameter22values =
}}
}}
</noinclude><includeonly>
</noinclude><includeonly>
Line 125: Line 129:
<td>
<td>
{{#ifeq: {{{type|}}}|Docent|'''Race Required''': Warforged or Bladeforged|{{#if: {{{proficiency}}} | '''{{{proficiency}}} Armor Proficiency'''[[Category:Armor with {{{proficiency}}} Proficiency]]}}}}<br>
{{#ifeq: {{{type|}}}|Docent|'''Race Required''': Warforged or Bladeforged|{{#if: {{{proficiency}}} | '''{{{proficiency}}} Armor Proficiency'''[[Category:Armor with {{{proficiency}}} Proficiency]]}}}}<br>
{{#if: {{{restriction|}}}|{{{restriction}}}<br>}}{{#if: {{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>}}{{ItemBinding|{{{binding}}}}}<br>'''Armor Bonus w/Dex:''' <span style="color:lightgreen">{{#iferror:{{#ifexpr: {{{dexarmorbonus}}} < 0 ||+}}||{{#ifexpr: {{{dexarmorbonus}}} < 0 ||+}}}}{{{dexarmorbonus}}}</span><br>'''Armor Bonus:'''
{{#if: {{{restriction|}}}|{{{restriction}}}<br>}}{{#if: {{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>}}>}}{{#if: {{{absoluteminlevel|}}}|'''Absolute Minimum Level:''' {{{absoluteminlevel}}}<br>}}{{ItemBinding|{{{binding}}}}}<br>'''Armor Bonus w/Dex:''' <span style="color:lightgreen">{{#iferror:{{#ifexpr: {{{dexarmorbonus}}} < 0 ||+}}||{{#ifexpr: {{{dexarmorbonus}}} < 0 ||+}}}}{{{dexarmorbonus}}}</span><br>'''Armor Bonus:'''
<span style="color:lightgreen">{{#iferror:{{#ifexpr: {{{armorbonus}}} < 0 ||+}}|
<span style="color:lightgreen">{{#iferror:{{#ifexpr: {{{armorbonus}}} < 0 ||+}}|
{{{armorbonus}}}|{{#ifexpr: {{{armorbonus}}} < 0 ||+}}{{{armorbonus}}}}}</span><br>{{#if: {{{maxdex|}}}|'''Max Dex Bonus:''' {{{maxdex|}}}<br>}}{{#if: {{{armorcheckpenalty|}}}|'''Armor Check Penalty:''' <span style="color:yellow">{{{armorcheckpenalty|}}}</span><br>}}{{#if: {{{spellfailure|}}}|'''Spell Failure:''' <span style="color:yellow">{{{spellfailure|}}}</span><br>}}
{{{armorbonus}}}|{{#ifexpr: {{{armorbonus}}} < 0 ||+}}{{{armorbonus}}}}}</span><br>{{#if: {{{maxdex|}}}|'''Max Dex Bonus:''' {{{maxdex|}}}<br>}}{{#if: {{{armorcheckpenalty|}}}|'''Armor Check Penalty:''' <span style="color:yellow">{{{armorcheckpenalty|}}}</span><br>}}{{#if: {{{spellfailure|}}}|'''Spell Failure:''' <span style="color:yellow">{{{spellfailure|}}}</span><br>}}

Revision as of 01:54, 2 September 2018

{{Template:Armor
|name =
|type =
|minlevel =
|absoluteminlevel = 
|binding =
|proficiency =
|dexarmorbonus = 
|armorbonus = 
|maxdex = 
|armorcheckpenalty = 
|spellfailure = 
|enchantments = 
|description =
|droplocation = 
|material = 
|hardness =
|durability =
|update = 
|details = 
|upgradeable = 
|restriction = 
|icon=
}}

Armor[edit]

This template is used to render information about armor. Examples of the Template in Use: Docent of the Tomb and Robe of Duality.

Usage[edit]

Parameter Documentation
nameThe name of the armor.
typeWhat type of armor is it. Specifying Docent here adds some Docent specific descriptions.
minlevelEnter the minimum level required for the armor, or leave blank if there is none.
absoluteminlevelEnter the minimum level required for the item if something is removed, or leave blank if there is none.
bindingHow is this armor 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
proficiencyEnter the proficiency needed to wield this weapon
Possible Values:
  • Light
  • Medium
  • Heavy
dexarmorbonusEnter the Armor Bonus w/Dex shown in the examine window.
armorbonusEnter the armor bonus as shown on the examine window. If this is a docent, use Template:DocentArmorBonus to get the special formatting.
maxdexEnter the Max Dex Bonus shown on the examine window.
armorcheckpenaltyEnter the Armor Check Penalty, as shown on the examine window.
spellfailureEnter the Spell Failure percent as shown on the examine window.
enchantmentsThese 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.
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:ItemRequiredTrait. If there is a race restriction, use Template:ItemRestrictedRace.
iconThe name of the icon file. Use this if it is a duplicate of another piece of armor.

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.