Difference between revisions of "Template:Weapon"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) (Added Absolute Minimum Level Support) |
||
Line 5: | Line 5: | ||
|type = | |type = | ||
|minlevel = | |minlevel = | ||
|absoluteminlevel = | |||
|binding = | |binding = | ||
|proficiency = | |proficiency = | ||
Line 39: | Line 40: | ||
|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. | ||
|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 item 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 48: | Line 51: | ||
* 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 = | ||
* Simple | * Simple | ||
* Martial | * Martial | ||
* Exotic | * Exotic | ||
| | |parameter7name = basedamagerating | ||
| | |parameter7description = Enter the base damage rating, as shown on the examine pane. | ||
| | |parameter8name = damage | ||
| | |parameter8description = Enter the damage dice possible. Use [[Template:Dice]] to enter the information. | ||
| | |parameter9name = damagetype | ||
| | |parameter9description =Enter the types of damage this weapons does. Use [[Template:DamageType]] to specify this. | ||
| | |parameter10name = critprofile | ||
| | |parameter10description = Enter the critical profile, as shown on the examine pane. Use [[Template:ItemCritProfile]] to specify this. | ||
| | |parameter11name = attackmod | ||
| | |parameter11description = Enter the base ability that modifies the attack roll on the weapon. Use [[Template:WeaponMod]] to specify this. | ||
| | |parameter12name = damagemod | ||
| | |parameter12description = Enter the base ability that modifies the damage roll on the weapon. Use [[Template:WeaponMod]] to specify this. | ||
| | |parameter13name = enchantments | ||
| | |parameter13description = 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. | ||
| | |parameter14name = description | ||
| | |parameter14description = Enter the description that is on the examine window at the bottom. | ||
| | |parameter15name = droplocation | ||
| | |parameter15description = 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. | ||
| | |parameter16name = material | ||
| | |parameter16description = Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron). | ||
| | |parameter17name = hardness | ||
| | |parameter17description = Enter the hardness shown in the examine window. | ||
| | |parameter18name = durability | ||
| | |parameter18description = Enter the maximum durability value shown in the examine window. | ||
| | |parameter19name = update | ||
| | |parameter19description = Which update was this item added to the game in. | ||
| | |parameter20name = details | ||
| | |parameter20description = Enter any details that a player may need to know about this (i.e. if not working correctly, etc). | ||
| | |parameter21name = upgradeable | ||
| | |parameter21description = 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. | ||
| | |parameter22name = restriction | ||
| | |parameter22description = 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]]. | ||
| | |parameter23name = sentientexcluded | ||
| | |parameter23description = 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. | ||
| | |parameter24name = icon | ||
| | |parameter24description = The image to use for the icon instead of the one by name | ||
| | |parameter25name = bug | ||
| | |parameter25description = Contains any information about a bug related to the item. Use [[Template:Bug]] | ||
}} | }} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
Line 115: | Line 118: | ||
<tr> | <tr> | ||
<td> | <td> | ||
'''{{{proficiency}}} Weapon Proficiency'''<br>{{#if: {{{restriction|}}}|{{{restriction}}}<br>}}'''Minimum Level:''' {{{minlevel}}}<br>{{ItemBinding|{{{binding}}}}}<br> | '''{{{proficiency}}} Weapon Proficiency'''<br>{{#if: {{{restriction|}}}|{{{restriction}}}<br>}}{{#if: {{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>}}{{#if: {{{absoluteminlevel|}}}|'''Absolute Minimum Level:''' {{{absoluteminlevel}}}<br>}}{{ItemBinding|{{{binding}}}}}<br> | ||
'''Base Damage:''' {{{basedamagerating}}}<br> | '''Base Damage:''' {{{basedamagerating}}}<br> | ||
'''Damage:''' {{{damage}}}<br> | '''Damage:''' {{{damage}}}<br> |
Revision as of 16:41, 5 October 2018
{{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= |bug= }}
Weapon[edit]
This template is used to render information about a weapon. Example of the Template in Use: Riftmaker.
Usage[edit]
Parameter Documentation | |
name | The name of the weapon. |
type | What type of weapon is it. |
minlevel | Enter the minimum level required for the item, 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 item bound - leave blank it is unbound. Possible Values:
|
proficiency | Enter the proficiency needed to wield this weapon Possible Values:
|
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 weapons 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 weapon. Use Template:WeaponMod to specify this. |
damagemod | Enter the base ability that modifies the damage roll on the weapon. 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. |
sentientexcluded | 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. |
icon | The image to use for the icon instead of the one by name |
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.