Template:TMPrevNext: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
Carmenstar97 (talk | contribs) 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}} | | {{!}} align="right" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TM00 | TM100 | TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2}}}}|{{color|000|←}}]] | ||
{{!}} align="right" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | | {{!}} 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 | | {{!}} 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 | | {{!}} 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> |