Template:Infobox Melee: Difference between revisions

From PSP2i Wiki
No edit summary
No edit summary
Line 56: Line 56:
</tr>
</tr>
}}
}}
{{#if:{{{targets|}}}|
<tr>
<th style="background-color: #ccc;">Targets:</th>
<td>{{{targets}}}</td>
</tr>
}}{{#ifeq:{{{icon|}}}|Mag|
{{#if:{{{evo|}}}|
<tr>
<th style="background-color:#ccc;">Evolution:</th>
<td>{{{evo}}}</td>
</tr>
}}
{{#if:{{{cell|}}}|
<tr>
<th style="background-color:#ccc;">Cell:</th>
<td>{{{cell}}}</td>
</tr>
}}
{{#if:{{{conditions|}}}|
<tr>
<th style="background-color: #ccc;">Conditions:</th>
<td>{{{conditions}}}</td>
</tr>
}}
{{#if:{{{pb|}}}|
<tr>
<th style="background-color:#ccc;">Photon Blast:</th>
<td>[[File:{{{pb}}}.png|30px|{{{pb}}}]]</td>
</tr>
}}
{{#if:{{{triggerrate|}}}|
<tr>
<th style="background-color:#ccc;">Trigger Rate:</th>
<td>{{{triggerrate}}}%</td>
</tr>
}}
<tr><td colspan="2"><table align="center" style="border-collapse: collapse;" width="100%">
<tr>
<th colspan="4" style="background-color:#ccc;">Triggers:</th>
</tr>
<tr><td style="text-align: center;"><b>100 PB</b></td><td style="text-align: center;"><b>1/10 HP</b></td><td style="text-align: center;"><b>Boss</b></td><!-- <td style="text-align: center;"><b>Death</b></td> --></tr>
<tr>
<td style="text-align: center;">{{#switch: {{{triggerpb|}}}
| invinc
| invinc+
| invinc- = {{Invinc}}
| resta
| resta+
| resta- = {{Resta}}
| sd
| sd+
| sd- = {{SD}}
| #default = -
}}</td>
<td style="text-align: center;">{{#switch: {{{triggerhp|}}}
| invinc
| invinc+
| invinc- = {{Invinc}}
| resta
| resta+
| resta- = {{Resta}}
| sd
| sd+
| sd- = {{SD}}
| #default = -
}}</td>
<td style="text-align: center;">{{#switch: {{{triggerboss|}}}
| invinc
| invinc+
| invinc- = {{Invinc}}
| resta
| resta+
| resta- = {{Resta}}
| sd
| sd+
| sd- = {{SD}}
| #default = -
}}</td>
<!-- <td style="text-align: center;">{{#switch: {{{triggerdeath|}}}
| reverser = {{Reverser}}
| #default = -
}}</td> -->
</tr>
<tr>
<td style="text-align: center;">{{#switch: {{{triggerpb|}}}
| invinc+ = (+)
| invinc- = (-)
| resta+ = (+)
| resta- = (-)
| sd+ = (+)
| sd- = (-)
}}</td>
<td style="text-align: center;">{{#switch: {{{triggerhp|}}}
| invinc+ = (+)
| invinc- = (-)
| resta+ = (+)
| resta- = (-)
| sd+ = (+)
| sd- = (-)
}}</td>
<td style="text-align: center;">{{#switch: {{{triggerboss|}}}
| invinc+ = (+)
| invinc- = (-)
| resta+ = (+)
| resta- = (-)
| sd+ = (+)
| sd- = (-)
}}</td></tr>
</table></td></tr>
}}{{#ifeq:{{#expr: {{#if:{{{HP|}}}|1|0}} or {{#if:{{{TP|}}}|1|0}} or {{#if:{{{ATP|}}}|1|0}} or {{#if:{{{DFP|}}}|1|0}} or {{#if:{{{MST|}}}|1|0}} or {{#if:{{{ATA|}}}|1|0}} or {{#if:{{{EVP|}}}|1|0}} or {{#if:{{{LCK|}}}|1|0}}}}|0||<tr><td colspan="2"><table align="center" width="100%">
}}{{#ifeq:{{#expr: {{#if:{{{HP|}}}|1|0}} or {{#if:{{{TP|}}}|1|0}} or {{#if:{{{ATP|}}}|1|0}} or {{#if:{{{DFP|}}}|1|0}} or {{#if:{{{MST|}}}|1|0}} or {{#if:{{{ATA|}}}|1|0}} or {{#if:{{{EVP|}}}|1|0}} or {{#if:{{{LCK|}}}|1|0}}}}|0||<tr><td colspan="2"><table align="center" width="100%">
<tr>
<tr>

Revision as of 16:52, 22 November 2021

}}
Infobox Melee