Template:ArmourTableRow: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Updated to use ItemIcon, same as the other table rows)
(Use new image rarity item tempalte)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>Sample:
<includeonly><tr>


{| class="wikitable"
<td style="text-align: center; vertical-align: middle;">
! Item !! Armour Class !! Stealth Disadvantage !! Weight !! Price !! Special
{{Image rarity item/Format
{{ArmourTableRow
| page = {{{page}}}
| name = Example Armour
| icon = {{{icon}}}
| image = Chain Mail Icon.png
| rarity = {{{rarity}}}
| rarity = uncommon
| armour class = 12
| stealth disadvantage = 1
| weight kg = 18
| weight lb = 36
| price = 400
| special =
* Super cool special feature.
}}
}}
|}</noinclude><includeonly><tr>
<td style="text-align: center; vertical-align: middle;">
{{ItemIcon
|name={{{name}}}
|size=50
|show_rarity=t
|no_padding=t
}}<br>
[[{{{name}}} | {{RarityColor | {{{rarity}}} | {{{name}}} }}]]
</td>
</td>


Line 40: Line 22:


<td style="vertical-align: middle;">
<td style="vertical-align: middle;">
{{#if: {{{special|}}} | {{blank}}
{{{special}}}
{{{special}}}
}}{{#if: {{{passives|}}} | {{blank}}
{{#invoke: ParseList | main | {{{passives}}} | useTemplate = Passive | type = none }}
}}
</td>
</td>


</tr></includeonly>
</tr></includeonly><noinclude>Sample:
 
{| class="wikitable"
! Item !! Armour Class !! Stealth Disadvantage !! Weight !! Price !! Special
{{ArmourTableRow
| page = Example Armour (Page)
| name = Example Armour
| icon = Example Armour Icon.png
| rarity = uncommon
| armour class = 12
| stealth disadvantage = 1
| weight kg = 18
| weight lb = 36
| price = 400
| special =
* Super cool special feature.
}}
{{ArmourTableRow
| page = Leather Armour
| name = Leather Armour
| icon = Leather Armour Rogue Unfaded Icon.png
| uid = UNI_Leather_Jaheira
| rarity = uncommon
| armour class = 12
| stealth disadvantage = 1
| weight kg = 18
| weight lb = 36
| price = 400
| special =
* Super cool special feature.
}}
|}</noinclude>

Latest revision as of 06:53, 15 October 2024

Sample:

Item Armour Class Stealth Disadvantage Weight Price Special

File:Example Armour Icon.png
Example Armour (Page)

12 Yes

18 kg
36 lb

400

  • Super cool special feature.


Leather Armour

12 Yes

18 kg
36 lb

400

  • Super cool special feature.