Template:TMPrevNext: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
mNo edit summary
mNo edit summary
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 | TM100 | 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 | TM100 | TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2}}}}|{{#ifeq: {{BASEPAGENAME}} | TM01 | {{color|000|TM100}} | {{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}} | TM100 | TM01 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2}}}}|{{#ifeq: {{BASEPAGENAME}} | TM100 | {{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}} | TM100 | 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|→}}]]
{{!}}}
{{!}}}
}}
}}
|}<noinclude>[[Category:PrevNext templates]]</noinclude>
|}<noinclude>[[Category:PrevNext templates]]</noinclude>

Revision as of 03:03, 22 January 2020