Template:TMPrevNext: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (This should fix some problems.) |
mNo edit summary |
||
(12 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{| class="roundy | {| class="roundy" style="background: #{{TMs and HMs color dark}}; width: 100%; margin: 5px;" | ||
|- | |- | ||
| class="roundyleft | | class="roundyleft" style="text-align:right; background: #{{TMs and HMs color light}}; width: 35%" | | ||
{ | {| style="width:100%" | ||
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM00 | TM229 | TM{{padleft:{{#expr: {{{number|1}}} - 1}}|{{#if: {{{number|1}}}|2|3}}}} }}|←}} | |||
{{ | | {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM00 | TM229 | TM{{padleft:{{#expr: {{{number|1}}} - 1}}|{{#if: {{{number|1}}}|2|3}}}} }}}} | ||
{{ | |||
|} | |} | ||
| | | 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%" | | |||
{| style="width:100%" | |||
{ | | {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM229 | TM00 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|3}} }}}} | ||
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM229 | TM00 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|3}} }}|→}} | |||
|} | |||
|}<includeonly>[[Category:TMs]]</includeonly><noinclude> | |||
|}<noinclude>[[Category:PrevNext templates]]</noinclude> | |||
[[Category:PrevNext templates]] | |||
</noinclude> |