Template:Pokemon trainer: Difference between revisions

From StrategyWiki, the video game walkthrough and strategy guide wiki
updated for LeafGreen and FireRed, images now optional
m (moved Template:PKRSE trainer to Template:Pokemon trainer: no longer guide-specific)
(updated for LeafGreen and FireRed, images now optional)
Line 1: Line 1:
{| style="border:thin solid {{#ifeq:{{{game|RS}}}|RS|#eeb4b4|#66cdaa}};margin-bottom:1em;"
{{#vardefine:titletext|{{#switch:{{{game}}}|RS=Ruby and Sapphire|E=Emerald|LG=LeafGreen|FR=FireRed|Trainer}}}}<!--
!colspan="2" style="background-color:{{#ifeq:{{{game|RS}}}|RS|&#35;8b0000|&#35;006400}};color:#ffffff"| {{#ifeq:{{{game|RS}}}|RS|Ruby and Sapphire|Emerald}}{{#if:{{{two|}}}|&nbsp;(2 on 2)}}
-->{{#vardefine:titlecolor|{{#switch:{{{game}}}|RS=&#35;8b0000|E=&#35;006400|LG=&#35;458b00|FR=&#35;cd2626|&#35;777777}}}}<!--
-->{{#vardefine:bordercolor|{{#switch:{{{game}}}|RS=&#35;eeb4b4|E=&#35;66cdaa|LG=&#35;6e8b3d|FR=&#35;f08080|&#35;777777}}}}<!--
-->{| style="border:thin solid {{#var:bordercolor}};margin-bottom:1em;"
!colspan="2" style="background-color:{{#var:titlecolor}};color:#ffffff"| {{#var:titletext}}{{#if:{{{two|}}}|&nbsp;(2 on 2)}}
|-
|-
|[[Image:{{{image}}}|left]]
|{{#if:{{{image|}}}|[[Image:{{{image}}}|left]]|style="display:none"{{!}}}}
|{{{details}}}
|{{{details}}}
{{#if:{{{pokebuck|}}}|* {{pokebuck}}{{{pokebuck}}}}}
{{#if:{{{pokebuck|}}}|* {{pokebuck}}{{{pokebuck}}}}}
|-
|-
{{#if:{{{two|}}}|{{!}}[[Image:{{{image2}}}|left]]
{{#if:{{{two|}}}|{{!}}{{#if:{{{image2|}}}|[[Image:{{{image2}}}|left]]|{{#if:{{{image|}}}||style="display:none"{{!}}}}}}
{{!}}{{{details2}}}
{{!}}{{{details2}}}
{{#if:{{{pokebuck2|}}}|* {{pokebuck}}{{{pokebuck2}}}}}}}
{{#if:{{{pokebuck2|}}}|* {{pokebuck}}{{{pokebuck2}}}}}}}