Template:EVRow: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
Haneroze (talk | contribs)
No edit summary
Haneroze (talk | contribs)
No edit summary
 
Line 8: Line 8:
<td width="15%" style="background-color: #{{ {{{Night|}}}_color}}; border: 2px solid #{{ {{{Night|}}}_color_dark}};"><span style="color:#{{ {{{Night|}}}_color_light}}; font-weight: bold;">{{{Night|}}}</span></td>
<td width="15%" style="background-color: #{{ {{{Night|}}}_color}}; border: 2px solid #{{ {{{Night|}}}_color_dark}};"><span style="color:#{{ {{{Night|}}}_color_light}}; font-weight: bold;">{{{Night|}}}</span></td>
<td {{#if: {{{HP|}}} |style="background-color: #{{HP_color}}; border: 2px solid #{{HP_color_dark}};"><span style="color:#{{HP_color_dark}}; font-weight: bold;" |}}>{{{HP|0}}}{{#if: {{{HP|}}}|</span>|}}</td>
<td {{#if: {{{HP|}}} |style="background-color: #{{HP_color}}; border: 2px solid #{{HP_color_dark}};"><span style="color:#{{HP_color_dark}}; font-weight: bold;" |}}>{{{HP|0}}}{{#if: {{{HP|}}}|</span>|}}</td>
<td {{#if: {{{Atk|}}} |style="background-color: #{{Attack_color}}; border: 2px solid #{{Attack_color_dark}};"><span style="color:#{{Attack_color_dark}}; font-weight: bold;" |}}>{{{Atk|0}}}</td>
<td {{#if: {{{Atk|}}} |style="background-color: #{{Attack_color}}; border: 2px solid #{{Attack_color_dark}};"><span style="color:#{{Attack_color_dark}}; font-weight: bold;" |}}>{{{Atk|0}}}{{#if: {{{Atk|}}}|</span>|}}</td>
<td {{#if: {{{Def|}}} |style="background-color: #{{Defense_color}}; border: 2px solid #{{Defense_color_dark}};"><span style="color:#{{Defense_color_dark}}; font-weight: bold;" |}}>{{{Def|0}}}</td>
<td {{#if: {{{Def|}}} |style="background-color: #{{Defense_color}}; border: 2px solid #{{Defense_color_dark}};"><span style="color:#{{Defense_color_dark}}; font-weight: bold;" |}}>{{{Def|0}}}{{#if: {{{Def|}}}|</span>|}}</td>
<td {{#if: {{{SpAtk|}}} |style="background-color: #{{Special_Attack_color}}; border: 2px solid #{{Special_Attack_color_dark}};"><span style="color:#{{Special_Attack_color_dark}}; font-weight: bold;" |}}>{{{SpAtk|0}}}</td>
<td {{#if: {{{SpAtk|}}} |style="background-color: #{{Special_Attack_color}}; border: 2px solid #{{Special_Attack_color_dark}};"><span style="color:#{{Special_Attack_color_dark}}; font-weight: bold;" |}}>{{{SpAtk|0}}}{{#if: {{{SpAtk|}}}|</span>|}}</td>
<td {{#if: {{{SpDef|}}} |style="background-color: #{{Special_Defense_color}}; border: 2px solid #{{Special_Defense_color_dark}};"><span style="color:#{{Special_Defense_color_dark}}; font-weight: bold;" |}}>{{{SpDef|0}}}</td>
<td {{#if: {{{SpDef|}}} |style="background-color: #{{Special_Defense_color}}; border: 2px solid #{{Special_Defense_color_dark}};"><span style="color:#{{Special_Defense_color_dark}}; font-weight: bold;" |}}>{{{SpDef|0}}}{{#if: {{{SpDef|}}}|</span>|}}</td>
<td {{#if: {{{Speed|}}} |style="background-color: #{{Speed_color}}; border: 2px solid #{{Speed_color_dark}};"><span style="color:#{{Speed_color_dark}}; font-weight: bold;" |}}>{{{Speed|0}}}</td>
<td {{#if: {{{Speed|}}} |style="background-color: #{{Speed_color}}; border: 2px solid #{{Speed_color_dark}};"><span style="color:#{{Speed_color_dark}}; font-weight: bold;" |}}>{{{Speed|0}}}{{#if: {{{Speed|}}}|</span>|}}</td>
</tr>
</tr>
</includeonly>
</includeonly>

Latest revision as of 13:52, 27 August 2018

Use this along with Template:EVTable to construct the table contents in it.

It accepts the following arguments: Morning, Day, Night, HP, Atk, Def, SpAtk, SpDef, Speed.