Template:Weapon page

Template page
Revision as of 14:03, 6 February 2023 by Taylan (talk | contribs)

This template generates entire pages for individual weapons in the game, such as Longsword (not to be confused with Longswords) or Worgfang.

Following is an example of usage with all possible template parameters shown. This describes a made up Longsword which for some reason deals an extra 1d4 Fire damage, is heavy (longswords normally aren't), and has the Tenacity attribute which normally Morningstars and Greatclubs have.


Longsword Icon.png

Weapon page is a special variant of the Longswords family of weapons. It is a martial melee weapon that can be wielded in one hand, or with both hands for extra damage. Its design lends itself well to be thrown at enemies as a projectile.

The in-game flavor text in the item's tooltip.

Where to Find

This is a made-up weapon. You cannot obtain it anywhere in the game.

Properties

One-handed damage:
D8 Slashing.png 1d8 + 1 (2~9) + Strength modifier Damage TypesSlashing damage
Two-handed damage:
D10 Slashing.png 1d10 + 2 (3~12) + Strength modifier Damage TypesSlashing damage
Extra damage:
D4 Fire.png 1d4 (1~4) Damage TypesFire damage
  •  Melee: 1.5 m / 5  ft
  • Longswords Longswords
  •  Versatile
  • Thrown Thrown
  • Dippable Dippable
  •  Weight: 1.35 kg / 2.7 lb
  • Price: 75 gp
  • Rarity: Common

Special

The holder of this item gains:

  • Super Cool Ability: Once per Long Rest you can use this awesome ability of this weapon.

Weapon Actions

Proficiency Icon.png If you have proficiency, equip in main hand to gain:

{{WeaponPage
| <!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:WeaponPage -->
| image = Longsword Icon.png
| description = Optional description.  Nonmagical and simple +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 you might still want to provide a short description of what makes the weapon noteworthy.
| quote = The in-game flavor text in the item's tooltip.
| category = martial <!-- martial or simple -->
| melee or ranged = melee <!-- melee or ranged, duh -->
| handedness = versatile <!-- one-handed, versatile, two-handed -->
| type = Longswords <!-- One of [[Category:Weapon Types]]. -->
| rarity = <!-- EMPTY for common, otherwise: uncommon, rare, veryrare, legendary -->
| enchantment = <!-- EMPTY for none, otherwise: +1, +2, +3, +4, +5 -->
| damage = 1d8 + 1 <!-- Must follow this exact strict format, with the "+ X" being optional. -->
| damage type = Slashing <!-- Accepts any of [[Damage Types]], but usually: Slashing, Piercing, or Bludgeoning -->
| versatile damage = 1d10 + 2 <!-- Same format as regular damage, or EMPTY if this isn't a Versatile weapon. -->
| extra damage = 1d4 Fire <!-- Same format as regular damage but with type directly on the same line. -->
| range m = <!-- EMPTY if melee, otherwise range in metric. -->
| range ft = <!-- EMPTY if melee, otherwise range in feet. -->
| <!-- Following are yes/no properties, which MUST BE EMPTY if you mean "no"!  Never actually type "no"! -->
| ammunition =
| finesse =
| heavy =
| light =
| loading =
| reach =
| thrown =
| can't dual wield =
| dippable = yes
| weight kg = 1.35
| weight lb = 2.7
| price = 75
| actions = <!-- Common actions you get when you have proficiency and wield the weapon in your main-hand. -->
* {{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.
}}

See here for the result of the above: Template:WeaponPage/Example

Note that the template even adds the page to the correct categories. And for the same reason, it shouldn't be invoked here for the purpose of showing how the results look; that would result in this template page being added to the categories to which weapon pages are added.