Difference between revisions of "Template:Weapon"

From DDO Compendium
Line 25: Line 25:
|sentientexcluded=
|sentientexcluded=
|icon=
|icon=
|bug=
}}
}}
</pre>
</pre>
Line 34: Line 35:
|parameter1name = name
|parameter1name = name
|parameter1description = The name of the weapon.
|parameter1description = The name of the weapon.
|parameter1values =
|parameter2name = type
|parameter2name = type
|parameter2description = What type of weapon is it.
|parameter2description = What type of weapon is it.
|parameter2values =
|parameter3name = minlevel  
|parameter3name = minlevel  
|parameter3description = Enter the minimum level required for the item, or leave blank if there is none.
|parameter3description = Enter the minimum level required for the item, or leave blank if there is none.
|parameter3values =
|parameter4name = binding
|parameter4name = binding
|parameter4description = How is this item bound - leave blank it is unbound.
|parameter4description = How is this item bound - leave blank it is unbound.
Line 58: Line 56:
|parameter6name = basedamagerating
|parameter6name = basedamagerating
|parameter6description = Enter the base damage rating, as shown on the examine pane.
|parameter6description = Enter the base damage rating, as shown on the examine pane.
|parameter6values =
|parameter7name = damage
|parameter7name = damage
|parameter7description = Enter the damage dice possible.  Use [[Template:Dice]] to enter the information.
|parameter7description = Enter the damage dice possible.  Use [[Template:Dice]] to enter the information.
|parameter7values =
|parameter8name = damagetype
|parameter8name = damagetype
|parameter8description =Enter the types of damage this weapons does.  Use [[Template:DamageType]] to specify this.
|parameter8description =Enter the types of damage this weapons does.  Use [[Template:DamageType]] to specify this.
|parameter8values =
|parameter9name = critprofile  
|parameter9name = critprofile  
|parameter9description = Enter the critical profile, as shown on the examine pane. Use [[Template:ItemCritProfile]] to specify this.
|parameter9description = Enter the critical profile, as shown on the examine pane. Use [[Template:ItemCritProfile]] to specify this.
|parameter9values =
|parameter10name = attackmod  
|parameter10name = attackmod  
|parameter10description = Enter the base ability that modifies the attack roll on the weapon.  Use [[Template:WeaponMod]] to specify this.
|parameter10description = Enter the base ability that modifies the attack roll on the weapon.  Use [[Template:WeaponMod]] to specify this.
|parameter10values =
|parameter11name = damagemod  
|parameter11name = damagemod  
|parameter11description = Enter the base ability that modifies the damage roll on the weapon.  Use [[Template:WeaponMod]] to specify this.
|parameter11description = Enter the base ability that modifies the damage roll on the weapon.  Use [[Template:WeaponMod]] to specify this.
|parameter11values =
|parameter12name = enchantments
|parameter12name = enchantments
|parameter12description = 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.
|parameter12description = 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.
|parameter12values =
|parameter13name = description
|parameter13name = description
|parameter13description = Enter the description that is on the examine window at the bottom.
|parameter13description = Enter the description that is on the examine window at the bottom.
|parameter13values =
|parameter14name = droplocation
|parameter14name = droplocation
|parameter14description = 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.
|parameter14description = 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.
|parameter14values =
|parameter15name = material
|parameter15name = material
|parameter15description = Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron).
|parameter15description = Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron).
|parameter15values =
|parameter16name = hardness
|parameter16name = hardness
|parameter16description = Enter the hardness shown in the examine window.
|parameter16description = Enter the hardness shown in the examine window.
|parameter16values =
|parameter17name = durability
|parameter17name = durability
|parameter17description = Enter the maximum durability value shown in the examine window.
|parameter17description = Enter the maximum durability value shown in the examine window.
|parameter17values =
|parameter18name = update
|parameter18name = update
|parameter18description = Which update was this item added to the game in.
|parameter18description = Which update was this item added to the game in.
|parameter18values =
|parameter19name = details
|parameter19name = details
|parameter19description = Enter any details that a player may need to know about this (i.e. if not working correctly, etc).
|parameter19description = Enter any details that a player may need to know about this (i.e. if not working correctly, etc).
|parameter19values =
|parameter20name = upgradeable
|parameter20name = upgradeable
|parameter20description = 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.
|parameter20description = 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.
|parameter20values =
|parameter21name = restriction
|parameter21name = restriction
|parameter21description = 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]].
|parameter21description = 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]].
|parameter21values =
|parameter22name = sentientexcluded
|parameter22name = sentientexcluded
|parameter22description = This is for items that can't hold a sentient gem.  Only needed on the few items that have minlevel > 20 but aren't allowed.   
|parameter22description = This is for items that can't hold a sentient gem.  Only needed on the few items that have minlevel > 20 but aren't allowed.   
|parameter22values =
|parameter23name = icon
|parameter23name = icon
|parameter23description = The image to use for the icon instead of the one by name
|parameter23description = The image to use for the icon instead of the one by name
|parameter23values =  
|parameter24name = bug
|parameter24description = Contains any information about a bug related to the item.  Use [[Template:Bug]]
}}
}}
</noinclude><includeonly>
</noinclude><includeonly>
Line 159: Line 141:
{{#if: {{{details|}}} | '''Extra Details:'''&nbsp;
{{#if: {{{details|}}} | '''Extra Details:'''&nbsp;
{{{details}}}<br>}}
{{{details}}}<br>}}
{{#if: {{{upgradeable|}}} | '''Upgradeable:'''&nbsp;{{{upgradeable}}}<br>}}
{{#if: {{{upgradeable|}}} | '''Upgradeable:'''&nbsp;
{{{upgradeable}}}<br>}}
{{#if: {{{bug|}}} | '''Bugs:'''&nbsp;
{{{bug}}}<br>}}
</td>
</td>
</tr>
</tr>

Revision as of 17:57, 28 September 2018

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

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.
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 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.
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
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.