Template:Weapon type page: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(Remove uses of Template:H3 (automated edits))
(Only need the icon)
Line 70: Line 70:
{{WeaponsTableHeader}}
{{WeaponsTableHeader}}
{{#cargo_query: tables = weapons
{{#cargo_query: tables = weapons
| fields = _pageName=page, name, uid, image, controller_icon, icon, rarity, enchantment, damage, damage_type, extra_damage, extra_damage_type, extra_damage_2, extra_damage_2_type, weight_kg, weight_lb, price, passives, passives_main_hand, passives_off_hand, special, special_weapon_actions
| fields = _pageName=page, name, uid, icon, rarity, enchantment, damage, damage_type, extra_damage, extra_damage_type, extra_damage_2, extra_damage_2_type, weight_kg, weight_lb, price, passives, passives_main_hand, passives_off_hand, special, special_weapon_actions
| order by = rarity_order, name
| order by = rarity_order, name
| where = type="{{{type}}}" AND legacy IS NULL
| where = type="{{{type}}}" AND legacy IS NULL

Revision as of 17:58, 21 March 2024

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
| weapon 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 one-handed simple 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

Damage:
Details:
 One-Handed
 Melee: 1.5 m / 5  ft
Finesse Finesse
Light (weapon property) Light
Dippable Dippable

Actions

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

List of daggers

Omitted because this is an example

Legacy content

Omitted because this is an example


Longbows

Longbows Longbows are a type of two-handed martial 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

Damage:
D8 Piercing.png 1d8 (1~8) + Dexterity modifier Damage TypesPiercing damage
Details:
 Two-Handed
 Range: 18 m / 60 ft
Dippable Dippable

Actions

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

  • Hamstring Shot Hamstring Shot ()
    Shoot an enemy in the thigh and possibly reduce their Movement Speed by 50%.
  • Brace (Ranged) Brace ()
    Spend 6 m / 20 ft of your movement. For the rest of your turn, roll ranged damage twice and use the highest result.

List of longbows

Omitted because this is an example

Legacy content

Omitted because this is an example



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