Template:Weapons table: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Added weapon equivalent of Template:Spell_table)
 
(Query weapon_passives instead of passives)
Line 1: Line 1:
<includeonly>{{WeaponsTableHeader}}
<includeonly>{{WeaponsTableHeader}}
{{#cargo_query: tables = weapons
{{#cargo_query: tables = weapons
| fields = _pageName=page, icon, name, uid, image, 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, icon, name, uid, image, rarity, enchantment, damage, damage_type, extra_damage, extra_damage_type, extra_damage_2, extra_damage_2_type, weight_kg, weight_lb, price, weapon_passives, passives_main_hand, passives_off_hand, special, special_weapon_actions
| order by = rarity_order, name
| order by = rarity_order, name
| where = {{{where}}}
| where = {{{where}}}

Revision as of 22:38, 19 August 2024

This template generates a table filled with weapons that satisfy the provided condition. It requires some knowledge of SQL to operate.

Example:
{{Weapons table
|where=rarity = 'rare' AND type = 'Longbows'
}}
Weapon Enchant. Damage Damage Type Weight Price Special


Longbow +2

+2

1d8 + 2

Piercing

1.1 kg
2.2 lb

155


The Joltshooter

1d8

Piercing

1.1 kg
2.2 lb

310
Electric Blood
When the wielder deals damage using this weapon, they gain 2 Lightning Charges Lightning Charges.


Titanstring Bow

+1

1d8 + 1

Piercing

1.1 kg
2.2 lb

310
Titan Weapon
This weapon deals additional damage equal to your Strength Modifier.
Pushing Attack (Titanstring Bow) Pushing Attack (Titanstring Bow) ()

Pushes your target back 4.5 m / 15 ft.

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
wherewhere

A "where" clause for the SQL query.

Unknownsuggested