Template:WeaponsTableRow: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Removed another template inclusion)
(Remove styles (added to MW:Common.css and MW:Mobile.css).)
Line 1: Line 1:
<includeonly><tr>
<includeonly><tr>
 
<td>
<td style="text-align: center; vertical-align: middle;">
{{ItemIcon Internal
{{ItemIcon Internal
|{{{icon}}}
|{{{icon}}}
Line 18: Line 17:
}};">{{{page}}}</span> ]]
}};">{{{page}}}</span> ]]
</td>
</td>
 
<td>{{{enchantment}}}</td>
<td style="text-align: center; vertical-align: middle;">{{{enchantment}}}</td>
<td>
 
{{{damage}}}{{#if: {{{extra damage|}}} | <br/>{{{extra damage|}}} | }}{{#if: {{{extra damage 2|}}} | <br/>{{{extra damage 2|}}} | }}
<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>
 
<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>
{{#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>
{{#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. -->
Line 32: Line 31:
}}
}}
</td>
</td>
 
<td>{{{price}}}</td>
<td style="text-align: center; vertical-align: middle;">{{{price}}}</td>
<td>
 
<td style="vertical-align: middle;">
{{#if: {{{passives|}}} |
{{#if: {{{passives|}}} |
{{#invoke: ParseList | main | {{{passives}}} | useTemplate = Passive | type = htmlList }}
{{#invoke: ParseList | main | {{{passives}}} | useTemplate = Passive | type = htmlList }}
Line 52: Line 49:
}}
}}
</td>
</td>
</tr></includeonly><noinclude>For use with Cargo queries; see [[Template:WeaponTypePage]].
</tr></includeonly><noinclude>For use with Cargo queries; see [[Template:WeaponTypePage]].
[[Category:Templates]]
[[Category:Templates]]

Revision as of 23:20, 13 June 2024

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

Weapon Enchant. Damage Damage Type Weight Price Special


Blightbringer

+2

1d8 + 2
1d4
1d4

Slashing
Fire
Cold

18 kg
36 lb

400
  • Super cool special feature.


Blightbringer

+1

1d8
1d8

Slashing
Fire

18 kg
36 lb

400

  • Super cool special feature.


Sword of the Emperor

+1

1d8

Slashing

18 kg
36 lb

400