User:S2daam/Template:Megalistbody: Difference between revisions

Finished with editing this template now
No edit summary
(Finished with editing this template now)
Line 9: Line 9:
{{!}}- style="text-align:center; background:#FFFFFF"
{{!}}- style="text-align:center; background:#FFFFFF"
{{#if: {{{mega2|Y}}} |  
{{#if: {{{mega2|Y}}} |  
{{!}} style="background:#{{HP color light}}" {{!}} <small>{{{mhp}}}</small>
{{!}} style="background:#{{HP color light}}" {{!}} {{#ifexpr: {{{hp|10}}}<{{{mhp|11}}} | <small>'''{{{mhp}}}'''</small> | <small>{{{mhp}}}</small> }}
{{!}} style="background:#{{Attack color light}}" {{!}} <small>{{{matk}}}</small>
{{!}} style="background:#{{Attack color light}}" {{!}} {{#ifexpr: {{{atk|10}}}<{{{matk|11}}} | <small>'''{{{matk}}}'''</small> | <small>{{{matk}}}</small> }}
{{!}} style="background:#{{Defense color light}}" {{!}} <small>{{{mdef}}}</small>
{{!}} style="background:#{{Defense color light}}" {{!}} {{#ifexpr: {{{def|10}}}<{{{mdef|11}}} | <small>'''{{{mdef}}}'''</small> | <small>{{{mdef}}}</small> }}
{{!}} style="background:#{{Special Attack color light}}" {{!}} <small>{{{msatk}}}</small>
{{!}} style="background:#{{Special Attack color light}}" {{!}} {{#ifexpr: {{{satk|10}}}<{{{msatk|11}}} | <small>'''{{{msatk}}}'''</small> | <small>{{{msatk}}}</small> }}
{{!}} style="background:#{{Special Defense color light}}" {{!}} <small>{{{msdef}}}</small>
{{!}} style="background:#{{Special Defense color light}}" {{!}} {{#ifexpr: {{{sdef|10}}}<{{{msdef|11}}} | <small>'''{{{msdef}}}'''</small> | <small>{{{msdef}}}</small> }}
{{!}} style="background:#{{Speed color light}}" {{!}} <small>{{{mspd}}}</small> | }}
{{!}} style="background:#{{Speed color light}}" {{!}} {{#ifexpr: {{{spd|10}}}<{{{mspd|11}}} | <small>'''{{{mpsd}}}'''</small> | <small>{{{mpsd}}}</small> }} | }}
|-
|-
{{#if: {{{mega2|Y}}} |
{{#if: {{{mega2|Y}}} |
Line 35: Line 35:
{{!}} style="background:#{{Special Defense color light}}" {{!}} <small>{{{sdef}}}</small>
{{!}} style="background:#{{Special Defense color light}}" {{!}} <small>{{{sdef}}}</small>
{{!}} style="background:#{{Speed color light}}" {{!}} <small>{{{spd}}}</small>
{{!}} style="background:#{{Speed color light}}" {{!}} <small>{{{spd}}}</small>
{{!}} style="background:#{{HP color light}}" {{!}} <small>{{{mhp}}}</small>
{{!}} style="background:#{{HP color light}}" {{!}} {{#ifexpr: {{{hp|10}}}<{{{mhp|11}}} | <small>'''{{{mhp}}}'''</small> | <small>{{{mhp}}}</small> }}
{{!}} style="background:#{{Attack color light}}" {{!}} <small>{{{matk}}}</small>
{{!}} style="background:#{{Attack color light}}" {{!}} {{#ifexpr: {{{atk|10}}}<{{{matk|11}}} | <small>'''{{{matk}}}'''</small> | <small>{{{matk}}}</small> }}
{{!}} style="background:#{{Defense color light}}" {{!}} <small>{{{mdef}}}</small>
{{!}} style="background:#{{Defense color light}}" {{!}} {{#ifexpr: {{{def|10}}}<{{{mdef|11}}} | <small>'''{{{mdef}}}'''</small> | <small>{{{mdef}}}</small> }}
{{!}} style="background:#{{Special Attack color light}}" {{!}} <small>{{{msatk}}}</small>
{{!}} style="background:#{{Special Attack color light}}" {{!}} {{#ifexpr: {{{satk|10}}}<{{{msatk|11}}} | <small>'''{{{msatk}}}'''</small> | <small>{{{msatk}}}</small> }}
{{!}} style="background:#{{Special Defense color light}}" {{!}} <small>{{{msdef}}}</small>
{{!}} style="background:#{{Special Defense color light}}" {{!}} {{#ifexpr: {{{sdef|10}}}<{{{msdef|11}}} | <small>'''{{{msdef}}}'''</small> | <small>{{{msdef}}}</small> }}
{{!}} style="background:#{{Speed color light}}" {{!}} <small>{{{mspd}}}</small> }}
{{!}} style="background:#{{Speed color light}}" {{!}} {{#ifexpr: {{{spd|10}}}<{{{mspd|11}}} | <small>'''{{{mpsd}}}'''</small> | <small>{{{mpsd}}}</small> }} }}
{{#if: {{{mega2|Y}}} |
{{#if: {{{mega2|Y}}} |
{{!}} style="background:#{{HP color light}}" {{!}} <small>{{{m2hp}}}</small>
{{!}} style="background:#{{HP color light}}" {{!}} {{#ifexpr: {{{hp|10}}}<{{{m2hp|11}}} | <small>'''{{{m2hp}}}'''</small> | <small>{{{m2hp}}}</small> }}
{{!}} style="background:#{{Attack color light}}" {{!}} <small>{{{m2atk}}}</small>
{{!}} style="background:#{{Attack color light}}" {{!}} {{#ifexpr: {{{atk|10}}}<{{{m2atk|11}}} | <small>'''{{{m2atk}}}'''</small> | <small>{{{m2atk}}}</small> }}
{{!}} style="background:#{{Defense color light}}" {{!}} <small>{{{m2def}}}</small>
{{!}} style="background:#{{Defense color light}}" {{!}} {{#ifexpr: {{{def|10}}}<{{{m2def|11}}} | <small>'''{{{m2def}}}'''</small> | <small>{{{m2def}}}</small> }}
{{!}} style="background:#{{Special Attack color light}}" <small>{{!}} {{{m2satk}}}</small>
{{!}} style="background:#{{Special Attack color light}}" {{!}} {{#ifexpr: {{{satk|10}}}<{{{m2satk|11}}} | <small>'''{{{m2satk}}}'''</small> | <small>{{{m2satk}}}</small> }}
{{!}} style="background:#{{Special Defense color light}}" <small>{{!}} {{{m2sdef}}}</small>
{{!}} style="background:#{{Special Defense color light}}" {{!}} {{#ifexpr: {{{sdef|10}}}<{{{m2sdef|11}}} | <small>'''{{{m2sdef}}}'''</small> | <small>{{{m2sdef}}}</small> }}
{{!}} style="background:#{{Speed color light}}" {{!}} <small>{{{m2spd}}}</small> | }}
{{!}} style="background:#{{Speed color light}}" {{!}} {{#ifexpr: {{{spd|10}}}<{{{m2spd|11}}} | <small>'''{{{m2psd}}}'''</small> | <small>{{{m2psd}}}</small> }} | }}
editlock-exempt
2,537

edits