Template:TMPrevNext: Difference between revisions

three digits
(category (taking over from Template:tmdisambig))
(three digits)
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 | TM171 | TM{{padleft:{{#expr: {{{number|2}}} - 1}}|3}} }}|←}}
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM00 | TM171 | TM{{padleft:{{#expr: {{{number|2}}} - 1}}|2}} }}}}
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM00 | TM171 | 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}} | TM171 | TM00 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|2}} }}}}
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM171 | 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}} | TM171 | TM00 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|3}} }}|→}}
|}
|}
|}<includeonly>[[Category:TMs]]</includeonly><noinclude>
|}<includeonly>[[Category:TMs]]</includeonly><noinclude>