Template:ConditionsTableRow: Difference between revisions
Jump to navigation
Jump to search
(Move the types into effects instead) |
HiddenDragon (talk | contribs) (Updated to receive page link instead of assuming from the name) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>For use with Cargo queries. See also [[Template:ConditionsTableHeader]]. | <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 | ||
| page = Acid | |||
| icon = Acid Condition Icon.webp | | icon = Acid Condition Icon.webp | ||
| effects = | | effects = | ||
Line 15: | Line 16: | ||
<td style="vertical-align: middle;"> | <td style="vertical-align: middle;"> | ||
{{Icon| {{{icon}}} |30| link = {{{ | {{Icon| {{{icon}}} |30| link = {{{page}}} }} [[{{{page}}}|'''{{{name}}}''']] | ||
</td> | </td> | ||
<td style="vertical-align: middle;"> | <td style="vertical-align: middle;"> | ||
{{{effects}}} | {{{effects}}}{{#if:{{{types|}}} | ||
{{#if:{{{types|}}}|{{#arraydefine:types|{{{types|}}}|,}}{{#arrayprint:types| |@|{{Condition Type|@}} }} | |{{#arraydefine:types|{{{types|}}}|,}}<br>{{#arrayprint:types| |@|{{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 |
---|---|
|