Difference between revisions of "Template:Armor"

From DDO Compendium
 
(43 intermediate revisions by 2 users not shown)
Line 22: Line 22:
|details =
|details =
|upgradeable =
|upgradeable =
|upgradedfrom =
|restriction =
|restriction =
|icon=
|icon=
Line 29: Line 30:
|weight=
|weight=
|basevalue=
|basevalue=
|emptyaugments=
|itemsets=
|otherversions=
|link=
|exclusive=
}}
}}
</pre>
</pre>
Line 46: Line 52:
* Heavy Armor
* Heavy Armor
* Docent
* Docent
* Robe
|parameter3name = minlevel
|parameter3name = minlevel
|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.
Line 108: Line 113:
|parameter27name = basevalue
|parameter27name = basevalue
|parameter27description = This is the base value as shown in the examine window. Use [[Template:Price]].
|parameter27description = This is the base value as shown in the examine window. Use [[Template:Price]].
|parameter28name = emptyaugments
|parameter28description = Any Empty augments that this item has.  Use [[Template:EmptyAugments]]
|parameter29name = itemsets
|parameter29description = The item sets that this item has. Use [[Template:ItemSetList]]
|parameter30name = otherversions
|parameter30description = Other related version (i.e. heroic vs legendary or epic, feytwisted, etc)
|parameter31name = link
|parameter31description = The link to this page, if it isn't the same as the name.
|parameter32name = exclusive
|parameter32description = Use [[Template:Exclusive]]
|parameter33name = upgradedfrom
|parameter33description = A list of items this was upgraded from.
}}
}}
</noinclude>
</noinclude>
<includeonly><div class="row"><div class="col-sm-6"><table class="table table-bordered table-striped table-condensed">
<includeonly>{{#ifeq:{{#dplvar:rendertype}}|ingredient|{{RenderIngredient|{{{name}}}|{{{icon|}}}|{{{link|}}}}}|{{#dplvar:set|itembasevalue|{{{basevalue}}}}}<div class="row"><div class="col-sm-6"><table class="table table-bordered table-striped table-condensed">
<tr>
<tr>
<td>
<td>
<table class="table table-condensed">
<table class="table table-condensed">
<tr>
<tr>
<td class="col-sm-1">{{IconImage|{{{name}}}|{{{icon|}}}}}</td>
<td class="col-sm-1">{{IconImageWithLink|{{{name}}}|{{{icon|}}}}}</td>
<td class="col-sm-11 center">'''{{{name}}}'''<br>[[:Category:{{{type}}}|{{{type}}}]]</td>
<td class="col-sm-11 center"><span class="big">{{{name}}}</span><br>[[:Category:{{{type}}}|{{{type}}}]][[Category:{{{type|Armor}}}]]</td>
</tr>
</tr>
</table>
</table>
Line 122: Line 139:
</tr>
</tr>
<tr>
<tr>
<td>{{#ifeq: {{{type|}}}|Docent|'''Race Required:''' Warforged or Bladeforged<br>'''Pet Race Required:''' Iron Defender|{{#if: {{{proficiency}}}|'''{{{proficiency}}} Armor Proficiency''' [[Category:Armor with {{{proficiency}}} Proficiency]]}}<br>}}{{#if:{{{restriction|}}}|{{{restriction}}}<br>}}{{#if:{{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>}}{{#if: {{{absoluteminlevel|}}}|'''Absolute Minimum Level:''' {{{absoluteminlevel}}}<br>}}
<td>{{#ifeq: {{{type|}}}|Docent|{{#if: {{{restriction|}}}||'''Race Required:''' Warforged or Bladeforged<br>'''Pet Race Required:''' Iron Defender<br>}}|{{#if: {{{proficiency}}}|'''{{{proficiency}}} Armor Proficiency''' [[Category:{{{proficiency|Unknown}}} Armor Proficiency]]}}<br>}}{{#if:{{{restriction|}}}|{{{restriction}}}<br>}}{{#if:{{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>}}{{#if: {{{absoluteminlevel|}}}|'''Absolute Minimum Level:''' {{{absoluteminlevel}}}<br>}}{{ItemBinding|{{{binding}}}}}{{#if: {{{exclusive|}}}|<br>{{{exclusive}}}}}
{{ItemBinding|{{{binding}}}}}
{{#if: {{{armorbonus|}}}|{{#iferror:{{#ifexpr: {{{armorbonus}}} < 0 ||+}}|<br>'''Armor Bonus:'''
{{#if: {{{armorbonus|}}}|'''Armor Bonus:'''<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>}}</td>
{{{armorbonus}}}|<br>'''Armor Bonus:'''&nbsp;<span style="color:lightgreen">{{#ifexpr: {{{armorbonus}}} < 0 ||+}}{{{armorbonus}}}</span>}}<br>}}{{#if: {{{maxdex|}}}|'''Max Dex Bonus:''' {{{maxdex|}}}<br>[[Category:{{{type|Armor}}} with Max Dex Bonus {{{maxdex}}}]]}}{{#if: {{{armorcheckpenalty|}}}|'''Armor Check Penalty:''' <span style="color:yellow">{{{armorcheckpenalty}}}</span><br>[[Category:{{{type|Armor}}} with Armor Check Penalty {{{armorcheckpenalty}}}]]}}{{#if: {{{spellfailure|}}}|'''Spell Failure:''' <span style="color:yellow">{{{spellfailure|}}}</span><br>[[Category:{{{type|Armor}}} with Spell Failure {{{spellfailure}}}]]}}</td>
</tr>
<tr>
<td>
'''Enchantments:'''&nbsp;
{{{enchantments|}}}{{ItemMaterialDR|{{{material}}}}}
</td>
</tr>
</tr>
{{#if: {{{enchantments|}}}|<tr><td>'''Enchantments:'''&nbsp;
{{{enchantments|}}}{{ItemMaterialDR|{{{material}}}}}</td></tr>}}{{#if: {{{emptyaugments|}}}|<tr><td>{{{emptyaugments}}}</td></tr>}}{{#if: {{{itemsets|}}}|<tr><td>
{{{itemsets}}}</td></tr>}}
<tr>
<tr>
<td>
<td>
Line 162: Line 176:
<table class="table table-bordered table-striped table-condensed">
<table class="table table-bordered table-striped table-condensed">
<tr style="background: rgb(0,0,0);">
<tr style="background: rgb(0,0,0);">
<td>[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|center|upright|]]</td>
<td>[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|center|300px|]]</td>
</tr>
</tr>
<tr>
{{#if: {{{droplocation|}}} |<tr><td class="extra-details">'''Where To Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}</td></tr>|[[Category:{{{type|Armor}}} without a Drop Location]]}}
<td>{{#if: {{{droplocation|}}} | '''Where To Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}
{{#if: {{{details|}}} | <tr><td class="extra-details">'''Extra Details:'''&nbsp;{{WrapMultiLine|{{{details}}}}}</td></tr>}}{{#if: {{{upgradeable|}}} | <tr><td class="extra-details">'''Upgradeable:'''&nbsp;{{WrapMultiLine|{{{upgradeable}}}}}</td></tr>}}{{#if: {{{upgradedfrom|}}} | <tr><td class="extra-details">'''Upgraded From:'''&nbsp;{{WrapMultiLine|{{{upgradedfrom}}}}}</td></tr>}}{{#if: {{{bug|}}} |<tr><td class="extra-details">'''Bugs:'''&nbsp;{{WrapMultiLine|{{{bug}}}}}</td></tr>}}{{#if: {{{otherversions|}}} | <tr><td class="extra-details topborder">'''Related Items:'''{{WrapMultiLine|{{{otherversions}}}}}</td></tr>}}{{#if: {{{replaced|}}} | <tr><td class="extra-details highlighted">{{{replaced}}}</td></tr>}}</table></div></div>{{#if: {{{update|}}} | [[Category:Update {{{update|}}} {{{type|Armor}}}]][[Category:Update {{{update|}}} Loot]] | [[Category:{{{type|Armor}}} without an Update]]}}{{#if: {{{minlevel|}}}|[[Category:Minimum Level {{{minlevel}}} {{{type|Armor}}}]][[Category:Minimum Level {{{minlevel}}} Items]]|[[Category:{{{type|Armor}}} with No Minimum Level]]}}[[Category:{{{type|Armor}}}]]
&nbsp;|[[Category:Items without a Drop Location]]}}{{#if: {{{details|}}} | {{#if: {{{droplocation|}}}|<br><br>}}'''Extra Details:'''&nbsp;{{WrapMultiLine|{{{details}}}}}}}{{#if: {{{upgradeable|}}} | {{#if: {{{droplocation|}}}{{{details|}}}|<br><br>}}'''Upgradeable:'''&nbsp;{{WrapMultiLine|{{{upgradeable}}}}}}}{{#if: {{{bug|}}} |{{#if: {{{droplocation|}}}{{{details|}}}{{{upgradeable|}}}|<br><br>}} '''Bugs:'''&nbsp;{{WrapMultiLine|{{{bug}}}
{{#seo:
}}}}</td></tr>
|type=website
{{#if: {{{replaced|}}} | <tr><td class="extra-details topborder">{{{replaced}}}</td></tr>}}
|image={{PageExists|File:{{{name}}}.png|{{filepath:{{{name}}}.png|nowiki}}|{{PageExists|File:{{{name}}} Icon.png|{{filepath:{{{name}}} Icon.png|nowiki}}}}}}
</table></div></div>[[Category:{{{type}}}]]{{#if: {{{update|}}} | [[Category:Update {{{update|}}} Loot]] | [[Category:Items without an Update]]}}{{#if: {{{minlevel|}}}|[[Category:Minimum Level {{{minlevel}}} Items]]|[[Category:Items with No Minimum Level]]}}[[Category:Armor]]</includeonly>
|description=Armor Type: {{{type}}}
Min Level: {{{minlevel}}}
Req'd Proficiency: {{{proficiency}}}
Material: {{{material}}}
Drop Location: {{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{droplocation}}}|[|}}|]|}}|Category:{{{type|Armor}}}|}}|{|}}|}|}}|DropLocation{{!}}|}}|{{!}}|, }}
|site_name={{SITENAME}}
|published_time={{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}
|theme-color=#FF0000
|keywords=Dungeons,and,Dragons,Online,DDO,{{#replace:{{{name}}}| |,}},{{#replace:{{{type|}}}| |,}},{{#replace:{{{droplocation|}}}| |,}},{{#replace:{{{upgradeable|}}}| |,}}
}}}}</includeonly>

Latest revision as of 01:07, 24 September 2022

{{Template:Armor
|name =
|type =
|minlevel =
|absoluteminlevel =
|binding =
|proficiency =
|dexarmorbonus =
|armorbonus =
|maxdex =
|armorcheckpenalty =
|spellfailure =
|enchantments =
|description =
|droplocation =
|material =
|hardness =
|durability =
|update =
|details =
|upgradeable =
|upgradedfrom =
|restriction =
|icon=
|image=
|bug=
|replaced=
|weight=
|basevalue=
|emptyaugments=
|itemsets=
|otherversions=
|link=
|exclusive=
}}

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. This is what it say under the name on the examine window, not what it is made of.
Possible Values:
  • Cloth
  • Robe
  • Light Armor
  • Medium Armor
  • Heavy Armor
  • Docent
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. (THIS IS NO LONGER SHOWN)
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 one of the drop location templates to specify it. The list of templates can be found here: Category:DropLocation Templates. 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.
imageImage file, use if the image doesn't change between heroic and epic types. Do not include extension.
bugContains any information about a bug related to the item. Use Template:Bug
replacedContains information about any replacement that SSG did of this weapon. Use Template:ItemReplacement
weightThis is the weight, in lbs, as shown on the examine window. The "lbs" will be added.
basevalueThis is the base value as shown in the examine window. Use Template:Price.
emptyaugmentsAny Empty augments that this item has. Use Template:EmptyAugments
itemsetsThe item sets that this item has. Use Template:ItemSetList
otherversionsOther related version (i.e. heroic vs legendary or epic, feytwisted, etc)
linkThe link to this page, if it isn't the same as the name.
exclusiveUse Template:Exclusive
upgradedfromA list of items this was upgraded from.

Template

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