Template:TMPrevNext: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (Protected "Template:TMPrevNext": Sensitive navigation template [edit=sysop:move=sysop])
mNo edit summary
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| align="center" style="background: #1E90FF; width: 100%; margin: 5px; -moz-border-radius: 10px;"
{| class="roundy" align="center" style="background: #{{TMs and HMs color dark}}; width: 100%; margin: 5px;"
|- align="center"
|- align="center"
| width="35%" style="background: #{{#ifeq: TM{{padleft:{{#expr:  {{{number|2}}} - 1}}|2|0}}|None|1E90FF|A6D4FF}}; -moz-border-radius-topleft: 10px; -moz-border-radius-bottomleft: 10px;" |  
| class="roundyleft" width="35%" style="background: #{{#ifeq: TM{{#expr:  {{{number|2}}} - 1}}|None|{{TMs and HMs color}}|{{TMs and HMs color light}}}};" |  
{{#ifeq: TM{{padleft:{{#expr:  {{{number|2}}} - 1}}|2|0}}|None| |
{{#ifeq: TM{{#expr:  {{{number|2}}} - 1}}|None| |
{{{!}} align="right" style="background: #A6D4FF; width:100%; -moz-border-radius-topleft: 10px; -moz-border-radius-bottomleft: 10px;"
{{{!}} class="roundyleft" align="right" style="background: #{{TMs and HMs color light}}; width:100%;"
{{!}} align="right" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TM01 | TM92 | TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2|0}}}}|{{color|000|←}}]]
{{!}} align="right" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TM00 | TM100 | TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2}}}}|{{color|000|←}}]]
{{!}} 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: |: ''''}}}}}}]]
{{!}} 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: #A6D4FF" |  
| style="background: #{{TMs and HMs color light}}" |  
{| align="center" style="background: #A6D4FF; width:100%;"
{| align="center" style="background: #{{TMs and HMs color light}}; width:100%;"
| align="center" | [[Technical Machine|{{color|000|{{#switch: Technical Machines|AG|Advanced Generation|Advanced Generation series=''Advanced Generation'' series|DP|Diamond & Pearl|Diamond & Pearl series=''Diamond & Pearl'' series|{{ucfirst: Technical Machines}}}}}}]]
| align="center" | [[TM|{{color|000|Technical Machines}}]]
|}
|}
| width="35%" style="background: #{{#ifeq: TM{{padleft:{{#expr:  {{{number|2}}} + 1}}|2|0}}|None|1E90FF|A6D4FF}}; -moz-border-radius-topright: 10px; -moz-border-radius-bottomright: 10px;" |  
| class="roundyright" width="35%" style="background: #{{#ifeq: TM{{#expr:  {{{number|2}}} + 1}}|None|{{TMs and HMs color}}|{{TMs and HMs color light}}}};" |  
{{#ifeq: TM{{padleft:{{#expr:  {{{number|2}}} + 1}}|2|0}}|None| |
{{#ifeq: TM{{#expr:  {{{number|2}}} + 1}}|None| |
{{{!}} align="left" style="background: #A6D4FF; width:100%; -moz-border-radius-topright: 10px; -moz-border-radius-bottomright: 10px;"
{{{!}} class="roundyright" align="left" style="background: #{{TMs and HMs color light}}; width:100%;"
{{!}} 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" {{!}} [[{{#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" {{!}} [[TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2|0}}|{{color|000|→}}]]
{{!}} align="left" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TM100 | TM00 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2}}}}|{{color|000|→}}]]
{{!}}}
{{!}}}
}}
}}
|}<noinclude>[[Category:Navigation templates]]</noinclude>
|}<noinclude>[[Category:PrevNext templates]]</noinclude>

Revision as of 03:03, 22 January 2020