Difference between revisions of "Template:Shield"

From DDO Compendium
Line 5: Line 5:
|type =
|type =
|minlevel =
|minlevel =
|absoluteminlevel =
|binding =
|binding =
|proficiency =
|proficiency =
Line 43: Line 44:
|parameter3name = minlevel  
|parameter3name = minlevel  
|parameter3description = Enter the minimum level required for the shield, or leave blank if there is none.
|parameter3description = Enter the minimum level required for the shield, or leave blank if there is none.
|parameter4name = binding
|parameter4name = absoluteminlevel
|parameter4description = How is this shield bound - leave blank it is unbound.
|parameter4description = Enter the minimum level required for the item if something is removed, or leave blank if there is none.
|parameter4values =  
|parameter5name = binding
|parameter5description = How is this shield bound - leave blank it is unbound.
|parameter5values =  
* btc for Bound to Character
* btc for Bound to Character
* bta for Bound to Account
* bta for Bound to Account
Line 52: Line 55:
* btaoe for Bound to Account on Equip
* btaoe for Bound to Account on Equip
* btaoa for Bound to Account on Acquire
* btaoa for Bound to Account on Acquire
|parameter5name = proficiency
|parameter6name = proficiency
|parameter5description = Enter the proficiency needed to wield this weapon
|parameter6description = Enter the proficiency needed to wield this weapon
|parameter5values =  
|parameter6values =  
* General
* General
* Tower
* Tower
|parameter6name = shieldbonus
|parameter7name = shieldbonus
|parameter6description = Enter the Shield bonus as shown on the examine window.
|parameter7description = Enter the Shield bonus as shown on the examine window.
|parameter7name = maxdex
|parameter8name = maxdex
|parameter7description = Enter the Max Dex Bonus shown on the examine window.
|parameter8description = Enter the Max Dex Bonus shown on the examine window.
|parameter8name = dr
|parameter9name = dr
|parameter8description = Enter the amount of damage reduction he shield does as shown in the examine window.
|parameter9description = Enter the amount of damage reduction he shield does as shown in the examine window.
|parameter9name = armorcheckpenalty  
|parameter10name = armorcheckpenalty  
|parameter9description = Enter the Armor Check Penalty, as shown on the examine window.
|parameter10description = Enter the Armor Check Penalty, as shown on the examine window.
|parameter10name = spellfailure
|parameter11name = spellfailure
|parameter10description = Enter the Spell Failure percent as shown on the examine window.
|parameter11description = Enter the Spell Failure percent as shown on the examine window.
|parameter11name = attackpenalty
|parameter12name = attackpenalty
|parameter11description = Enter the amount of attack penalty the shield shows in the examine window.
|parameter12description = Enter the amount of attack penalty the shield shows in the examine window.
|parameter12name = basedamagerating
|parameter13name = basedamagerating
|parameter12description = Enter the base damage rating, as shown on the examine pane.
|parameter13description = Enter the base damage rating, as shown on the examine pane.
|parameter13name = damage
|parameter14name = damage
|parameter13description = Enter the damage dice possible.  Use [[Template:Dice]] to enter the information.
|parameter14description = Enter the damage dice possible.  Use [[Template:Dice]] to enter the information.
|parameter14name = damagetype
|parameter15name = damagetype
|parameter14description =Enter the types of damage this shield does.  Use [[Template:DamageType]] to specify this.
|parameter15description =Enter the types of damage this shield does.  Use [[Template:DamageType]] to specify this.
|parameter15name = critprofile  
|parameter16name = critprofile  
|parameter15description = Enter the critical profile, as shown on the examine pane. Use [[Template:ItemCritProfile]] to specify this.
|parameter16description = Enter the critical profile, as shown on the examine pane. Use [[Template:ItemCritProfile]] to specify this.
|parameter16name = attackmod  
|parameter17name = attackmod  
|parameter16description = Enter the base ability that modifies the attack roll on the sheild.  Use [[Template:WeaponMod]] to specify this.
|parameter17description = Enter the base ability that modifies the attack roll on the sheild.  Use [[Template:WeaponMod]] to specify this.
|parameter17name = damagemod  
|parameter18name = damagemod  
|parameter17description = Enter the base ability that modifies the damage roll on the shield.  Use [[Template:WeaponMod]] to specify this.
|parameter18description = Enter the base ability that modifies the damage roll on the shield.  Use [[Template:WeaponMod]] to specify this.
|parameter18name = enchantments
|parameter19name = enchantments
|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.
|parameter19description = 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.
|parameter19name = description
|parameter20name = description
|parameter19description = Enter the description that is on the examine window at the bottom.
|parameter20description = Enter the description that is on the examine window at the bottom.
|parameter20name = droplocation
|parameter21name = droplocation
|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.
|parameter21description = 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.
|parameter21name = material
|parameter22name = material
|parameter21description = Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron).
|parameter22description = Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron).
|parameter22name = hardness
|parameter23name = hardness
|parameter22description = Enter the hardness shown in the examine window.
|parameter23description = Enter the hardness shown in the examine window.
|parameter23name = durability
|parameter24name = durability
|parameter23description = Enter the maximum durability value shown in the examine window.
|parameter24description = Enter the maximum durability value shown in the examine window.
|parameter24name = update
|parameter25name = update
|parameter24description = Which update was this item added to the game in.
|parameter25description = Which update was this item added to the game in.
|parameter25name = details
|parameter26name = details
|parameter25description = Enter any details that a player may need to know about this (i.e. if not working correctly, etc).
|parameter26description = Enter any details that a player may need to know about this (i.e. if not working correctly, etc).
|parameter26name = upgradeable
|parameter27name = upgradeable
|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.
|parameter27description = 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.
|parameter27name = restriction
|parameter28name = 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]].
|parameter28description = 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]].
|parameter28name = icon
|parameter29name = icon
|parameter28description = The icon to use for the shield when it is a duplicate of another item
|parameter29description = The icon to use for the shield when it is a duplicate of another item
|parameter29name = bug
|parameter30name = bug
|parameter29description = Contains any information about a bug related to the item.  Use [[Template:Bug]]
|parameter30description = Contains any information about a bug related to the item.  Use [[Template:Bug]]
}}
}}
</noinclude><includeonly>
</noinclude><includeonly>
Line 131: Line 134:
{{#if: {{{proficiency}}} | {{#switch: {{lc:{{{type}}}}}
{{#if: {{{proficiency}}} | {{#switch: {{lc:{{{type}}}}}
|orb ='''{{{proficiency}}}'''
|orb ='''{{{proficiency}}}'''
|#default ='''{{{proficiency}}} Shield Proficiency'''}}[[Category:Shield with {{{proficiency}}} Proficiency]]<br>}}{{#if: {{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>}}{{ItemBinding|{{{binding}}}}}<br>
|#default ='''{{{proficiency}}} Shield Proficiency'''}}[[Category:Shield with {{{proficiency}}} Proficiency]]<br>}}{{#if: {{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>}}{{#if: {{{absoluteminlevel|}}}|'''Absolute Minimum Level:''' {{{absoluteminlevel}}}<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>}}
'''Base Damage:''' {{{basedamagerating}}}<br>
'''Base Damage:''' {{{basedamagerating}}}<br>

Revision as of 16:46, 5 October 2018

{{Template:Shield
|name =
|type =
|minlevel =
|absoluteminlevel = 
|binding =
|proficiency =
|shieldbonus =
|maxdex =
|dr = 
|armorcheckpenalty = 
|spellfailure = 
|attackpenalty=
|basedamagerating = 
|damage = 
|damagetype = 
|critprofile = 
|attackmod = 
|damagemod = 
|enchantments = 
|description = 
|droplocation = 
|material = 
|hardness = 
|durability =
|update = 
|details = 
|upgradeable =
|restriction= 
|icon=
|bug=
}}

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
nameThe name of the shield.
typeWhat type of shield is it. (i.e. Large Shield, Small Shield, Buckler)
minlevelEnter the minimum level required for the shield, or leave blank if there is none.
absoluteminlevelEnter the minimum level required for the item if something is removed, or leave blank if there is none.
bindingHow is this shield bound - leave blank it is unbound.
Possible Values:
  • btc for Bound to Character
  • bta for Bound to Account
  • btcoe for Bound to Character on Equip
  • btcoa for Bound to Character on Acquire
  • btaoe for Bound to Account on Equip
  • btaoa for Bound to Account on Acquire
proficiencyEnter the proficiency needed to wield this weapon
Possible Values:
  • General
  • Tower
shieldbonusEnter the Shield bonus as shown on the examine window.
maxdexEnter the Max Dex Bonus shown on the examine window.
drEnter the amount of damage reduction he shield does as shown in the examine window.
armorcheckpenaltyEnter the Armor Check Penalty, as shown on the examine window.
spellfailureEnter the Spell Failure percent as shown on the examine window.
attackpenaltyEnter the amount of attack penalty the shield shows in the examine window.
basedamageratingEnter the base damage rating, as shown on the examine pane.
damageEnter the damage dice possible. Use Template:Dice to enter the information.
damagetypeEnter the types of damage this shield does. Use Template:DamageType to specify this.
critprofileEnter the critical profile, as shown on the examine pane. Use Template:ItemCritProfile to specify this.
attackmodEnter the base ability that modifies the attack roll on the sheild. Use Template:WeaponMod to specify this.
damagemodEnter the base ability that modifies the damage roll on the shield. Use Template:WeaponMod to specify this.
enchantmentsThese 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.
descriptionEnter the description that is on the examine window at the bottom.
droplocationThis 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.
materialEnter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron).
hardnessEnter the hardness shown in the examine window.
durabilityEnter the maximum durability value shown in the examine window.
updateWhich update was this item added to the game in.
detailsEnter any details that a player may need to know about this (i.e. if not working correctly, etc).
upgradeableIf 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.
restrictionThis 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.
iconThe icon to use for the shield when it is a duplicate of another item
bugContains any information about a bug related to the item. Use Template:Bug

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.