Difference between revisions of "Template:Armor"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
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: | ||
< | <pre> | ||
{{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 = | |||
}} | |||
</ | </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:''' {{{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]
|
|
|
|
[[Category:{{{type}}}]]