Difference between revisions of "Template:Armor"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 51: | Line 51: | ||
{{#if: {{{armorcheckpenalty|}}}|<tr style="text-align: left;"><td colspan="2">'''Armor Check Penalty:''' {{{armorcheckpenalty|}}}</td></tr>}} | {{#if: {{{armorcheckpenalty|}}}|<tr style="text-align: left;"><td colspan="2">'''Armor Check Penalty:''' {{{armorcheckpenalty|}}}</td></tr>}} | ||
{{#if: {{{spellfailure|}}}|<tr style="text-align: left;"><td colspan="2">'''Spell Failure:''' {{{spellfailure|}}}</td></tr>}} | {{#if: {{{spellfailure|}}}|<tr style="text-align: left;"><td colspan="2">'''Spell Failure:''' {{{spellfailure|}}}</td></tr>}} | ||
<tr style="text-align: left; font-weight: normal;"><td colspan="2">'''Enchantments:''' {{{enchantments|}}}{{MaterialDR|{{{material}}}}}</td></tr> | <tr style="text-align: left; font-weight: normal;"><td colspan="2">'''Enchantments:''' | ||
{{{enchantments|}}}{{MaterialDR|{{{material}}}}}</td></tr> | |||
<tr style="text-align: left; font-weight: normal;"><td colspan="2">{{Material|{{{material}}}|{{#if: {{{hardness|}}}|{{{hardness}}} |}}|{{#if: {{{durability|}}}|{{{durability}}}|}}}}</td></tr> | <tr style="text-align: left; font-weight: normal;"><td colspan="2">{{Material|{{{material}}}|{{#if: {{{hardness|}}}|{{{hardness}}} |}}|{{#if: {{{durability|}}}|{{{durability}}}|}}}}</td></tr> | ||
<tr style="text-align: left; font-weight: normal;"><td colspan="2">'''Description:''' ''{{{description}}}''</td></tr> | <tr style="text-align: left; font-weight: normal;"><td colspan="2">'''Description:''' ''{{{description}}}''</td></tr> | ||
Line 60: | Line 61: | ||
<tr><th style="padding-top:15px;padding-bottom:15px">[[File:{{{name}}}.png|300px|]]</th></tr> | <tr><th style="padding-top:15px;padding-bottom:15px">[[File:{{{name}}}.png|300px|]]</th></tr> | ||
<tr> | <tr> | ||
<td style="vertical-align: top; font-weight: normal; border: 1px solid #B0B5B8; padding: 15px;">'''Drop Location:''' {{{droplocation|}}} | <td style="vertical-align: top; font-weight: normal; border-top: 1px solid #B0B5B8; padding: 15px;">'''Drop Location:''' {{{droplocation|}}} | ||
{{#if: {{{details}}} | <br>'''Extra Details:''' {{{details}}}}}{{#if: {{{upgradeable|}}} | <br>'''Upgradeable:''' {{{upgradeable}}}}} | {{#if: {{{details}}} | <br>'''Extra Details:''' {{{details}}}}}{{#if: {{{upgradeable|}}} | <br>'''Upgradeable:''' {{{upgradeable}}}}} | ||
</td> | </td> |
Revision as of 19:12, 3 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 = |
|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}}}]]