Difference between revisions of "Template:TMPrevNext"

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to: navigation, search
m (Link.)
m
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
 
{{#ifeq: TM{{#expr: {{{number|2}}} - 1}}|None| |
 
{{#ifeq: TM{{#expr: {{{number|2}}} - 1}}|None| |
 
{{{!}} class="roundyleft" align="right" style="background: #{{TMs and HMs color light}}; width:100%;"
 
{{{!}} class="roundyleft" align="right" style="background: #{{TMs and HMs color light}}; width:100%;"
{{!}} align="right" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TM01 | TM95 | TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2}}}}|{{color|000|←}}]]
+
{{!}} align="right" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TM00 | TM100 | TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2}}}}|{{color|000|←}}]]
{{!}} align="right" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TM01 | TM95 | TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2}}}}|{{#ifeq: {{BASEPAGENAME}} | TM01 | {{color|000|TM95}} | {{color|000|TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2}}{{#if: |: ''''}}}}}}]]
+
{{!}} 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: |: ''''}}}}}}]]
 
{{!}}}
 
{{!}}}
 
}}
 
}}
Line 15: Line 15:
 
{{#ifeq: TM{{#expr: {{{number|2}}} + 1}}|None| |
 
{{#ifeq: TM{{#expr: {{{number|2}}} + 1}}|None| |
 
{{{!}} class="roundyright" align="left" style="background: #{{TMs and HMs color light}}; width:100%;"
 
{{{!}} class="roundyright" align="left" style="background: #{{TMs and HMs color light}}; width:100%;"
{{!}} align="left" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TM95 | TM01 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2}}}}|{{#ifeq: {{BASEPAGENAME}} | TM95 | {{color|000|TM01}} | {{color|000|TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2}}{{#if: |: ''''}}}}}}]]
+
{{!}} 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: |: ''''}}}}}}]]
{{!}} align="left" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TM95 | TM01 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2}}}}|{{color|000|→}}]]
+
{{!}} align="left" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TM100 | TM00 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2}}}}|{{color|000|→}}]]
 
{{!}}}
 
{{!}}}
 
}}
 
}}

Latest revision as of 03:03, 22 January 2020

TM01
Technical Machines
TM03