Difference between revisions of "Template:Shield"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(79 intermediate revisions by 3 users not shown) | |||
Line 5: | Line 5: | ||
|type = | |type = | ||
|minlevel = | |minlevel = | ||
|absoluteminlevel = | |||
|binding = | |binding = | ||
|proficiency = | |proficiency = | ||
Line 30: | Line 31: | ||
|restriction= | |restriction= | ||
|icon= | |icon= | ||
|image | |||
|bug= | |||
|replaced= | |||
|weight= | |||
|basevalue= | |||
|emptyaugments= | |||
|itemsets= | |||
|otherversions= | |||
|link= | |||
|options= | |||
|upgradedfrom = | |||
|extracategories= | |||
}}</pre> | }}</pre> | ||
{{TemplateDocumentation | {{TemplateDocumentation | ||
Line 38: | Line 51: | ||
|parameter1name = name | |parameter1name = name | ||
|parameter1description = The name of the shield. | |parameter1description = The name of the shield. | ||
|parameter2name = type | |parameter2name = type | ||
|parameter2description = What type of shield is | |parameter2description = What type of shield it is | ||
|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. | ||
| | |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 54: | Line 72: | ||
* 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 [[: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. | ||
| | |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 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. | ||
|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 = image | ||
| | |parameter30description = Image file, use if the image doesn't change between heroic and epic types. Do not include extension. | ||
|parameter31name = bug | |||
| | |parameter31description = Contains any information about a bug related to the item. Use [[Template:Bug]] | ||
| | |parameter32name = replaced | ||
|parameter32description = Contains information about any replacement that SSG did of this weapon. Use [[Template:ItemReplacement]] | |||
| | |parameter33name = weight | ||
| | |parameter33description = This is the weight, in lbs, as shown on the examine window. The "lbs" will be added. | ||
|parameter34name = basevalue | |||
| | |parameter34description = This is the base value as shown in the examine window. Use [[Template:Price]]. | ||
| | |parameter35name = emptyaugments | ||
|parameter35description = Any Empty augments that this item has. Use [[Template:EmptyAugments]] | |||
| | |parameter36name = itemsets | ||
| | |parameter36description = The item sets that this item has. Use [[Template:ItemSetList]] | ||
|parameter37name = otherversions | |||
| | |parameter37description = Other related version (i.e. heroic vs legendary or epic, feytwisted, etc) | ||
| | |parameter38name = link | ||
|parameter38description = The link to this page, if it isn't the same as the name. | |||
| | |parameter39name = options | ||
| | |parameter39description = Use [[Template:ItemOptions]], displays options about the item | ||
|parameter40name = upgradedfrom | |||
| | |parameter40description = A list of items this was upgraded from. | ||
| | |parameter41name = extracategories | ||
|parameter41description = A list of extra categories for this weapon, use [[Template:CategoryList]] | |||
}} | }} | ||
</noinclude><includeonly> | </noinclude> | ||
<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><td><table class="table table-condensed"> | |||
<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> | |||
< | <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: {{{options|}}}|<br>{{{options}}}}}<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=" | {{{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=" | {{#if: {{{description|}}}| | ||
<tr><td>'''Description:''' ''{{{description}}} ''</td></tr>}} | |||
{{ | {{#if: {{{weight|}}}{{{basevalue|}}}| | ||
</td> | <tr><td><table class="table table-condensed"> | ||
<td class=" | <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>}} | ||
</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:''' {{WrapMultiLine|{{{droplocation}}}}}</td></tr>|[[Category:Items without a Drop Location]]}}{{#if: {{{details|}}} | <tr><td>'''Extra Details:''' {{WrapMultiLine|{{{details}}}}}</td></tr>}}{{#if:{{{upgradeable|}}} | <tr><td>'''Upgradeable:''' {{WrapMultiLine|{{{upgradeable}}}}}</td></tr>}}{{#if: {{{upgradedfrom|}}} | <tr><td class="extra-details">'''Upgraded From:''' {{WrapMultiLine|{{{upgradedfrom}}}}}</td></tr>}}{{#if:{{{bug|}}} |<tr><td>'''Bugs:''' {{WrapMultiLine|{{{bug}}}}}</td></tr>}}{{#if: {{{otherversions|}}} | <tr><td class="extra-details topborder">'''Related Items:''' | ||
</tr> | {{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]]{{#if: {{{extracategories|}}}|{{{extracategories}}}}}{{#dplvar:set|seoimage|{{PageExists|File: {{{image|}}}.png|{{filepath:{{{image|}}}.png}}|}}}}{{#if: {{#dplvar:seoimage|}}||{{#dplvar:set|seoimage|{{PageExists|File: {{{name|}}}.png|{{filepath:{{{name|}}}.png}}|}}}}}}{{#if: {{#dplvar:seoimage|}}||{{#dplvar:set|seoimage|{{PageExists|File: {{{icon|}}} Icon.png|{{filepath:{{{icon|}}} Icon.png}}}}}}}}{{#if: {{#dplvar:seoimage|}}||{{#dplvar:set|seoimage|{{PageExists|File: {{{name|}}} Icon.png|{{filepath:{{{name|}}} Icon.png}}}}}}}}{{#seo: | ||
<tr> | |type=website | ||
<td> | |image={{#if: {{#dplvar:seoimage}}|{{#dplvar:seoimage}}}} | ||
{{#if: {{{restriction|}}}|{{{restriction}}}<br>}} | |description=Shield Type: {{{type}}} | ||
{{#if: {{{proficiency}}} | {{#switch: {{lc:{{{type}}}}} | Min Level: {{{minlevel}}} | ||
|orb ='''{{{proficiency}}}''' | Req'd Proficiency: {{{proficiency}}} | ||
|#default ='''{{{proficiency}}} Shield Proficiency'''}}[[Category:Shield with {{{proficiency}}} Proficiency]]<br>}}{{#if: {{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>}}{{ | |site_name={{SITENAME}} | ||
''' | |published_time={{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}} | ||
<span style="color:lightgreen">{{{ | |theme-color=#FF0000 | ||
'''Base Damage | |keywords=Dungeons,and,Dragons,Online,DDO,{{#replace:{{{name}}}| |,}},{{#replace:{{{type}}}| |,}} | ||
'''Damage:''' {{{damage}}}<br> | }}}}{{#dplvar:set|seoimage|}}</includeonly> | ||
'''Damage Types:''' {{{damagetype}}}<br> | |||
< | |||
{{{enchantments|}}}{{ItemMaterialDR|{{{material}}}}} | |||
< | |||
< | |||
< | |||
< | |||
<tr | |||
{{#if: {{{ | |||
{{{ | |||
{{#if: {{{ | |||
{{#if: {{{ | |||
</td> | |||
< | |||
</tr> | |||
</table> | |||
{{# | |||
</includeonly> |
Latest revision as of 00:17, 20 December 2024
{{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= |options= |upgradedfrom = |extracategories= }}
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 it is Possible Values:
|
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 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. |
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 |
image | Image file, use if the image doesn't change between heroic and epic types. Do not include extension. |
bug | Contains any information about a bug related to the item. Use Template:Bug |
replaced | Contains information about any replacement that SSG did of this weapon. Use Template:ItemReplacement |
weight | This is the weight, in lbs, as shown on the examine window. The "lbs" will be added. |
basevalue | This is the base value as shown in the examine window. Use Template:Price. |
emptyaugments | Any Empty augments that this item has. Use Template:EmptyAugments |
itemsets | The item sets that this item has. Use Template:ItemSetList |
otherversions | Other related version (i.e. heroic vs legendary or epic, feytwisted, etc) |
link | The link to this page, if it isn't the same as the name. |
options | Use Template:ItemOptions, displays options about the item |
upgradedfrom | A list of items this was upgraded from. |
extracategories | A list of extra categories for this weapon, use Template:CategoryList |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.