Template:WeaponsTableRow: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(Add legacy support)
(Use ItemIcon to display the item.)
Line 1: Line 1:
<noinclude>For use with Cargo queries; see [[Template:WeaponTypePage]].
<noinclude>For use with Cargo queries; see [[Template:WeaponTypePage]].
 
[[Category:Templates]]
Sample:
Sample:


Line 37: Line 37:


<td style="text-align: center; vertical-align: middle;">
<td style="text-align: center; vertical-align: middle;">
{{#if: {{{image|}}} | [[File:{{{image}}}|frameless|50px|link={{{name}}}]] <br>}}
{{ItemIcon
|name={{{name}}}
|size=50
|show_rarity=t
|no_padding=t
}}<br>
[[{{{name}}} | {{RarityColor | {{{rarity}}} | {{{name}}} }}]]
[[{{{name}}} | {{RarityColor | {{{rarity}}} | {{{name}}} }}]]
</td>
</td>

Revision as of 17:21, 13 October 2023

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

Weapon Enchant. Damage Damage Type Weight Price Special

File:Example Sword Unfaded Icon.png
Example Sword

+1 1d8 Slashing 1d8 Fire

18 kg
36 lb

400
  • Super cool special feature.

File:Gone Sword Unfaded Icon.png
Gone Sword

+1 1d8 Slashing 1d8 Fire

18 kg
36 lb

400