Template:Weapon page

Template page
Revision as of 16:14, 3 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.

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

{{WeaponPage
| <!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:WeaponPage -->
| image = Longsword Icon.png
| 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.
| category = martial
| melee or ranged = melee
| handedness = versatile
| type = Longswords
| damage = 1d8 + 1 Slashing
| versatile damage = 1d10 + 2
| finesse = yes
| light = yes
| dippable = yes
| weight kg = 1.35
| weight lb = 2.7
| price = 75
| main hand only =
* {{Tenacity}}
| actions =
* {{Pommel Strike}}
* {{Lacerate}}
* {{Rush Attack}}
}}

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 the weapon type pages are added.