Template:ConditionsTableRow: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created page with "<noinclude>For use with Cargo queries. Sample: {{ConditionsTableHeader}} {{ConditionsTableRow | name = Acid | icon = Acid Condition Icon.png | effects = * Reduces {{ArmourClass}} by 2. }} {{ConditionsTableFooter}} </noinclude><includeonly><tr> <td style="text-align: center; vertical-align: middle;"> {{Icon| {{{icon}}} | link = {{{name}}} (Condition) }} {{{name}}} </td> <td style="text-align: center; vertical-align: middle;"> {{{effects}}} </td> </tr></includeonly>")
 
(Updated to receive page link instead of assuming from the name)
 
(10 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="text-align: center; vertical-align: middle;">
<td style="vertical-align: middle;">
{{Icon| {{{icon}}} | link = {{{name}}} (Condition) }} {{{name}}}
{{Icon| {{{icon}}} |30| link = {{{page}}} }} [[{{{page}}}|'''{{{name}}}''']]
</td>
</td>


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