Template:TMPrevNext: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
⧼bulbapediamonobook-jumptonavigation⧽⧼bulbapediamonobook-jumptosearch⧽
m New page: {{subst:EpicodePrevNext/Basecolors |prevcode=TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2|0}} |prevtitle= |nextcode=TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2|0}} |nexttitle= |series=T... |
m Lessee if my hacking fixes the wraparound. |
||
Line 1: | Line 1: | ||
{| align="center" style="background: #1E90FF; width: 100%; margin: 5px; -moz-border-radius: 10px;" | {| align="center" style="background: #1E90FF; width: 100%; margin: 5px; -moz-border-radius: 10px;" | ||
|- align="center" | |- align="center" | ||
Line 5: | Line 4: | ||
{{#ifeq: TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2|0}}|None| | | {{#ifeq: TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2|0}}|None| | | ||
{{{!}} align="right" style="background: #A6D4FF; width:100%; -moz-border-radius-topleft: 10px; -moz-border-radius-bottomleft: 10px;" | {{{!}} align="right" style="background: #A6D4FF; width:100%; -moz-border-radius-topleft: 10px; -moz-border-radius-bottomleft: 10px;" | ||
{{!}} align="right" {{!}} [[TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2|0}}|{{color|000|←}}]] | {{!}} align="right" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TM01 | TM92 | TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2|0}}}}|{{color|000|←}}]] | ||
{{!}} align="right" {{!}} [[TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2|0}}|{{color|000|TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2|0}}{{#if: |: ''''}}}}]] | {{!}} align="right" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TM01 | TM92 | TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2|0}}}}|{{#ifeq: {{BASEPAGENAME}} | TM01 | {{color|000|TM92}} | {{color|000|TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2|0}}{{#if: |: ''''}}}}}}]] | ||
{{!}}} | {{!}}} | ||
}} | }} | ||
Line 16: | Line 15: | ||
{{#ifeq: TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2|0}}|None| | | {{#ifeq: TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2|0}}|None| | | ||
{{{!}} align="left" style="background: #A6D4FF; width:100%; -moz-border-radius-topright: 10px; -moz-border-radius-bottomright: 10px;" | {{{!}} align="left" style="background: #A6D4FF; width:100%; -moz-border-radius-topright: 10px; -moz-border-radius-bottomright: 10px;" | ||
{{!}} align="left" {{!}} [[TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2|0}}|{{color|000|TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2|0}}{{#if: |: ''''}}}}]] | {{!}} align="left" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TM92 | TM01 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2|0}}}}|{{#ifeq: {{BASEPAGENAME}} | TM92 | {{color|000|TM01}} | {{color|000|TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2|0}}{{#if: |: ''''}}}}}}]] | ||
{{!}} align="left" {{!}} [[TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2|0}}|{{color|000|→}}]] | {{!}} align="left" {{!}} [[TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2|0}}|{{color|000|→}}]] | ||
{{!}}} | {{!}}} | ||
}} | }} | ||
|}<noinclude>[[Category:Navigation templates]]</noinclude> | |}<noinclude>[[Category:Navigation templates]]</noinclude> |