Please remember to follow the manual of style and code of conduct at all times.
Check BNN and Bulbanews for up-to-date Pokémon news and discuss it on the forums or in our IRC channel #bulbagarden on irc.systemnet.info.

Difference between revisions of "Template:HMPrevNext"

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to: navigation, search
m (Link.)
m
 
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: HM0{{#expr: {{{number|2}}} - 1}}|None|{{TMs and HMs color}}|{{TMs and HMs color light}}}};" |
+
| class="roundyleft" width="35%" style="background: #{{TMs and HMs color light}};" |
{{#ifeq: HM0{{#expr: {{{number|2}}} - 1}}|None| |
+
{| class="roundyleft" style="text-align:right; background: #{{TMs and HMs color light}}; width:100%;"
{{{!}} class="roundyleft" align="right" style="background: #{{TMs and HMs color light}}; width:100%;"
+
| style="text-align:right;" | [[{{#ifeq: {{{number|2}}}|1|HM08|HM0{{#expr: {{{number|2}}} - 1}}}}|<span style="color:#000;">&larr;</span>]]
{{!}} align="right" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | HM01 | HM08 | HM0{{#expr: {{{number|2}}} - 1}}}}|{{color|000|&larr;}}]]
+
| style="text-align:right;" | {{#ifeq: {{{number|2}}}|1|[[HM08|<span style="color:#000;">HM08</span>]]|[[HM0{{#expr: {{{number|2}}} - 1}}|<span style="color:#000;">HM0{{#expr: {{{number|2}}} - 1}}</span>]]}}
{{!}} align="right" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | HM01 | HM08 | HM0{{#expr: {{{number|2}}} - 1}}}}|{{#ifeq: {{BASEPAGENAME}} | HM01 | {{color|000|HM08}} | {{color|000|HM0{{#expr: {{{number|2}}} - 1}}{{#if: |: ''''}}}}}}]]
+
|}
{{!}}}
 
}}
 
 
| style="background: #{{TMs and HMs color light}}" |
 
| style="background: #{{TMs and HMs color light}}" |
{| align="center" style="background: #{{TMs and HMs color light}}; width:100%;"
+
{| style="text-align:center; background: #{{TMs and HMs color light}}; width:100%;"
| align="center" | [[HM|{{color|000|Hidden Machines}}]]
+
| [[HM|<span style="color:#000;">Hidden Machines</span>]]
  +
|}
  +
| class="roundyright" width="35%" style="background: #{{TMs and HMs color light}};" |
  +
{| class="roundyright" style="background: #{{TMs and HMs color light}}; width:100%;"
  +
| {{#ifeq: {{{number|2}}}|8|[[HM01|<span style="color:#000;">HM01</span>]]|[[HM0{{#expr: {{{number|2}}} + 1}}|<span style="color:#000;">HM0{{#expr: {{{number|2}}} + 1}}</span>]]}}
  +
| [[{{#ifeq: {{{number|2}}}|8|HM01|HM0{{#expr: {{{number|2}}} + 1}}}}|<span style="color:#000;">&rarr;</span>]]
 
|}
 
|}
| class="roundyright" width="35%" style="background: #{{#ifeq: HM0{{#expr: {{{number|2}}} + 1}}|None|{{TMs and HMs color}}|{{TMs and HMs color light}}}};" |
 
{{#ifeq: HM0{{#expr: {{{number|2}}} + 1}}|None|&nbsp;|
 
{{{!}} class="roundyright" align="left" style="background: #{{TMs and HMs color light}}; width:100%;"
 
{{!}} align="left" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | HM08 | HM01 | HM0{{#expr: {{{number|2}}} + 1}}}}|{{#ifeq: {{BASEPAGENAME}} | HM08 | {{color|000|HM01}} | {{color|000|HM0{{#expr: {{{number|2}}} + 1}}{{#if: |: ''''}}}}}}]]
 
{{!}} align="left" {{!}} [[{{#ifeq: {{BASEPAGENAME}} | HM08 | HM01 | HM0{{#expr: {{{number|2}}} + 1}}}}|{{color|000|&rarr;}}]]
 
{{!}}}
 
}}
 
 
|}<noinclude>[[Category:PrevNext templates]]</noinclude>
 
|}<noinclude>[[Category:PrevNext templates]]</noinclude>

Latest revision as of 20:46, 14 June 2013

HM01
Hidden Machines
HM03