Difference between revisions of "Template:Shield"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 9: | Line 9: | ||
|shieldbonus = | |shieldbonus = | ||
|maxdex = | |maxdex = | ||
|dr = | |||
|armorcheckpenalty = | |armorcheckpenalty = | ||
|spellfailure = | |spellfailure = | ||
| | |attackpenalty= | ||
|basedamagerating = | |basedamagerating = | ||
|damage = | |damage = | ||
Line 62: | Line 63: | ||
|parameter7description = Enter the Max Dex Bonus shown on the examine window. | |parameter7description = Enter the Max Dex Bonus shown on the examine window. | ||
|parameter7values = | |parameter7values = | ||
|parameter8name = | |parameter8name = dr | ||
|parameter8description = Enter the | |parameter8description = Enter the amount of damage reduction he shield does as shown in the examine window. | ||
|parameter8values = | |parameter8values = | ||
|parameter9name = | |parameter9name = armorcheckpenalty | ||
|parameter9description = Enter the | |parameter9description = Enter the Armor Check Penalty, as shown on the examine window. | ||
|parameter9values = | |parameter9values = | ||
|parameter10name = | |parameter10name = spellfailure | ||
|parameter10description = Enter the | |parameter10description = Enter the Spell Failure percent as shown on the examine window. | ||
|parameter10values = | |parameter10values = | ||
|parameter11name = | |parameter11name = attackpenalty | ||
|parameter11description = Enter the | |parameter11description = Enter the amount of attack penalty the shield shows in the examine window. | ||
|parameter11values = | |parameter11values = | ||
|parameter12name = | |parameter12name = basedamagerating | ||
|parameter12description = Enter the damage | |parameter12description = Enter the base damage rating, as shown on the examine pane. | ||
|parameter12values = | |parameter12values = | ||
|parameter13name = | |parameter13name = damage | ||
|parameter13description =Enter the | |parameter13description = Enter the damage dice possible. Use [[Template:Dice]] to enter the information. | ||
|parameter13values = | |parameter13values = | ||
|parameter14name = | |parameter14name = damagetype | ||
|parameter14description = Enter the | |parameter14description =Enter the types of damage this shield does. Use [[Template:DamageType]] to specify this. | ||
|parameter14values = | |parameter14values = | ||
|parameter15name = | |parameter15name = critprofile | ||
|parameter15description = Enter the | |parameter15description = Enter the critical profile, as shown on the examine pane. | ||
|parameter15values = | |parameter15values = | ||
|parameter16name = | |parameter16name = attackmod | ||
|parameter16description = Enter the base ability that modifies the | |parameter16description = Enter the base ability that modifies the attack roll on the sheild. Use [[Template:WeaponMod]] to specify this. | ||
|parameter16values = | |parameter16values = | ||
|parameter17name = | |parameter17name = damagemod | ||
|parameter17description = | |parameter17description = Enter the base ability that modifies the damage roll on the shield. Use [[Template:WeaponMod]] to specify this. | ||
|parameter17values = | |parameter17values = | ||
|parameter18name = | |parameter18name = enchantments | ||
|parameter18description = | |parameter18description = These are a bulleted list of templates (each on its own line starting with an asterisk) found in [[:CategoryItem_Enchantment_Template|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. | ||
|parameter18values = | |parameter18values = | ||
|parameter19name = | |parameter19name = description | ||
|parameter19description = | |parameter19description = Enter the description that is on the examine window at the bottom. | ||
|parameter19values = | |parameter19values = | ||
|parameter20name = | |parameter20name = droplocation | ||
|parameter20description = | |parameter20description = 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. | ||
|parameter20values = | |parameter20values = | ||
|parameter21name = | |parameter21name = material | ||
|parameter21description = Enter the | |parameter21description = Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron). | ||
|parameter21values = | |parameter21values = | ||
|parameter22name = | |parameter22name = hardness | ||
|parameter22description = Enter the | |parameter22description = Enter the hardness shown in the examine window. | ||
|parameter22values = | |parameter22values = | ||
|parameter23name = | |parameter23name = durability | ||
|parameter23description = | |parameter23description = Enter the maximum durability value shown in the examine window. | ||
|parameter23values = | |parameter23values = | ||
|parameter24name = | |parameter24name = update | ||
|parameter24description = | |parameter24description = Which update was this item added to the game in. | ||
|parameter24values = | |parameter24values = | ||
|parameter25name = | |parameter25name = details | ||
|parameter25description = | |parameter25description = Enter any details that a player may need to know about this (i.e. if not working correctly, etc). | ||
|parameter25values = | |parameter25values = | ||
|parameter26name = | |parameter26name = upgradeable | ||
|parameter26description = | |parameter26description = 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. | ||
|parameter26values = | |parameter26values = | ||
|parameter27name = restriction | |||
|parameter27description = 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]]. | |||
|parameter27values = | |||
}} | }} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
Line 145: | Line 149: | ||
{{#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> | {{#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> | ||
'''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>}}{{#if: {{{attackpenalty|}}}|'''Attack Penalty:''' <span style="color:yellow">{{{attackpenalty|}}}</span><br>}} | ||
'''Base Damage:''' {{{basedamagerating}}}<br> | '''Base Damage:''' {{{basedamagerating}}}<br> | ||
'''Damage:''' {{{damage}}}<br> | '''Damage:''' {{{damage}}}<br> |
Revision as of 13:58, 2 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. |
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.