Template:TMPrevNext: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
mNo edit summary
(cleanup/SV update)
Line 1: Line 1:
{| class="roundy" align="center" style="background: #{{TMs and HMs color dark}}; width: 100%; margin: 5px;"
{| class="roundy" style="background: #{{TMs and HMs color dark}}; width: 100%; margin: 5px;"
|- align="center"
|-
| class="roundyleft" width="35%" style="background: #{{#ifeq: TM{{#expr:  {{{number|2}}} - 1}}|None|{{TMs and HMs color}}|{{TMs and HMs color light}}}};" |  
| class="roundyleft" style="text-align:right; background: #{{TMs and HMs color light}}; width: 35%" |
{{#ifeq: TM{{#expr:  {{{number|2}}} - 1}}|None| |
{| style="width:100%"
{{{!}} class="roundyleft" align="right" style="background: #{{TMs and HMs color light}}; width:100%;"
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM00 | TM171 | TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2}} }}|←}}
{{!}} align="right" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TM00 | TM100 | TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2}}}}|{{color|000|←}}]]
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM00 | TM171 | TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2}} }}}}
{{!}} align="right" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TM00 | TM100 | TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2}}}}|{{#ifeq: {{BASEPAGENAME}} | TM00 | {{color|000|TM100}} | {{color|000|TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2}}{{#if: |: ''''}}}}}}]]
{{!}}}
}}
| style="background: #{{TMs and HMs color light}}" |
{| align="center" style="background: #{{TMs and HMs color light}}; width:100%;"
| align="center" | [[TM|{{color|000|Technical Machines}}]]
|}
|}
| class="roundyright" width="35%" style="background: #{{#ifeq: TM{{#expr:  {{{number|2}}} + 1}}|None|{{TMs and HMs color}}|{{TMs and HMs color light}}}};" |  
| style="background: #{{TMs and HMs color light}}; text-align: center" | [[TM|{{color|000|Technical Machines}}]]
{{#ifeq: TM{{#expr:  {{{number|2}}} + 1}}|None| |
| class="roundyright" style="background: #{{TMs and HMs color light}}; width: 35%" |
{{{!}} class="roundyright" align="left" style="background: #{{TMs and HMs color light}}; width:100%;"
{| style="width:100%"
{{!}} align="left" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TM100 | TM00 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2}}}}|{{#ifeq: {{BASEPAGENAME}} | TM100 | {{color|000|TM00}} | {{color|000|TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2}}{{#if: |: ''''}}}}}}]]
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM171 | TM00 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2}} }}}}
{{!}} align="left" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TM100 | TM00 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2}}}}|{{color|000|→}}]]
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM171 | TM00 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2}} }}|→}}
{{!}}}
|}
}}
|}<noinclude>
|}<noinclude>[[Category:PrevNext templates]]</noinclude>
 
[[Category:PrevNext templates]]
</noinclude>

Revision as of 23:53, 20 November 2022