Difference between revisions of "Template:Shield"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
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 = Enter the minimum level required for the item if something is removed, or leave blank if there is none. | ||
| | |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 | ||
| | |parameter6name = proficiency | ||
| | |parameter6description = Enter the proficiency needed to wield this weapon | ||
| | |parameter6values = | ||
* General | * General | ||
* Tower | * Tower | ||
| | |parameter7name = shieldbonus | ||
| | |parameter7description = Enter the Shield bonus as shown on the examine window. | ||
| | |parameter8name = maxdex | ||
| | |parameter8description = Enter the Max Dex Bonus shown on the examine window. | ||
| | |parameter9name = dr | ||
| | |parameter9description = Enter the amount of damage reduction he shield does as shown in the examine window. | ||
| | |parameter10name = armorcheckpenalty | ||
| | |parameter10description = Enter the Armor Check Penalty, as shown on the examine window. | ||
| | |parameter11name = spellfailure | ||
| | |parameter11description = Enter the Spell Failure percent as shown on the examine window. | ||
| | |parameter12name = attackpenalty | ||
| | |parameter12description = Enter the amount of attack penalty the shield shows in the examine window. | ||
| | |parameter13name = basedamagerating | ||
| | |parameter13description = Enter the base damage rating, as shown on the examine pane. | ||
| | |parameter14name = damage | ||
| | |parameter14description = Enter the damage dice possible. Use [[Template:Dice]] to enter the information. | ||
| | |parameter15name = damagetype | ||
| | |parameter15description =Enter the types of damage this shield does. Use [[Template:DamageType]] to specify this. | ||
| | |parameter16name = critprofile | ||
| | |parameter16description = Enter the critical profile, as shown on the examine pane. Use [[Template:ItemCritProfile]] to specify this. | ||
| | |parameter17name = attackmod | ||
| | |parameter17description = Enter the base ability that modifies the attack roll on the sheild. Use [[Template:WeaponMod]] to specify this. | ||
| | |parameter18name = damagemod | ||
| | |parameter18description = Enter the base ability that modifies the damage roll on the shield. Use [[Template:WeaponMod]] to specify this. | ||
| | |parameter19name = enchantments | ||
| | |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. | ||
| | |parameter20name = description | ||
| | |parameter20description = Enter the description that is on the examine window at the bottom. | ||
| | |parameter21name = droplocation | ||
| | |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. | ||
| | |parameter22name = material | ||
| | |parameter22description = Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron). | ||
| | |parameter23name = hardness | ||
| | |parameter23description = Enter the hardness shown in the examine window. | ||
| | |parameter24name = durability | ||
| | |parameter24description = Enter the maximum durability value shown in the examine window. | ||
| | |parameter25name = update | ||
| | |parameter25description = Which update was this item added to the game in. | ||
| | |parameter26name = details | ||
| | |parameter26description = Enter any details that a player may need to know about this (i.e. if not working correctly, etc). | ||
| | |parameter27name = upgradeable | ||
| | |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. | ||
| | |parameter28name = restriction | ||
| | |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]]. | ||
| | |parameter29name = icon | ||
| | |parameter29description = The icon to use for the shield when it is a duplicate of another item | ||
| | |parameter30name = 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 | |
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. |
absoluteminlevel | Enter the minimum level required for the item if something is removed, 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. Use Template:ItemCritProfile to specify this. |
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. |
icon | The icon to use for the shield when it is a duplicate of another item |
bug | Contains 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.