Difference between revisions of "Template:Weapon"

From DDO Compendium
Line 145: Line 145:
<td class="item-image-side" style="vertical-align:top">
<td class="item-image-side" style="vertical-align:top">
<table class="item-image-table background-color" >
<table class="item-image-table background-color" >
{{#ifeq: {{lc:{{{type}}}}}|handwraps||<tr><td class="item-image">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|300px|]]</td></tr>}}
{{#switch: {{lc:{{{type}}}}}
|handwraps=
|pet collar=
|#default=<tr><td class="item-image">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|300px|]]</td></tr>}}
<tr>
<tr>
<td class="extra-details">{{#if: {{{droplocation|}}} | '''Where To Find:'''&nbsp;  
<td class="extra-details">{{#if: {{{droplocation|}}} | '''Where To Find:'''&nbsp;  

Revision as of 18:57, 10 June 2019

{{Template:Weapon
|name = 
|type = 
|minlevel = 
|absoluteminlevel = 
|binding = 
|proficiency = 
|basedamagerating = 
|damage = 
|damagetype = 
|critprofile = 
|attackmod = 
|damagemod = 
|enchantments = 
|description = 
|droplocation = 
|material = 
|hardness = 
|durability = 
|update = 
|details = 
|upgradeable =
|restriction =
|sentientexcluded=
|icon=
|image=
|bug=
|replaced=
|weight=
|basevalue=
}}

Weapon[edit]

This template is used to render information about a weapon. Example of the Template in Use: Riftmaker.

Usage[edit]

Parameter Documentation
nameThe name of the weapon.
typeWhat type of weapon is it.
minlevelEnter the minimum level required for the item, 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 item 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:
  • Simple
  • Martial
  • Exotic
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 weapons 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 weapon. Use Template:WeaponMod to specify this.
damagemodEnter the base ability that modifies the damage roll on the weapon. 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.
sentientexcludedThis is for items that can't hold a sentient gem. Only needed on the few items that have minlevel > 20 but aren't allowed.
iconThe image to use for the icon instead of the one by name
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.

Template

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