Template:WeaponsTableRow: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
(Replaced damage color template to reduce template inclusion)
Line 16: Line 16:
<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;">{{{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|}}}}} | }}{{#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;">{{#if: {{{damage type|}}} | <span class="{{lc:{{{damage type}}}}}">{{{damage type}}}</span> | }}{{#if: {{{extra damage type|}}} | <br/><span class="{{lc:{{{extra damage type}}}}}">{{{extra damage type}}}</span> | }}{{#if: {{{extra damage 2 type|}}} | <br/><span class="{{lc:{{{extra damage 2 type}}}}}">{{{extra damage 2 type}}}</span> | }}</td>


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

Revision as of 21:33, 13 June 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