Difference between revisions of "Template:Armor"

From DDO Compendium
Line 4: Line 4:
All armor on this wiki should start with a blank page containing the following:
All armor on this wiki should start with a blank page containing the following:


<table class="plainlinks" style="width: 50%; background-color: #000000; border: 1px solid #B0B5B8; padding: 15px;">
<pre>
<tr><td><nowiki>{{Template:Armor</nowiki></td></tr>
{{Template:Armor
<tr><td>|name = </td></tr>
|name =  
<tr><td>|type = </td></tr>
|type =  
<tr><td>|proficiency = </td></tr>
|proficiency =  
<tr><td>|minlevel = </td></tr>
|minlevel =  
<tr><td>|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)</td></tr>
|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)
<tr><td>|dexarmorbonus = </td></tr>
|dexarmorbonus =  
<tr><td>|armorbonus = </td></tr>
|armorbonus =  
<tr><td>|maxdex = </td></tr>
|maxdex =  
<tr><td>|armorcheckpenalty = </td></tr>
|armorcheckpenalty =  
<tr><td>|spellfailure = </td></tr>
|spellfailure =  
<tr><td>|enchantments = </td></tr>
|enchantments =  
<tr><td>* Lead each new line of Enchantments with an Asterisk</td></tr>
* Lead each new line of Enchantments with an Asterisk
<tr><td>|material = (Just put type, will auto link)</td></tr>
|material = (Just put type, will auto link)
<tr><td>|hardness    = </td></tr>
|hardness    =  
<tr><td>|durability  = </td></tr>
|durability  =  
<tr><td>|description = </td></tr>
|description =  
<tr><td>|update = </td></tr>
|update =  
<tr><td>|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)</td></tr>
|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)
<tr><td>|details = </td></tr>
|details =  
<tr><td>|upgradeable =</td></tr>
|upgradeable =
<tr><td>}}</td></tr>
}}
</table>
</pre>


Fill in the information, using a completed armor for an example. When you preview or save the page, it will format itself!
Fill in the information, using a completed armor for an example. When you preview or save the page, it will format itself!
Line 34: Line 34:
== The Template ==
== The Template ==


