Template:WeaponsTableRow: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 21: Line 21:
{{#if: {{{weight kg|}}}
{{#if: {{{weight kg|}}}
<!-- #8239 is non-breaking thin space. And yes, the kg to lb factor in BG3 is exactly 1/2. -->
<!-- #8239 is non-breaking thin space. And yes, the kg to lb factor in BG3 is exactly 1/2. -->
|<nowiki>:</nowiki> {{{weight kg}}}&#8239;kg <br> {{#expr:{{{weight kg|}}}*2}}&#8239;lb
| {{{weight kg}}}&#8239;kg <br> {{#expr:{{{weight kg|}}}*2}}&#8239;lb
|<nowiki>:</nowiki> {{#expr:{{{weight lb}}}/2}}&#8239;kg <br> {{{weight lb}}}&#8239;lb
| {{#expr:{{{weight lb}}}/2}}&#8239;kg <br> {{{weight lb}}}&#8239;lb
}}
}}
</td>
</td>

Revision as of 16:40, 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