Template:Weapon type page

From bg3.wiki
Revision as of 02:18, 24 July 2023 by Taylan (talk | contribs)
Jump to navigation Jump to search

This template generates entire weapon type pages such as Daggers or Longswords.

Here's some example usage (note that this is intentionally wrong, to showcase as many parameters as possible):

{{WeaponTypePage
| <!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:WeaponTypePage -->
| type = Longswords
| example = Longsword
| category = martial
| handedness = versatile
| melee or ranged = melee
| damage = 1d8 + 1
| damage type = Slashing
| versatile damage = 1d10 + 2
| finesse = yes
| light = yes
| dippable = yes
| actions =
* {{Pommel Strike}}
* {{Lacerate}}
}}

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.

Examples follow.

Daggers

Daggers Daggers are a type of simple, one-handed, melee Weapon. Following are some base attributes common to most Daggers, although special or magical variants may be significantly different. For the most common, nonmagical kind of this weapon, see Dagger. Further down below, you can find a list of all Daggers in the game.

Properties

Actions

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

List of Daggers

Omitted because this is an example


Longbows

Longbows Longbows are a type of martial, two-handed, ranged Weapon. Following are some base attributes common to most Longbows, although special or magical variants may be significantly different. For the most common, nonmagical kind of this weapon, see Longbow. Further down below, you can find a list of all Longbows in the game.

Properties

Actions

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

List of Longbows

Omitted because this is an example




This template defines the table "weapon_types". View table.