Ad placeholder

Template:Weapon page: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 63: Line 63:
<h2> Properties </h2>
<h2> Properties </h2>


{{#ifeq: {{{handedness}}} | versatile |
<dl class="bg3wiki-weapon-damages">
<p>One-handed damage:</p>
{{#ifeq: {{{handedness}}} | versatile | <dt> One-handed damage:
}}{{DamageInfo
}} <dd> {{DamageInfo
| {{{damage}}}
| {{{damage}}}
| {{{damage type}}}
| {{{damage type}}}
| modifier = {{#if: {{{modifier|}}} | {{{modifier}}} | {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }} }}
| modifier = {{#if: {{{modifier|}}} | {{{modifier}}} | {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }} }}
}}{{#ifeq: {{{handedness}}} | versatile | {{blank}}
}} {{#ifeq: {{{handedness}}} | versatile |
Two-handed damage:
<dt> Two-handed damage:
{{DamageInfo
<dd> {{DamageInfo
| {{{versatile damage}}}
    | {{{versatile damage}}}
| {{{damage type}}}
    | {{{damage type}}}
| modifier = {{#if: {{{modifier|}}} | {{{modifier}}} | {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }} }}
    | modifier = {{#if: {{{modifier|}}} | {{{modifier}}} | {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }} }}
}}
    }}
}}{{#if: {{{extra damage|}}} | {{blank}}
}} {{#if: {{{extra damage|}}} |
Extra damage:
<dt> Extra damage:
{{DamageInfo
<dd> {{DamageInfo
| {{#sub: {{{extra damage}}} | 0 | {{#rpos: {{{extra damage}}} | }} }}
    | {{#sub: {{{extra damage}}} | 0 | {{#rpos: {{{extra damage}}} | }} }}
| {{#sub: {{{extra damage}}} | {{#expr: 1 + {{#rpos: {{{extra damage}}} | }} }} }}
    | {{#sub: {{{extra damage}}} | {{#expr: 1 + {{#rpos: {{{extra damage}}} | }} }} }}
}}
    }}
}}{{#if: {{{extra damage 2|}}} | {{blank}}
}} {{#if: {{{extra damage 2|}}} |
{{DamageInfo
<dd> {{DamageInfo
| {{#sub: {{{extra damage 2}}} | 0 | {{#rpos: {{{extra damage 2}}} | }} }}
    | {{#sub: {{{extra damage 2}}} | 0 | {{#rpos: {{{extra damage 2}}} | }} }}
| {{#sub: {{{extra damage 2}}} | {{#expr: 1 + {{#rpos: {{{extra damage 2}}} | }} }} }}
    | {{#sub: {{{extra damage 2}}} | {{#expr: 1 + {{#rpos: {{{extra damage 2}}} | }} }} }}
}}
    }}
}}
}}
</dl>


{{WeaponType | {{{type}}} }}
<ul class="bg3wiki-weapon-properties">
<br>{{Rarity | {{{rarity|common}}} }}
<li> {{WeaponType | {{{type}}} }}
<br>{{Enchantment | {{{enchantment|}}} }}
<li> {{Rarity | {{{rarity|common}}} }}
<br>{{#switch: {{{handedness}}}
<li> {{Enchantment | {{{enchantment|}}} }}
<li> {{#switch: {{{handedness}}}
| one-handed = {{One-Handed}}
| one-handed = {{One-Handed}}
| two-handed = {{Two-Handed}}
| two-handed = {{Two-Handed}}
| versatile = {{Versatile}}
| versatile = {{Versatile}}
}} {{#if: {{{finesse|}}} |
}} {{#if: {{{finesse|}}} | <li> {{Finesse}}
<br>{{Finesse}}
}} {{#if: {{{light|}}} | <li> {{Light}}
}} {{#if: {{{light|}}} |
}} {{#if: {{{reach|}}} | <li> {{Reach}}
<br>{{Light}}
}} {{#if: {{{thrown|}}} | <li> {{Thrown}}
}} {{#if: {{{reach|}}} |
}} {{#if: {{{can't dual wield|}}} | <li> {{Can't Dual Wield}}
<br>{{Reach}}
}} {{#if: {{{dippable|}}} | <li> {{Dippable}}
}} {{#if: {{{thrown|}}} |
<br>{{Thrown}}
}} {{#if: {{{can't dual wield|}}} |
<br>{{Can't Dual Wield}}
}} {{#if: {{{dippable|}}} |
<br>{{Dippable}}
}}
}}
<br>{{#switch: {{{melee or ranged}}}
<li> {{#switch: {{{melee or ranged}}}
| melee = {{Range| {{#if: {{{reach|}}} | reach | melee}} }}
| melee = {{Range| {{#if: {{{reach|}}} | reach | melee}} }}
| ranged =
| ranged =
Line 119: Line 115:
   }}
   }}
}}
}}
<br>{{Weight | kg = {{{weight kg}}} | lb = {{{weight lb}}} }}
<li> {{Weight | kg = {{{weight kg}}} | lb = {{{weight lb}}} }}
<br>{{Price | {{{price}}} }} {{#if: {{{special|}}} | {{blank}}
<li> {{Price | {{{price}}} }} {{#if: {{{special|}}} | {{blank}}
</ul>


<h3> Special </h3>
<h3> Special </h3>
Line 199: Line 196:
</pre>
</pre>


An example follows. __NOTOC__
Examples follow. __NOTOC__


<h1>Longsword</h1>
<h1>Longsword</h1>
Line 237: Line 234:
<!-- Common actions you get when you have proficiency and wield the weapon in your main-hand. -->
<!-- Common actions you get when you have proficiency and wield the weapon in your main-hand. -->
| weapon actions = Pommel Strike, Lacerate, Rush Attack
| weapon actions = Pommel Strike, Lacerate, Rush Attack
| special = <!-- List of special features or abilities granted by the weapon. -->
* '''Super Cool Ability:''' Once per [[Long Rest]] you can use this awesome ability of this weapon.
| where to find = <!-- Describe where and how to obtain the weapon, if it's a special one. -->
This is a made-up weapon.  You cannot obtain it anywhere in the game.
| this is an example = yes <!-- Important to specify this when the template is only used for example purposes. -->
}}
<h1>Dagger</h1>
{{WeaponPage
<!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:WeaponPage -->
| image = Dagger Icon.png
| description = <!-- Optional description.  Nonmagical and +1/+2/etc. will be auto-generated, so leave empty for those.  Others will also have a sensible default description generated, so strictly speaking you can always leave this empty, but for weapons with special properties, you might want to instead provide a short description of what makes the weapon noteworthy. -->
| quote = The in-game flavor text in the item's tooltip.
| category = simple <!-- martial or simple -->
| melee or ranged = melee <!-- melee or ranged, duh -->
| handedness = one-handed <!-- one-handed, versatile, two-handed -->
| type = Longswords <!-- One of [[Category:Weapon Types]]. Always plural. -->
| rarity = <!-- Leave EMPTY for common, otherwise: uncommon, rare, very rare, legendary, story -->
| enchantment = <!-- Leave EMPTY for none, otherwise: +1, +2, +3, +4, +5 -->
| damage = 1d4 + 1 <!-- Must follow the strict format XdY + Z, with the "+ Z" only needed if the weapon has an enchantment. -->
| damage type = Piercing <!-- Accepts any of [[Damage Types]], but usually: Slashing, Piercing, or Bludgeoning -->
| range = <!-- Leave EMPTY if melee, otherwise this can be "normal", "short" (e.g. Hand Crossbow), or "special" -->
| range m = <!-- Leave EMPTY if "range" is NOT "special", otherwise this is the range in meters. -->
| range ft = <!-- Leave EMPTY if "range" is NOT "special", otherwise this is the range in feet. -->
<!-- Following are yes/no properties, which MUST BE EMPTY if you mean "no"!  Never actually type "no"! -->
| finesse = yes
| light = yes
| reach =
| thrown = yes
| can't dual wield =
| dippable = yes
| weight kg = 1.35
| weight lb = 2.7
| price = 75
<!-- Common actions you get when you have proficiency and wield the weapon in your main-hand. -->
| weapon actions = Piercing Strike
| special = <!-- List of special features or abilities granted by the weapon. -->
| special = <!-- List of special features or abilities granted by the weapon. -->
* '''Super Cool Ability:''' Once per [[Long Rest]] you can use this awesome ability of this weapon.
* '''Super Cool Ability:''' Once per [[Long Rest]] you can use this awesome ability of this weapon.

Navigation menu