Template:WeaponsTableRow: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(Added UID)
Line 1: Line 1:
<noinclude>For use with Cargo queries; see [[Template:WeaponTypePage]].
<includeonly><tr>
 
<td style="text-align: center; vertical-align: middle;">
{{ItemIcon
|name={{{page}}}
|uid={{{uid}}}
|size=50
|show_rarity=t
|no_padding=t
}}<br>
[[{{{page}}} | {{RarityColor | {{{rarity}}} | {{{name}}} }}]]
</td>
 
<td style="text-align: center; vertical-align: middle;">{{{enchantment}}}</td>
 
<td style="text-align: center; vertical-align: middle;">{{{damage}}}</td>
 
<td style="text-align: center; vertical-align: middle;">{{{damage type|}}}</td>
 
<td style="text-align: center; vertical-align: middle;">{{{extra damage|}}}</td>
 
<td style="text-align: center; vertical-align: middle;">{{{extra damage type|}}}</td>
 
<td style="text-align: center; vertical-align: middle;">
{{{weight kg}}}{{nbts}}kg
<br>
{{{weight lb}}}{{nbts}}lb
</td>
 
<td style="text-align: center; vertical-align: middle;">{{{price}}}</td>
 
<td style="vertical-align: middle;">
{{{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}}} }}
}}
</td>
 
</tr></includeonly><noinclude>For use with Cargo queries; see [[Template:WeaponTypePage]].
[[Category:Templates]]
[[Category:Templates]]
Sample:
Sample:
Line 36: Line 73:
| legacy = inaccessible
| legacy = inaccessible
}}
}}
{{WeaponsTableFooter}}</noinclude><includeonly><tr>
{{WeaponsTableFooter}}</noinclude>
 
<td style="text-align: center; vertical-align: middle;">
{{ItemIcon
|name={{{page}}}
|size=50
|show_rarity=t
|no_padding=t
}}<br>
[[{{{page}}} | {{RarityColor | {{{rarity}}} | {{{name}}} }}]]
</td>
 
<td style="text-align: center; vertical-align: middle;">{{{enchantment}}}</td>
 
<td style="text-align: center; vertical-align: middle;">{{{damage}}}</td>
 
<td style="text-align: center; vertical-align: middle;">{{{damage type|}}}</td>
 
<td style="text-align: center; vertical-align: middle;">{{{extra damage|}}}</td>
 
<td style="text-align: center; vertical-align: middle;">{{{extra damage type|}}}</td>
 
<td style="text-align: center; vertical-align: middle;">
{{{weight kg}}}{{nbts}}kg
<br>
{{{weight lb}}}{{nbts}}lb
</td>
 
<td style="text-align: center; vertical-align: middle;">{{{price}}}</td>
 
<td style="vertical-align: middle;">
{{{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}}} }}
}}
</td>
 
</tr></includeonly>

Revision as of 10:12, 9 January 2024

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

Weapon Enchant. Damage Damage Type Weight Price Special

File:Blightbringer Unfaded Icon.png
Example Sword

+1 1d8 Slashing 1d8 Fire

18 kg
36 lb

400
  • Super cool special feature.

File:Sword of the Emperor Unfaded Icon.png
Gone Sword

+1 1d8 Slashing 1d8 Fire

18 kg
36 lb

400