Template:TMPrevNext: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(cleanup/SV update)
mNo edit summary
 
(8 intermediate revisions by 3 users not shown)
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 | TM171 | TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2}} }}|←}}
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM00 | TM229 | TM{{padleft:{{#expr: {{{number|1}}} - 1}}|{{#if: {{{number|1}}}|2|3}}}} }}|←}}
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM00 | TM171 | TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2}} }}}}
| {{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}}]]
| 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}} | TM171 | TM00 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2}} }}}}
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM229 | TM00 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|3}} }}}}
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM171 | TM00 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2}} }}|→}}
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM229 | TM00 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|3}} }}|→}}
|}
|}
|}<noinclude>
|}<includeonly>[[Category:TMs]]</includeonly><noinclude>


[[Category:PrevNext templates]]
[[Category:PrevNext templates]]
</noinclude>
</noinclude>

Latest revision as of 17:40, 9 January 2024