Template:WeaponsTableRow: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
m (Correct template)
mNo edit summary
Line 33: Line 33:
{{#if: {{{passives|}}} | {{#invoke: ParseList | main | {{{passives}}} | useTemplate = Passive | type = htmlList }} | }}{{#if: {{{passives main hand|}}} | Main Hand Only
{{#if: {{{passives|}}} | {{#invoke: ParseList | main | {{{passives}}} | useTemplate = Passive | type = htmlList }} | }}{{#if: {{{passives main hand|}}} | Main Hand Only
{{#invoke: ParseList | main | {{{passives main hand}}} | useTemplate = Passive | type = htmlList }} | }}{{#if: {{{passives off hand|}}} | Off-Hand Only
{{#invoke: ParseList | main | {{{passives main hand}}} | useTemplate = Passive | type = htmlList }} | }}{{#if: {{{passives off hand|}}} | Off-Hand Only
{{#invoke: ParseList | main | {{{passives off hand}}} | useTemplate = Passive | type = htmlList }} | }}
{{#invoke: ParseList | main | {{{passives off hand}}} | useTemplate = Passive | type = htmlList }} | }}{{{special}}}{{#if: {{{special weapon actions|}}}|{{#if: {{{special|}}}|<br/>|}}{{#invoke: ParseList | main | {{{special weapon actions}}} | useTemplate = WeaponAction | type = htmlList }} | }}{{#if:{{{legacy|}}}|<br>
{{{special}}}{{#if: {{{special weapon actions|}}}|{{#if: {{{special|}}}|<br/>|}}{{#invoke: ParseList | main | {{{special weapon actions}}} | useTemplate = WeaponAction | type = htmlList }} | }}{{#if:{{{legacy|}}}|<br>
* {{Legacy Content/notice|{{{legacy}}} }}
* {{Legacy Content/notice|{{{legacy}}} }}
}}
}}

Revision as of 20:33, 19 March 2024

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

Weapon Enchant. Damage Damage Type Weight Price Special


Example Bow #1

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

18 kg
36 lb

400 * Super cool special feature.


Example Bow #2

+1 1d8 Slashing 1d8 Fire

18 kg
36 lb

400
  • Super cool special feature.


Example Sword

+1 1d8 Slashing

18 kg
36 lb

400