Template:TMPrevNext: Difference between revisions

m (update - again with the switches)
mNo edit summary
 
(13 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| class="roundy" align="center" style="background: #{{TMs and HMs color dark}}; width: 100%; margin: 5px;"
{| class="roundy" style="background: #{{TMs and HMs color dark}}; width: 100%; margin: 5px;"
|- align="center"
|-
| class="roundyleft" width="35%" style="background: #{{#ifeq: TM{{#expr:  {{{number|2}}} - 1}}|None|{{TMs and HMs color}}|{{TMs and HMs color light}}}};" |  
| class="roundyleft" style="text-align:right; background: #{{TMs and HMs color light}}; width: 35%" |
{{#ifeq: TM{{#expr:  {{{number|2}}} - 1}}|None| |
{| style="width:100%"
{{{!}} class="roundyleft" align="right" style="background: #{{TMs and HMs color light}}; width:100%;"
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM00 | TM229 | TM{{padleft:{{#expr: {{{number|1}}} - 1}}|{{#if: {{{number|1}}}|2|3}}}} }}|←}}
{{!}} align="right" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TM01 | TM95 | TM{{#expr: {{{number|2}}} - 1}}}}|{{color|000|←}}]]
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM00 | TM229 | TM{{padleft:{{#expr: {{{number|1}}} - 1}}|{{#if: {{{number|1}}}|2|3}}}} }}}}
{{!}} align="right" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TM01 | TM95 | TM{{#expr:  {{{number|2}}} - 1}}}}|{{#ifeq: {{BASEPAGENAME}} | TM01 | {{color|000|TM95}} | {{color|000|TM{{#expr: {{{number|2}}} - 1}}{{#if: |: ''''}}}}}}]]
{{!}}}
}}
| style="background: #{{TMs and HMs color light}}" |
{| align="center" style="background: #{{TMs and HMs color light}}; width:100%;"
| align="center" | [[Technical Machine|{{color|000|Technical Machines}}]]
|}
|}
| class="roundyright" width="35%" style="background: #{{#ifeq: TM{{#expr:  {{{number|2}}} + 1}}|None|{{TMs and HMs color}}|{{TMs and HMs color light}}}};" |  
| style="background: #{{TMs and HMs color light}}; text-align: center" | [[TM|{{color|000|Technical Machines}}]]
{{#ifeq: TM{{#expr:  {{{number|2}}} + 1}}|None| |
| class="roundyright" style="background: #{{TMs and HMs color light}}; width: 35%" |
{{{!}} class="roundyright" align="left" style="background: #{{TMs and HMs color light}}; width:100%;"
{| style="width:100%"
{{!}} align="left" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TM01 | TM95 | TM{{#expr:  {{{number|2}}} + 1}}}}|{{#ifeq: {{BASEPAGENAME}} | TM95 | {{color|000|TM01}} | {{color|000|TM{{#expr: {{{number|2}}} + 1}}{{#if: |: ''''}}}}}}]]
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TM229 | TM00 | TM{{padleft:{{#expr: {{{number|2}}} + 1}}|3}} }}}}
{{!}} align="left" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TM01 | TM95 | TM{{#expr: {{{number|2}}} + 1}}}}|{{color|000|→}}]]
| {{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>

Latest revision as of 17:40, 9 January 2024