Template:WeaponsTableRow: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Improve code and formatting.)
(Merge extra damage columns into damage columns)
Line 14: Line 14:
<td style="text-align: center; vertical-align: middle;">{{{enchantment}}}</td>
<td style="text-align: center; vertical-align: middle;">{{{enchantment}}}</td>


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


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


<td style="text-align: center; vertical-align: middle;">
<td style="text-align: center; vertical-align: middle;">

Revision as of 07:14, 1 April 2024

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

Weapon Enchant. Damage Damage Type Weight Price Special


Example Bow #1

+2 1d8 + 2
1d4
1d4
Slashing
Fire
Cold

18 kg
36 lb

400
  • Super cool special feature.


Example Bow #2

+1 1d8
1d8
Slashing
Fire

18 kg
36 lb

400

  • Super cool special feature.


Example Sword

+1 1d8 Slashing

18 kg
36 lb

400