Template:Infobox Melee: Difference between revisions

From PSP2i Wiki
(Undo revision 5728 by Matt (talk))
Tag: Undo
No edit summary
Line 266: Line 266:
  | V = <td style="background-color:#98FB98; border: 1px solid #aaa; text-align: center;">○</td>
  | V = <td style="background-color:#98FB98; border: 1px solid #aaa; text-align: center;">○</td>
}}
}}
</tr>
</tr>{{#if:{{{hex|}}}|
|
<tr>
{{#ifeq: {{#sub:{{{class|}}}|0|1}} | 0 | <td style="background-color:#F4C7C3; border: 1px solid #aaa; text-align: center;"> | <td style="background-color:#98FB98; border: 1px solid #aaa; text-align: center;">}}HUmr</td>
{{#ifeq: {{#sub:{{{class|}}}|1|1}} | 0 | <td style="background-color:#F4C7C3; border: 1px solid #aaa; text-align: center;"> | <td style="background-color:#98FB98; border: 1px solid #aaa; text-align: center;">}}HUnl</td>
{{#ifeq: {{#sub:{{{class|}}}|2|1}} | 0 | <td style="background-color:#F4C7C3; border: 1px solid #aaa; text-align: center;"> | <td style="background-color:#98FB98; border: 1px solid #aaa; text-align: center;">}}HUct</td>
{{#ifeq: {{#sub:{{{class|}}}|3|1}} | 0 | <td style="background-color:#F4C7C3; border: 1px solid #aaa; text-align: center;"> | <td style="background-color:#98FB98; border: 1px solid #aaa; text-align: center;">}}HUcl</td>
</tr>
<tr>
{{#ifeq: {{#sub:{{{class|}}}|4|1}} | 0 | <td style="background-color:#F4C7C3; border: 1px solid #aaa; text-align: center;"> | <td style="background-color:#98FB98; border: 1px solid #aaa; text-align: center;">}}RAmr</td>
{{#ifeq: {{#sub:{{{class|}}}|5|1}} | 0 | <td style="background-color:#F4C7C3; border: 1px solid #aaa; text-align: center;"> | <td style="background-color:#98FB98; border: 1px solid #aaa; text-align: center;">}}RAml</td>
{{#ifeq: {{#sub:{{{class|}}}|6|1}} | 0 | <td style="background-color:#F4C7C3; border: 1px solid #aaa; text-align: center;"> | <td style="background-color:#98FB98; border: 1px solid #aaa; text-align: center;">}}RAct</td>
{{#ifeq: {{#sub:{{{class|}}}|7|1}} | 0 | <td style="background-color:#F4C7C3; border: 1px solid #aaa; text-align: center;"> | <td style="background-color:#98FB98; border: 1px solid #aaa; text-align: center;">}}RAcl</td>
</tr>
<tr>
{{#ifeq: {{#sub:{{{class|}}}|8|1}} | 0 | <td style="background-color:#F4C7C3; border: 1px solid #aaa; text-align: center;"> | <td style="background-color:#98FB98; border: 1px solid #aaa; text-align: center;">}}FOmr</td>
{{#ifeq: {{#sub:{{{class|}}}|9|1}} | 0 | <td style="background-color:#F4C7C3; border: 1px solid #aaa; text-align: center;"> | <td style="background-color:#98FB98; border: 1px solid #aaa; text-align: center;">}}FOml</td>
{{#ifeq: {{#sub:{{{class|}}}|10|1}} | 0 | <td style="background-color:#F4C7C3; border: 1px solid #aaa; text-align: center;"> | <td style="background-color:#98FB98; border: 1px solid #aaa; text-align: center;">}}FOnm</td>
{{#ifeq: {{#sub:{{{class|}}}|11|1}} | 0 | <td style="background-color:#F4C7C3; border: 1px solid #aaa; text-align: center;"> | <td style="background-color:#98FB98; border: 1px solid #aaa; text-align: center;">}}FOnl</td>
</tr>
}}
</table></td></tr>
}}{{#if:{{{hdist|}}}|
<tr>
<th style="background-color: #ccc;">H. Dist:</th>
<td>{{{hdist}}} {{#ifexpr: {{{hdist}}} - {{hdist|{{{type}}}}} < 0|(<div style="color: #c00; display: inline;">{{#expr: {{{hdist}}} - {{hdist|{{{type}}}}}}}</div>)|{{#ifexpr: {{{hdist}}} - {{hdist|{{{type}}}}} > 0|(<div style="color: #0c0; display: inline;">+{{#expr: {{{hdist}}} - {{hdist|{{{type}}}}}}}</div>)}}}}</td>
</tr>}}{{#if:{{{hangle|}}}|
<tr>
<th style="background-color: #ccc;">H. Angle:</th>
<td>{{{hangle}}}° {{#ifexpr: {{{hangle}}} - {{hangle|{{{type}}}}} < 0|(<div style="color: #c00; display: inline;">{{#expr: {{{hangle}}} - {{hangle|{{{type}}}}}}}°</div>)|{{#ifexpr: {{{hangle}}} - {{hangle|{{{type}}}}} > 0|(<div style="color: #0c0; display: inline;">+{{#expr: {{{hangle}}} - {{hangle|{{{type}}}}}}}°</div>)}}}}</td>
</tr>}}{{#if:{{{vdist|}}}|
<tr>
<th style="background-color: #ccc;">V. Dist:</th>
<td>{{{vdist}}} {{#ifexpr: {{{vdist}}} - {{vdist|{{{type}}}}} < 0|(<div style="color: #c00; display: inline;">{{#expr: {{{vdist}}} - {{vdist|{{{type}}}}}}}</div>)|{{#ifexpr: {{{vdist}}} - {{vdist|{{{type}}}}} > 0|(<div style="color: #0c0; display: inline;">+{{#expr: {{{vdist}}} - {{vdist|{{{type}}}}}}}</div>)}}}}</td>
</tr>}}{{#if:{{{vangle|}}}|
<tr>
<th style="background-color: #ccc;">V. Angle:</th>
<td>{{{vangle}}}° {{#ifexpr: {{{vangle}}} - {{vangle|{{{type}}}}} < 0|(<div style="color: #c00; display: inline;">{{#expr: {{{vangle}}} - {{vangle|{{{type}}}}}}}°</div>)|{{#ifexpr: {{{vangle}}} - {{vangle|{{{type}}}}} > 0|(<div style="color: #0c0; display: inline;">+{{#expr: {{{vangle}}} - {{vangle|{{{type}}}}}}}°</div>)}}}}</td>
</tr>}}{{#if:{{{hex|}}}|
<tr>
<tr>
<th style="background-color: #ccc;">Hex:</th>
<th style="background-color: #ccc;">Hex:</th>

Revision as of 16:50, 22 November 2021

{{#if:|
Infobox Melee

{{#ifeq:|Disk|

HUmrHUnlHUctHUcl
××
RAmrRAmlRActRAcl
××
FOmrFOmlFOnmFOnl