Template:ConditionsTableRow: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(Updated to receive page link instead of assuming from the name)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>For use with Cargo queries.
<noinclude>For use with Cargo queries. See also [[Template:ConditionsTableHeader]].
 
[[Category:Condition templates]]
Sample:
Sample:


Line 6: Line 6:
{{ConditionsTableRow
{{ConditionsTableRow
| name = Acid
| name = Acid
| icon = Acid Condition Icon.png
| page = Acid
| icon = Acid Condition Icon.webp
| effects =
| effects =
* Reduces {{ArmourClass}} by 2.
* Reduces {{ArmourClass}} by 2.
| types = cursed,polymorphed
}}
}}
{{ConditionsTableFooter}}
{{ConditionsTableFooter}}
</noinclude><includeonly><tr>
</noinclude><includeonly><tr id="{{{name}}}">


<td style="vertical-align: middle;">
<td style="vertical-align: middle;">
{{Icon| {{{icon}}} |30| link = {{{name}}} (Condition) }} [[{{{name}}} (Condition)|'''{{{name}}}''']]
{{Icon| {{{icon}}} |30| link = {{{page}}} }} [[{{{page}}}|'''{{{name}}}''']]
</td>
</td>


<td style="vertical-align: middle;">
<td style="vertical-align: middle;">
{{{effects}}}
{{{effects}}}{{#if:{{{types|}}}
|{{#arraydefine:types|{{{types|}}}|,}}<br>{{#arrayprint:types|&nbsp;|@|{{Condition Type|@}} }}
}}
</td>
</td>


</tr></includeonly>
</tr></includeonly>

Latest revision as of 06:40, 9 May 2024

For use with Cargo queries. See also Template:ConditionsTableHeader. Sample:

Condition Effects

Acid Acid