Difference between revisions of "Template:Armor"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
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 = | |parameter4name = absoluteminlevel | ||
|parameter4description = | |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 | ||
| | |parameter6name = proficiency | ||
| | |parameter6description = Enter the proficiency needed to wield this weapon | ||
| | |parameter6values = | ||
* Light | * Light | ||
* Medium | * Medium | ||
* Heavy | * Heavy | ||
| | |parameter7name = dexarmorbonus | ||
| | |parameter7description = Enter the Armor Bonus w/Dex shown in the examine window. | ||
|parameter7values = | |parameter7values = | ||
|parameter8name = | |parameter8name = armorbonus | ||
|parameter8description = Enter the | |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 = | |parameter9name = maxdex | ||
|parameter9description = Enter the | |parameter9description = Enter the Max Dex Bonus shown on the examine window. | ||
|parameter9values = | |parameter9values = | ||
|parameter10name = | |parameter10name = armorcheckpenalty | ||
|parameter10description = Enter the | |parameter10description = Enter the Armor Check Penalty, as shown on the examine window. | ||
|parameter10values = | |parameter10values = | ||
|parameter11name = | |parameter11name = spellfailure | ||
|parameter11description = | |parameter11description = Enter the Spell Failure percent as shown on the examine window. | ||
|parameter11values = | |parameter11values = | ||
|parameter12name = | |parameter12name = enchantments | ||
|parameter12description = | |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 = | |parameter13name = description | ||
|parameter13description = | |parameter13description = Enter the description that is on the examine window at the bottom. | ||
|parameter13values = | |parameter13values = | ||
|parameter14name = | |parameter14name = droplocation | ||
|parameter14description = | |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 = | |parameter15name = material | ||
|parameter15description = Enter the | |parameter15description = Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron). | ||
|parameter15values = | |parameter15values = | ||
|parameter16name = | |parameter16name = hardness | ||
|parameter16description = Enter the | |parameter16description = Enter the hardness shown in the examine window. | ||
|parameter16values = | |parameter16values = | ||
|parameter17name = | |parameter17name = durability | ||
|parameter17description = | |parameter17description = Enter the maximum durability value shown in the examine window. | ||
|parameter17values = | |parameter17values = | ||
|parameter18name = | |parameter18name = update | ||
|parameter18description = | |parameter18description = Which update was this item added to the game in. | ||
|parameter18values = | |parameter18values = | ||
|parameter19name = | |parameter19name = details | ||
|parameter19description = | |parameter19description = Enter any details that a player may need to know about this (i.e. if not working correctly, etc). | ||
|parameter19values = | |parameter19values = | ||
|parameter20name = | |parameter20name = upgradeable | ||
|parameter20description = | |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 = | |parameter21name = restriction | ||
|parameter21description = | |parameter21description = 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]]. | ||
|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 | |
name | The name of the armor. |
type | What type of armor is it. Specifying Docent here adds some Docent specific descriptions. |
minlevel | Enter the minimum level required for the armor, 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 armor bound - leave blank it is unbound. Possible Values:
|
proficiency | Enter the proficiency needed to wield this weapon Possible Values:
|
dexarmorbonus | Enter the Armor Bonus w/Dex shown in the examine window. |
armorbonus | Enter the armor bonus as shown on the examine window. If this is a docent, use Template:DocentArmorBonus to get the special formatting. |
maxdex | Enter the Max Dex Bonus shown on the examine window. |
armorcheckpenalty | Enter the Armor Check Penalty, as shown on the examine window. |
spellfailure | Enter the Spell Failure percent as shown on the examine window. |
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 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.