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
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>Use this along with [[Template:EVTable]] to construct the table contents in it.  
<noinclude>Use this along with [[Template:EVTable]] to construct the table contents in it.  


It accepts the following arguments: Morning, Day, Night, HP, Atk, Def, Speed, SpAtk, SpDef.  </noinclude>
It accepts the following arguments: Morning, Day, Night, HP, Atk, Def, SpAtk, SpDef, Speed.  </noinclude>
<includeonly>
<includeonly>
<tr style="background-color:#FFFFFF; text-align: center;">
<tr style="background-color:#FFFFFF; text-align: center;">
Line 7: Line 7:
<td width="15%" style="background-color: #{{ {{{Day|}}}_color}}; border: 2px solid #{{ {{{Day|}}}_color_dark}};"><span style="color:#{{ {{{Day|}}}_color_dark}}; font-weight: bold;">{{{Day|}}}</span></td>
<td width="15%" style="background-color: #{{ {{{Day|}}}_color}}; border: 2px solid #{{ {{{Day|}}}_color_dark}};"><span style="color:#{{ {{{Day|}}}_color_dark}}; font-weight: bold;">{{{Day|}}}</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 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>
{{#if: {{{HP|}}} |<td style="background-color: #{{HP_color}}; border: 2px solid #{{HP_color_dark}};"><span style="color:#{{HP_color_dark}}; font-weight: bold;" >|<td>}}{{{HP|0}}}</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.