Template:WeaponsTableRow: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Added {{DamageType}} formatting)
(Made "extra damage 2" visible.)
Line 18: Line 18:
<td style="text-align: center; vertical-align: middle;">{{#if: {{{damage type|}}} | {{DamageType|{{{damage type|}}}}} | }}</td>
<td style="text-align: center; vertical-align: middle;">{{#if: {{{damage type|}}} | {{DamageType|{{{damage type|}}}}} | }}</td>


<td style="text-align: center; vertical-align: middle;">{{{extra damage|}}}</td>
<td style="text-align: center; vertical-align: middle;">{{{extra damage|}}}{{#if: {{{extra damage 2|}}} | <br/>{{{extra damage 2|}}} | }}</td>


<td style="text-align: center; vertical-align: middle;">{{#if: {{{extra damage type|}}} | {{DamageType|{{{extra damage type|}}}}} | }}</td>
<td style="text-align: center; vertical-align: middle;">{{#if: {{{extra damage type|}}} | {{DamageType|{{{extra damage type|}}}}} | }}{{#if: {{{extra damage type 2|}}} | <br/>{{DamageType|{{{extra damage type 2|}}}}} | }}</td>


<td style="text-align: center; vertical-align: middle;">
<td style="text-align: center; vertical-align: middle;">
Line 43: Line 43:
{{WeaponsTableRow
{{WeaponsTableRow
| page = Blightbringer
| page = Blightbringer
| name = Example Sword
| name = Example Bow #1
| image = Longsword Icon.png
| rarity = very rare
| enchantment = +2
| damage = 1d8 + 2
| damage type = Slashing
| extra damage = 1d4
| extra damage type = Fire
| extra damage 2= 1d4
| extra damage type 2= Cold
| weight kg = 18
| weight lb = 36
| price = 400
| special =
* Super cool special feature.
}}{{WeaponsTableRow
| page = Blightbringer
| name = Example Bow #2
| image = Longsword Icon.png
| image = Longsword Icon.png
| rarity = uncommon
| rarity = uncommon
Line 58: Line 75:
}}{{WeaponsTableRow
}}{{WeaponsTableRow
| page = Sword of the Emperor
| page = Sword of the Emperor
| name = Gone Sword
| name = Example Sword
| image = Longsword Icon.png
| image = Longsword Icon.png
| rarity = uncommon
| rarity = uncommon

Revision as of 23:12, 29 February 2024

For use with Cargo queries; see Template:WeaponTypePage. Sample:

Weapon Enchant. Damage Damage Type Weight Price Special


Example Bow #1

+2 1d8 + 2 Damage TypesSlashing 1d4
1d4
Damage TypesFire
Damage TypesCold

18 kg
36 lb

400
  • Super cool special feature.


Example Bow #2

+1 1d8 Damage TypesSlashing 1d8 Damage TypesFire

18 kg
36 lb

400
  • Super cool special feature.


Example Sword

+1 1d8 Damage TypesSlashing

18 kg
36 lb

400