</noinclude><table class="plainlinks" style="width: 100%; background-color: #000; border: 1px solid #B0B5B8; padding: 15px"><tr><td style="width: 50%; vertical-align: top; border: 1px solid #B0B5B8; padding: 10px"><table class="plainlinks" style="width: 100%;background-color: #000;font-weight: normal;"><tr><td rowspan="2" style="text-align: left;">[[File:{{{name}}}_Icon.png|link=|40px|x40px|]]</td>
</noinclude>
<table class="item-table background-color">
<tr>
<td class="item-info-side">
<table class="background-color">
<tr>
<td>
<table class="background-color">
<tr>
<td class="icon">
<!-- Icon Image -->
[[File:{{{name}}}_Icon.png|link=|40px|x40px|]]
</td>
<td class="title">
'''{{{name}}}'''<br>[[:Category:{{{type}}}|{{{type}}}]]
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
{{#ifeq: {{{type|}}}|Docent|'''Race Required''': Warforged or Bladeforged|{{#if: {{{proficiency}}} | '''{{{proficiency}}} Armor Proficiency'''[[Category:Armor with {{{proficiency}}} Proficiency]]}}}}<br>
{{#if: {{{restriction|}}}|{{{restriction}}}<br>}}
'''Minimum Level:''' {{{minlevel}}}<br>{{ItemBinding|{{{binding}}}}}<br>
'''Armor Bonus w/Dex:''' {{{dexarmorbonus}}}<br>
'''Armor Bonus:''' {{{armorbonus}}}<br>
{{#if: {{{maxdex|}}}|'''Max Dex Bonus:''' {{{maxdex|}}}<br>}}
{{#if: {{{armorcheckpenalty|}}}|'''Armor Check Penalty:''' {{{armorcheckpenalty|}}}<br>}}
{{#if: {{{spellfailure|}}}|'''Spell Failure:''' {{{spellfailure|}}}<br>}}'''Enchantments:'''
{{{enchantments|}}}{{MaterialDR|{{{material}}}}}
{{Material|{{{material}}}|{{#if: {{{hardness|}}}|{{{hardness}}} |}}|{{#if: {{{durability|}}}|{{{durability}}}|}}}}
<br>
<br>
'''Description:''' ''{{{description}}} ''
</td>
</tr>
</table>
</td>
<td class="item-image-side" style="vertical-align:top">
<table class="item-image-table background-color" >
<tr><td class="item-image">[[File:{{{name}}}.png|300px|]]</td></tr>
<tr>
<td class="extra-details">
{{#if: {{{droplocation|}}} | '''Drop Location:'''&nbsp;{{{droplocation}}}<br>}}
{{#if: {{{details|}}} | '''Extra Details:''' {{{details}}}<br>}}
{{#if: {{{upgradeable|}}} | '''Upgradeable:''' {{{upgradeable}}}<br>}}
</td>
</tr>
</table>
</td>
</tr>
</table>
 
 
<table class="plainlinks" style="width: 100%; background-color: #000; border: 1px solid #B0B5B8; padding: 15px"><tr><td style="width: 50%; vertical-align: top; border: 1px solid #B0B5B8; padding: 10px"><table class="plainlinks" style="width: 100%;background-color: #000;font-weight: normal;"><tr><td rowspan="2" style="text-align: left;">[[File:{{{name}}}_Icon.png|link=|40px|x40px|]]</td>
<td style="font-size: 120%;text-align: center;">{{{name}}}</td></tr><tr><td style="font-weight: normal;text-align: center;">[[:Category:{{{type}}}|{{{type}}}]]</td></tr><tr style="text-align: left;"><td colspan="2">'''Minimum Level:''' {{{minlevel}}}</td></tr>
<td style="font-size: 120%;text-align: center;">{{{name}}}</td></tr><tr><td style="font-weight: normal;text-align: center;">[[:Category:{{{type}}}|{{{type}}}]]</td></tr><tr style="text-align: left;"><td colspan="2">'''Minimum Level:''' {{{minlevel}}}</td></tr>
<tr style="text-align: left;"><td colspan="2">{{ItemBinding|{{{binding}}}}}</td></tr><tr style="text-align: left;"><td colspan="2">{{#ifeq: {{{type|}}}|Docent|'''Race Required''': Warforged or Bladeforged|{{#if: {{{proficiency}}} | '''{{{proficiency}}} Armor Proficiency'''[[Category:Armor with {{{proficiency}}} Proficiency]]}}}}</td></tr><tr style="text-align: left;"><td colspan="2">'''Armor Bonus w/Dex:''' {{{dexarmorbonus}}}</td></tr><tr style="text-align: left;"><td colspan="2">'''Armor Bonus:'''  
<tr style="text-align: left;"><td colspan="2">{{ItemBinding|{{{binding}}}}}</td></tr><tr style="text-align: left;"><td colspan="2">{{#ifeq: {{{type|}}}|Docent|'''Race Required''': Warforged or Bladeforged|{{#if: {{{proficiency}}} | '''{{{proficiency}}} Armor Proficiency'''[[Category:Armor with {{{proficiency}}} Proficiency]]}}}}</td></tr><tr style="text-align: left;"><td colspan="2">'''Armor Bonus w/Dex:''' {{{dexarmorbonus}}}</td></tr><tr style="text-align: left;"><td colspan="2">'''Armor Bonus:'''  

Revision as of 18:05, 9 May 2018

How To Use This Template[edit]

All armor on this wiki should start with a blank page containing the following:

{{Template:Armor
|name = 
|type = 
|proficiency = 
|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)
|dexarmorbonus = 
|armorbonus = 
|maxdex = 
|armorcheckpenalty = 
|spellfailure = 
|enchantments = 
* Lead each new line of Enchantments with an Asterisk
|material = (Just put type, will auto link)
|hardness     = 
|durability   = 
|description = 
|update = 
|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)
|details = 
|upgradeable =
}}

Fill in the information, using a completed armor for an example. When you preview or save the page, it will format itself!


The Template[edit]

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

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

{{{proficiency}}} Armor Proficiency[[Category:Armor with {{{proficiency}}} Proficiency]]

Minimum Level: {{{minlevel}}}
Unbound
Armor Bonus w/Dex: {{{dexarmorbonus}}}
Armor Bonus: {{{armorbonus}}}


Enchantments: Template:MaterialDR

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




Description: {{{description}}}

[[File:{{{name}}}.png|300px|]]



[[Category:{{{type}}}]]