Difference between revisions of "Template:Shield"

From DDO Compendium
 
(95 intermediate revisions by 4 users not shown)
Line 5: Line 5:
|type =
|type =
|minlevel =
|minlevel =
|absoluteminlevel =
|binding =
|binding =
|proficiency =
|proficiency =
|shieldbonus =
|shieldbonus =
|maxdex =
|maxdex =
|dr =
|armorcheckpenalty =  
|armorcheckpenalty =  
|spellfailure =  
|spellfailure =  
|dr =  
|attackpenalty=
|basedamagerating =  
|basedamagerating =  
|damage =  
|damage =  
Line 28: Line 30:
|upgradeable =
|upgradeable =
|restriction=  
|restriction=  
|icon=
|image
|bug=
|replaced=
|weight=
|basevalue=
|emptyaugments=
|itemsets=
|otherversions=
|link=
|exclusive=
|upgradedfrom =
}}</pre>
}}</pre>
{{TemplateDocumentation
{{TemplateDocumentation
|name = Shield
|name = Shield
|description = This template is used to render information about a shield.  Examples of the Template in Use: [[Interogator's Shield]].
|description = This template is used to render information about a shield.  Examples of the Template in Use: [[Interogator's Shield]].
|category=Item Templates
|usesnamedparameters = true
|usesnamedparameters = true
|parameter1name = name
|parameter1name = name
|parameter1description = The name of the shield.
|parameter1description = The name of the shield.
|parameter1values =
|parameter2name = type
|parameter2name = type
|parameter2description = What type of shield is it.
|parameter2description = What type of shield it is
|parameter2values =  
|parameter2values=
* Large Shield
* Small Shield
* Tower Shield
* Buckler
* Orb
|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.
|parameter3values =  
|parameter4name = absoluteminlevel
|parameter4name = binding
|parameter4description = Enter the minimum level required for the item if something is removed, or leave blank if there is none.
|parameter4description = How is this shield bound - leave blank it is unbound.
|parameter5name = binding
|parameter4values =  
|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 51: Line 71:
* 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.
|parameter6values =
|parameter8name = maxdex
|parameter7name = maxdex
|parameter8description = Enter the Max Dex Bonus shown on the examine window.
|parameter7description = Enter the Max Dex Bonus shown on the examine window.
|parameter9name = dr
|parameter7values =  
|parameter9description = Enter the amount of damage reduction he shield does as shown in the examine window.
|parameter8name = armorcheckpenalty  
|parameter10name = armorcheckpenalty  
|parameter8description = Enter the Armor Check Penalty, as shown on the examine window.
|parameter10description = Enter the Armor Check Penalty, as shown on the examine window.
|parameter8values =
|parameter11name = spellfailure
|parameter9name = spellfailure
|parameter11description = Enter the Spell Failure percent as shown on the examine window.
|parameter9description = Enter the Spell Failure percent as shown on the examine window.
|parameter12name = attackpenalty
|parameter9values =  
|parameter12description = Enter the amount of attack penalty the shield shows in the examine window.
|parameter10name = dr
|parameter13name = basedamagerating
|parameter10description = Enter the amount and type of damage reduction he shield does as shown in the examine window.
|parameter13description = Enter the base damage rating, as shown on the examine pane.
|parameter10values =
|parameter14name = damage
|parameter11name = basedamagerating
|parameter14description = Enter the damage dice possible.  Use [[Template:Dice]] to enter the information.
|parameter11description = Enter the base damage rating, as shown on the examine pane.
|parameter15name = damagetype
|parameter11values =
|parameter15description =Enter the types of damage this shield does.  Use [[Template:DamageType]] to specify this.
|parameter12name = damage
|parameter16name = critprofile  
|parameter12description = Enter the damage dice possible.  Use [[Template:Dice]] to enter the information.
|parameter16description = Enter the critical profile, as shown on the examine pane. Use [[Template:ItemCritProfile]] to specify this.
|parameter12values =
|parameter17name = attackmod  
|parameter13name = damagetype
|parameter17description = Enter the base ability that modifies the attack roll on the sheild.  Use [[Template:WeaponMod]] to specify this.
|parameter13description =Enter the types of damage this shield does.  Use [[Template:DamageType]] to specify this.
|parameter18name = damagemod  
|parameter13values =
|parameter18description = Enter the base ability that modifies the damage roll on the shield.  Use [[Template:WeaponMod]] to specify this.
|parameter14name = critprofile  
|parameter19name = enchantments
|parameter14description = Enter the critical profile, as shown on the examine pane.
|parameter19description = These are a bulleted list of templates (each on its own line starting with an asterisk) found in [[:Category:Item_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.
|parameter14values =
|parameter20name = description
|parameter15name = attackmod  
|parameter20description = Enter the description that is on the examine window at the bottom.
|parameter15description = Enter the base ability that modifies the attack roll on the sheild.  Use [[Template:WeaponMod]] to specify this.
|parameter21name = droplocation
|parameter15values =
|parameter21description = This specifies information on where this drops.  Use one of the drop location templates to specify it. The list of templates can be found here: [[:Category:DropLocation Templates]].  If there is more than one, put each on its own line starting with an asterisk.
|parameter16name = damagemod  
|parameter22name = material
|parameter16description = Enter the base ability that modifies the damage roll on the shield.  Use [[Template:WeaponMod]] to specify this.
|parameter22description = Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron).
|parameter16values =
|parameter23name = hardness
|parameter17name = enchantments
|parameter23description = Enter the hardness shown in the examine window.
|parameter17description = These are a bulleted list of templates (each on its own line starting with an asterisk) found in [[:Category:Item_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.
|parameter24name = durability
|parameter17values =
|parameter24description = Enter the maximum durability value shown in the examine window.
|parameter18name = description
|parameter25name = update
|parameter18description = Enter the description that is on the examine window at the bottom.
|parameter25description = Which update was this item added to the game in.
|parameter18values =
|parameter26name = details
|parameter19name = droplocation
|parameter26description = Enter any details that a player may need to know about this (i.e. if not working correctly, etc).
|parameter19description = This specifies information on where this drops.  Use [[Template:DropLocation]] to specify itIF there is more than one, put each on its own line starting with an asterisk.
|parameter27name = upgradeable
|parameter19values =
|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.
|parameter20name = material
|parameter28name = restriction
|parameter20description = Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron).
|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]].
|parameter20values =
|parameter29name = icon
|parameter21name = hardness
|parameter29description = The icon to use for the shield when it is a duplicate of another item
|parameter21description = Enter the hardness shown in the examine window.
|parameter30name = image
|parameter21values =
|parameter30description = Image file, use if the image doesn't change between heroic and epic types.  Do not include extension.
|parameter22name = durability
|parameter31name = bug
|parameter22description = Enter the maximum durability value shown in the examine window.
|parameter31description = Contains any information about a bug related to the item.  Use [[Template:Bug]]
|parameter22values =
|parameter32name = replaced
|parameter23name = update
|parameter32description = Contains information about any replacement that SSG did of this weapon.  Use [[Template:ItemReplacement]]
|parameter23description = Which update was this item added to the game in.
|parameter33name = weight
|parameter23values =
|parameter33description = This is the weight, in lbs, as shown on the examine window.  The "lbs" will be added.
|parameter24name = details
|parameter34name = basevalue
|parameter24description = Enter any details that a player may need to know about this (i.e. if not working correctly, etc).
|parameter34description = This is the base value as shown in the examine window.  Use [[Template:Price]].
|parameter24values =
|parameter35name = emptyaugments
|parameter25name = upgradeable
|parameter35description = Any Empty augments that this item has.  Use [[Template:EmptyAugments]]
|parameter25description = 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.
|parameter36name = itemsets
|parameter25values =
|parameter36description = The item sets that this item has. Use [[Template:ItemSetList]]
|parameter26name = restriction
|parameter37name = otherversions
|parameter26description = This is used when there is some kind of restriction.  If it is a trait (Lawful, Good, etc), use [[Template:RequiredTrait]]. If there is a race restriction, use [[Template:RestrictedRace]].
|parameter37description = Other related version (i.e. heroic vs legendary or epic, feytwisted, etc)
|parameter26values =  
|parameter38name = link
|parameter38description = The link to this page, if it isn't the same as the name.
|parameter39name = exclusive
|parameter39description = Use [[Template:Exclusive]]
|parameter40name = upgradedfrom
|parameter40description = A list of items this was upgraded from.
}}
}}
</noinclude>
</noinclude>
<table class="item-table background-color">
<includeonly>{{#ifeq:{{#dplvar:rendertype}}|ingredient|{{RenderIngredient|{{{name}}}|{{{icon|}}}|{{{link|}}}}}|{{#dplvar:set|itembasevalue|{{{basevalue}}}}}<div class="row"><div class="col-sm-6"><table class="table table-bordered table-striped table-condensed">
<tr>
<tr><td><table class="table table-condensed">
<td class="item-info-side">
<tr><td class="col-sm-1">{{IconImageWithLink|{{{name}}}|{{{icon|}}}}}</td><td class="col-sm-11 center"><span class="big">{{{name}}}</span><br>[[:Category:{{{type}}}|{{{type}}}]]</td></tr></table></td></tr>
<table class="background-color">
<tr><td>{{#if: {{{restriction|}}}|{{{restriction}}}<br>}}
<tr>
{{#if: {{{proficiency}}} | {{#switch: {{lc:{{{type}}}}}|orb ='''{{{proficiency}}}'''|#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}}}}}{{#if: {{{exclusive|}}}|<br>{{{exclusive}}}}}<br><br>'''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>}}'''Base Damage{{PopupNote|Custom||As of U62, for all updated shields, this value was determined by looking at the shield with a character that has no bonuses that would increase this: Damage Mod +0 and no additional critical range or multiplier.}}:''' {{{basedamagerating}}}<br>'''Damage:''' {{{damage}}}<br>'''Damage Types:''' {{{damagetype}}}<br>{{#if: {{{critprofile|}}}|'''Critical Roll:''' {{{critprofile}}}<br>}}{{#if: {{{attackmod|}}}|'''Attack Mod:''' {{{attackmod}}}<br>}}{{#if: {{{damagemod|}}}|'''Damage Mod:''' {{{damagemod}}}<br>}}</td></tr>
<td>
{{#if: {{{enchantments|}}}|<tr><td>'''Enchantments:'''
<table class="background-color">
{{{enchantments|}}}{{ItemMaterialDR|{{{material}}}}}</td></tr>}}{{#if: {{{emptyaugments|}}}|<tr><td>{{{emptyaugments}}}</td></tr>}}{{#if: {{{itemsets|}}}|<tr><td>
<tr>
{{{itemsets}}}</td></tr>}}<tr><td>{{ItemMaterial|{{{material}}}|{{#if: {{{hardness|}}}|{{{hardness}}} |}}|{{#if:{{{durability|}}}|{{{durability}}}|}}}}</td></tr>
<td class="icon">
{{#if: {{{description|}}}|
<!-- Icon Image -->
<tr><td>'''Description:''' ''{{{description}}} ''</td></tr>}}
[[File:{{{name}}}_Icon.png|link=|40px|x40px|]]
{{#if: {{{weight|}}}{{{basevalue|}}}|
</td>
<tr><td><table class="table table-condensed">
<td class="title">
<tr><td class="col-sm-6 text-left">{{#if:{{{basevalue|}}}|Base Value: {{{basevalue}}}}}</td><td class="col-sm-6 text-right">{{#if:{{{weight|}}}|{{{weight}}} lbs}}</td></tr></table></td></tr>}}
'''{{{name}}}'''<br>{{#ifeq: {{lc:{{{type}}}}}|orb|[[:Category:{{{type}}}|{{{type}}}]]|[[:Category:{{{type}}} Shield|{{{type}}} Shield]]}}
</table></div>
</td>
<div class="visible-xs-block hidden-sm hidden-md hidden-lg"><hr></div>
</tr>
<div class="col-sm-6"><table class="table table-bordered table-striped table-condensed">
</table>
<tr style="background: rgb(0,0,0);"><td>[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|center|300px|]]</td></tr>
</td>
{{#if: {{{droplocation|}}} |<tr><td>'''Where To Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}</td></tr>|[[Category:Items without a Drop Location]]}}{{#if: {{{details|}}} | <tr><td>'''Extra Details:'''&nbsp;{{WrapMultiLine|{{{details}}}}}</td></tr>}}{{#if:{{{upgradeable|}}} | <tr><td>'''Upgradeable:'''&nbsp;{{WrapMultiLine|{{{upgradeable}}}}}</td></tr>}}{{#if: {{{upgradedfrom|}}} | <tr><td class="extra-details">'''Upgraded From:'''&nbsp;{{WrapMultiLine|{{{upgradedfrom}}}}}</td></tr>}}{{#if:{{{bug|}}} |<tr><td>'''Bugs:'''&nbsp;{{WrapMultiLine|{{{bug}}}}}</td></tr>}}{{#if: {{{otherversions|}}} | <tr><td class="extra-details topborder">'''Related Items:'''{{WrapMultiLine|{{{otherversions}}}}}</td></tr>}}{{#if: {{{replaced|}}} |<tr><td class="extra-details highlighted">{{{replaced}}}</td></tr>}}</table></div></div>[[Category:{{{type}}}]]{{#if: {{{update|}}} | [[Category:Update {{{update|}}} Loot]] | [[Category:Items without an Update]]}}{{#if: {{{minlevel|}}}|[[Category:Minimum Level {{{minlevel}}} Items]]|[[Category:Items with No Minimum Level]]}}[[Category:Shield]]
</tr>
{{#seo:
<tr>
|type=website
<td>
|image={{filepath:{{{name}}}.png|nowiki}}
{{#if: {{{restriction|}}}|{{{restriction}}}<br>}}
|description=Shield Type: {{{type}}}
{{#if: {{{proficiency}}} | {{#ifeq: {{lc:{{{type}}}}}|orb|'''{{{proficiency}}}'''|'''{{{proficiency}}} Shield Proficiency'''[[Category:Shield with {{{proficiency}}} Proficiency]]}}<br>}}
Min Level: {{{minlevel}}}
'''Minimum Level:''' {{{minlevel}}}<br>{{ItemBinding|{{{binding}}}}}<br>
Req'd Proficiency: {{{proficiency}}}
'''Shield Bonus:''' {{{shieldbonus}}}<br>'''Damage Reduction (DR):'''
Drop Location: {{#explode:{{{droplocation}}}|{{!}}|1}}
{{{dr}}}<br>{{#if: {{{maxdex|}}}|'''Max Dex Bonus:''' {{{maxdex|}}}<br>}}{{#if: {{{armorcheckpenalty|}}}|'''Armor Check Penalty:''' {{{armorcheckpenalty|}}}<br>}}{{#if: {{{spellfailure|}}}|'''Spell Failure:''' {{{spellfailure|}}}<br>}}
|site_name={{SITENAME}}
'''Base Damage:''' {{{basedamagerating}}}<br>
|published_time={{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}
'''Damage:''' {{{damage}}}<br>
|theme-color=#FF0000
'''Damage Types:''' {{{damagetype}}}<br>
|keywords=Dungeons,and,Dragons,Online,DDO,{{#replace:{{{name}}}| |,}},{{#replace:{{{type}}}| |,}}
'''Critical Profile:''' {{#if: {{{critprofile|}}}|{{{critprofile}}}|N/A}}<br>
}}}}</includeonly>
'''Attack:''' {{#if: {{{attackmod|}}}|{{{attackmod}}}|N/A}}<br>
'''Damage:''' {{#if: {{{damagemod|}}}|{{{damagemod}}}|N/A}}<br>
<br>'''Enchantments:'''
{{{enchantments|}}}{{MaterialDR|{{{material}}}}}
{{Material|{{{material}}}|{{#if: {{{hardness|}}}|{{{hardness}}} |}}|{{#if: {{{durability|}}}|{{{durability}}}|}}}}
<br>
<br>
'''Description:''' ''{{{description}}} ''
</td>
</tr>
</table>
</td>
<td class="item-image-side" style="vertical-align:top">
<table class="item-image-table background-color" >
<tr><td class="item-image">[[File:{{{name}}}.png|upright|]]</td></tr>
<tr>
<td class="extra-details">
{{#if: {{{droplocation|}}} | '''Drop Location:'''&nbsp;{{{droplocation}}}<br>}}
{{#if: {{{details|}}} | '''Extra Details:''' {{{details}}}<br>}}
{{#if: {{{upgradeable|}}} | '''Upgradeable:''' {{{upgradeable}}}<br>}}
</td>
</tr>
</table>
</td>
</tr>
</table>
[[Category:{{{type}}}]]
[[Category:Update {{{update|Unknown}}} Loot]]
[[Category:Minimum Level {{{minlevel}}} Items]]

Latest revision as of 17:16, 1 November 2023

{{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=
|image
|bug=
|replaced=
|weight=
|basevalue=
|emptyaugments=
|itemsets=
|otherversions=
|link=
|exclusive=
|upgradedfrom =
}}

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 it is
Possible Values:
  • Large Shield
  • Small Shield
  • Tower Shield
  • Buckler
  • Orb
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 one of the drop location templates to specify it. The list of templates can be found here: Category:DropLocation Templates. 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
imageImage file, use if the image doesn't change between heroic and epic types. Do not include extension.
bugContains any information about a bug related to the item. Use Template:Bug
replacedContains information about any replacement that SSG did of this weapon. Use Template:ItemReplacement
weightThis is the weight, in lbs, as shown on the examine window. The "lbs" will be added.
basevalueThis is the base value as shown in the examine window. Use Template:Price.
emptyaugmentsAny Empty augments that this item has. Use Template:EmptyAugments
itemsetsThe item sets that this item has. Use Template:ItemSetList
otherversionsOther related version (i.e. heroic vs legendary or epic, feytwisted, etc)
linkThe link to this page, if it isn't the same as the name.
exclusiveUse Template:Exclusive
upgradedfromA list of items this was upgraded from.

Template

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