Difference between revisions of "Template:Shield"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 38: | Line 38: | ||
|parameter1values = | |parameter1values = | ||
|parameter2name = type | |parameter2name = type | ||
|parameter2description = What type of shield is it. | |parameter2description = What type of shield is it. (i.e. Large Shield, Small Shield, Buckler) | ||
|parameter2values = | |parameter2values = | ||
|parameter3name = minlevel | |parameter3name = minlevel | ||
Line 138: | Line 138: | ||
</td> | </td> | ||
<td class="title"> | <td class="title"> | ||
'''{{{name}}}'''<br> | '''{{{name}}}'''<br>[[:Category:{{{type}}}|{{{type}}}]] | ||
</td> | </td> | ||
</tr> | </tr> | ||
Line 147: | Line 147: | ||
<td> | <td> | ||
{{#if: {{{restriction|}}}|{{{restriction}}}<br>}} | {{#if: {{{restriction|}}}|{{{restriction}}}<br>}} | ||
{{#if: {{{proficiency}}} | {{# | {{#if: {{{proficiency}}} | {{#switch: {{lc:{{{type}}}}} | ||
|orb ='''{{{proficiency}}}''' | |||
|#default ='''{{{proficiency}}} Shield Proficiency'''}}[[Category:Shield with {{{proficiency}}} Proficiency]]}}<br>}}{{#if: {{{minlevel|}}}|'''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>}}{{#if: {{{attackpenalty|}}}|'''Attack Penalty:''' <span style="color:yellow">{{{attackpenalty|}}}</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>}}{{#if: {{{attackpenalty|}}}|'''Attack Penalty:''' <span style="color:yellow">{{{attackpenalty|}}}</span><br>}} |
Revision as of 22:44, 3 June 2018
{{Template:Shield |name = |type = |minlevel = |binding = |proficiency = |shieldbonus = |maxdex = |dr = |armorcheckpenalty = |spellfailure = |attackpenalty= |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. (i.e. Large Shield, Small Shield, Buckler) |
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. |
dr | Enter the amount of damage reduction he shield does as shown in 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. |
attackpenalty | Enter the amount of attack penalty the shield shows 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.