Difference between revisions of "Template:Shield"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 143: | Line 143: | ||
<td> | <td> | ||
{{#if: {{{restriction|}}}|{{{restriction}}}<br>}} | {{#if: {{{restriction|}}}|{{{restriction}}}<br>}} | ||
{{#if: {{{proficiency}}} | {{#ifeq: {{lc:{{{type}}}}}|orb|'''{{{proficiency}}}'''|'''{{{proficiency}}} Shield Proficiency'''[[Category:Shield with {{{proficiency}}} Proficiency]]}}<br>}} | {{#if: {{{proficiency}}} | {{#ifeq: {{lc:{{{type}}}}}|orb|'''{{{proficiency}}}'''|'''{{{proficiency}}} Shield Proficiency'''[[Category:Shield with {{{proficiency}}} Proficiency]]}}<br>}}>}}{{#if: {{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>}}{{ItemBinding|{{{binding}}}}}<br> | ||
'''Minimum Level:''' {{{minlevel}}}<br>{{ItemBinding|{{{binding}}}}}<br> | |||
'''Shield Bonus:''' <span style="color:lightgreen">{{#ifexpr: {{{shieldbonus}}} < 0 ||+}}{{{shieldbonus}}}</span><br>'''Damage Reduction (DR):''' | '''Shield Bonus:''' <span style="color:lightgreen">{{#ifexpr: {{{shieldbonus}}} < 0 ||+}}{{{shieldbonus}}}</span><br>'''Damage Reduction (DR):''' | ||
<span style="color:lightgreen">{{{dr}}}</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>}} | <span style="color:lightgreen">{{{dr}}}</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 16:18, 29 May 2018
{{Template:Shield |name = |type = |minlevel = |binding = |proficiency = |shieldbonus = |maxdex = |armorcheckpenalty = |spellfailure = |dr = |basedamagerating = |damage = |damagetype = |critprofile = |attackmod = |damagemod = |enchantments = |description = |droplocation = |material = |hardness = |durability = |update = |details = |upgradeable = |restriction= }}
Shield[edit]
This template is used to render information about a shield. Examples of the Template in Use: Interogator's Shield.
Usage[edit]
Parameter Documentation | |
name | The name of the shield. |
type | What type of shield is it. |
minlevel | Enter the minimum level required for the shield, or leave blank if there is none. |
binding | How is this shield bound - leave blank it is unbound. Possible Values:
|
proficiency | Enter the proficiency needed to wield this weapon Possible Values:
|
shieldbonus | Enter the Shield bonus as shown on the examine window. |
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. |
dr | Enter the amount and type of damage reduction he shield does as shown in the examine window. |
basedamagerating | Enter the base damage rating, as shown on the examine pane. |
damage | Enter the damage dice possible. Use Template:Dice to enter the information. |
damagetype | Enter the types of damage this shield does. Use Template:DamageType to specify this. |
critprofile | Enter the critical profile, as shown on the examine pane. |
attackmod | Enter the base ability that modifies the attack roll on the sheild. Use Template:WeaponMod to specify this. |
damagemod | Enter the base ability that modifies the damage roll on the shield. Use Template:WeaponMod to specify this. |
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. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.