Template:TRPrevNext: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(Created page with "{| class="roundy" align="center" style="background: #{{TMs and HMs color dark}}; width: 100%; margin: 5px;" |- align="center" | class="roundyleft" width="35%" style="backgroun...")
 
(Cleanup, category (taking over from Template:trdisambig))
 
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: TR{{#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: TR{{#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}} | TR00 | TR99 | TR{{padleft:{{#expr: {{{number|2}}} - 1}}|2}} }}|←}}
{{!}} align="right" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TR00 | TR99 | TR{{padleft:{{#expr: {{{number|2}}} - 1}}|2}}}}|{{color|000|←}}]]
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TR00 | TR99 | TR{{padleft:{{#expr: {{{number|2}}} - 1}}|2}} }}}}
{{!}} align="right" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TR00 | TR99 | TR{{padleft:{{#expr: {{{number|2}}} - 1}}|2}}}}|{{#ifeq: {{BASEPAGENAME}} | TR00 | {{color|000|TR99}} | {{color|000|TR{{padleft:{{#expr: {{{number|2}}} - 1}}|2}}{{#if: |: ''''}}}}}}]]
{{!}}}
}}
| style="background: #{{TMs and HMs color light}}" |
{| align="center" style="background: #{{TMs and HMs color light}}; width:100%;"
| align="center" | [[TR|{{color|000|Technical Records}}]]
|}
|}
| class="roundyright" width="35%" style="background: #{{#ifeq: TR{{#expr:  {{{number|2}}} + 1}}|None|{{TMs and HMs color}}|{{TMs and HMs color light}}}};" |  
| style="background: #{{TMs and HMs color light}}; text-align: center" | [[TR|{{color|000|Technical Records}}]]
{{#ifeq: TR{{#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}} | TR99 | TR00 | TR{{padleft:{{#expr: {{{number|2}}} + 1}}|2}}}}|{{#ifeq: {{BASEPAGENAME}} | TR99 | {{color|000|TR00}} | {{color|000|TR{{padleft:{{#expr: {{{number|2}}} + 1}}|2}}{{#if: |: ''''}}}}}}]]
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TR99 | TR00 | TR{{padleft:{{#expr: {{{number|2}}} + 1}}|2}} }}}}
{{!}} align="left" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | TR99 | TR00 | TR{{padleft:{{#expr: {{{number|2}}} + 1}}|2}}}}|{{color|000|→}}]]
| {{color2|000|{{#ifeq: {{BASEPAGENAME}} | TR99 | TR00 | TR{{padleft:{{#expr: {{{number|2}}} + 1}}|2}} }}|→}}
{{!}}}
|}
}}
|}<includeonly>[[Category:TRs]]</includeonly><noinclude>
|}<noinclude>[[Category:PrevNext templates]]</noinclude>
 
[[Category:PrevNext templates]]
</noinclude>

Latest revision as of 12:49, 24 November 2022