Template:ArmourTableRow: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created page with "<noinclude>Sample: {| class="wikitable" ! Item !! Armour Class !! Stealth Disadvantage !! Weight !! Price !! Special {{ArmourTableRow | name = Example Armour | image = Chain Mail Icon.png | rarity = uncommon | armour class = 12 | stealth disadvantage = Yes | weight kg = 18 | weight lb = 36 | price = 400 | special = * Super cool special feature. }} |}</noinclude><includeonly><tr> <td style="text-align: center; vertical-align: middle;"> File:{{{image}}}|frameless|80px|...")
 
(Use new image rarity item tempalte)
 
(17 intermediate revisions by 4 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 = Yes
| weight kg = 18
| weight lb = 36
| price = 400
| special =
* Super cool special feature.
}}
}}
|}</noinclude><includeonly><tr>
<td style="text-align: center; vertical-align: middle;">
[[File:{{{image}}}|frameless|80px|link={{{name}}}]]
<br>
[[{{{name}}} | {{RarityColor | {{{rarity}}} | {{{name}}} }}]]
</td>
</td>


<td style="text-align: center; vertical-align: middle;">{{{armour class}}}</td>
<td style="text-align: center; vertical-align: middle;">{{{armour class}}}</td>


<td style="text-align: center; vertical-align: middle;">{{{stealth disadvantage}}}</td>
<td style="text-align: center; vertical-align: middle;">{{#ifeq: {{{stealth disadvantage|}}} | 1 | Yes | No }}</td>


<td style="text-align: center; vertical-align: middle;">
<td style="text-align: center; vertical-align: middle;">
{{{weight kg}}}{{nbts}}kg / {{{weight lb}}}{{nbts}}lb
{{{weight kg}}}{{nbts}}kg
<br>
{{{weight lb}}}{{nbts}}lb
</td>
</td>


<td style="text-align: center; vertical-align: middle;">{{{price}}}</td>
<td style="text-align: center; vertical-align: middle;">{{{price}}}</td>


<td style="text-align: center; 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.