Template:TMPrevNext: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
⧼bulbapediamonobook-jumptonavigation⧽⧼bulbapediamonobook-jumptosearch⧽
No edit summary
m at least right now it loops to nonexistent pages.
Line 3: Line 3:
| class="roundyleft" style="text-align:right; background: #{{TMs and HMs color light}}; width: 35%" |
| class="roundyleft" style="text-align:right; background: #{{TMs and HMs color light}}; width: 35%" |
{| style="width:100%"
{| style="width:100%"
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM00 | TM229 | TM{{padleft:{{#expr: {{{number|2}}} - 1}}|3}} }}|←}}
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM001 | TM229 | TM{{padleft:{{#expr: {{{number|2}}} - 1}}|3}} }}|←}}
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM00 | TM229 | TM{{padleft:{{#expr: {{{number|2}}} - 1}}|3}} }}}}
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM001 | TM229 | TM{{padleft:{{#expr: {{{number|2}}} - 1}}|3}} }}}}
|}
|}
| style="background: #{{TMs and HMs color light}}; text-align: center" | [[TM|{{color|000|Technical Machines}}]]
| style="background: #{{TMs and HMs color light}}; text-align: center" | [[TM|{{color|000|Technical Machines}}]]
| class="roundyright" style="background: #{{TMs and HMs color light}}; width: 35%" |  
| class="roundyright" style="background: #{{TMs and HMs color light}}; width: 35%" |  
{| style="width:100%"
{| style="width:100%"
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM229 | TM00 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|3}} }}}}
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM229 | TM001 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|3}} }}}}
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM229 | TM00 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|3}} }}|→}}
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM229 | TM001 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|3}} }}|→}}
|}
|}
|}<includeonly>[[Category:TMs]]</includeonly><noinclude>
|}<includeonly>[[Category:TMs]]</includeonly><noinclude>

Revision as of 17:30, 9 January 2024