Template:Weapon page: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 14: Line 14:
== Properties ==
== Properties ==


{{#switch:{{{handedness}}}
{{#if:{{{versatile damage|}}}|
| versatile =
One-handed damage:
One-handed damage:
|}}{{DamageInfo
}}{{DamageInfo
| count = {{{damage count}}}
| {{#sub: {{{damage}}} | 0 | {{#rpos: {{{damage}}} | }} }}
| die = {{{damage die}}}
| {{#sub: {{{damage}}} | {{#expr: 1 + {{#rpos: {{{damage}}} | }} }} }}
| plus = {{{damage plus|0}}}
| modifier = {{#if:{{{finesse|}}}|finesse|{{{melee or ranged}}}}}
| modifier = {{#if:{{{finesse|}}}|finesse|{{{melee or ranged}}}}}
| type = {{{damage type}}}
}}{{#if:{{{versatile damage|}}}|
}}{{#switch:{{{handedness}}}
| versatile =
Two-handed damage:
Two-handed damage:
{{DamageInfo
{{DamageInfo
| count = {{{two-handed damage count}}}
| {{{versatile damage}}}
| die = {{{two-handed damage die}}}
| {{#sub: {{{damage}}} | {{#expr: 1 + {{#rpos: {{{damage}}} | }} }} }}
| plus = {{{damage plus|0}}}
| modifier = {{#if:{{{finesse|}}}|finesse|{{{melee or ranged}}}}}
| modifier = {{#if:{{{finesse|}}}|finesse|{{{melee or ranged}}}}}
| type = {{{damage type}}}
}}
}}
|}}
}}


{{#if:{{{range m|}}}{{{range ft|}}}|
{{#if:{{{range m|}}}{{{range ft|}}}|
Line 92: Line 86:
This template generates entire pages for individual weapons in the game, such as [[Longsword]] (not to be confused with [[Longswords]]) or [[Worgfang]].
This template generates entire pages for individual weapons in the game, such as [[Longsword]] (not to be confused with [[Longswords]]) or [[Worgfang]].


Here's an example of usage:
Here's an example of usage (note this has intentionally wrong information because it tries to showcase as many different parameters as possible):


<pre>
<pre>
Line 98: Line 92:
| <!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:WeaponPage -->
| <!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:WeaponPage -->
| image = Longsword Icon.png
| image = Longsword Icon.png
| description = The '''Longsword''' is a [[Weapons|versatile melee weapon]] that can be wielded in one hand, or with both hands for higher damageThis page describes the most common, nonmagical variant of the [[Longswords]] family of weapons.
| description = Optional description for special items(Nonmagical and simple +1/+2/etc. will be auto-generated, so no need for those.)
| quote = A common sword, passed between hands both fresh and battle-scarred.
| quote = A common sword, passed between hands both fresh and battle-scarred.
| category = martial
| category = martial
Line 104: Line 98:
| handedness = versatile
| handedness = versatile
| type = Longswords
| type = Longswords
| damage count = 1
| damage = 1d8 + 1 Slashing
| damage die = 8
| versatile damage = 1d10 + 2
| two-handed damage count = 1
| finesse = yes
| two-handed damage die = 10
| light = yes
| damage type = Slashing
| versatile = yes
| dippable = yes
| dippable = yes
| weight kg = 1.35
| weight kg = 1.35
| weight lb = 2.7
| weight lb = 2.7
| price = 75
| price = 75
| main hand only =
* {{Tenacity}}
| actions =
| actions =
* {{Pommel Strike}}
* {{Pommel Strike}}

Navigation menu