Ad placeholder

Template:ConditionsTableRow: Difference between revisions

Jump to navigation Jump to search
Updated to receive page link instead of assuming from the name
No edit summary
(Updated to receive page link instead of assuming from the name)
 
(9 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}}} | 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>

Navigation menu