Template:GlitchPkmnInfobox: Difference between revisions

not the way I said I'd do it, but t should work. Off to test it.
m (template update)
(not the way I said I'd do it, but t should work. Off to test it.)
Line 15: Line 15:
! align="center" style="background: #{{{{{disptype1|{{{type1|unknown}}}}}} color light}}; border-bottom: 1px solid #{{{{{disptype1|{{{type1|unknown}}}}}} color}}; width: 50%; -moz-border-radius-topright: 10px;" | [[Species|{{color|000|Species}}]]
! align="center" style="background: #{{{{{disptype1|{{{type1|unknown}}}}}} color light}}; border-bottom: 1px solid #{{{{{disptype1|{{{type1|unknown}}}}}} color}}; width: 50%; -moz-border-radius-topright: 10px;" | [[Species|{{color|000|Species}}]]
|-
|-
| align="center" style="background: #FFFFFF; width: 50%; border-right: 1px solid #{{{{{disptype1|{{{type1|unknown}}}}}} color}}; -moz-border-radius-bottomleft: 10px;" | {{#switch: {{{typen|1}}}|1=<span style="background: #{{{{{disptype1|{{{type1|Unknown}}}}}} color}}">[[{{#ifeq: {{{type1link|yes}}}|yes|{{{type1|Unknown}}} (type)|List of glitch types#{{{type1}}}}}|{{color|FFFFFF|&nbsp;{{{type1|Unknown}}}&nbsp;}}]]</span>|2=<span style="background: #{{{{{disptype1|{{{type1}}}}}} color}}">[[{{#ifeq: {{{type1link|yes}}}|yes|{{{type1}}} (type)|List of glitch types#{{{type1}}}}}|{{color|FFFFFF|&nbsp;{{{type1}}}&nbsp;}}]]</span><span style="background: #{{{{{disptype2|{{{type2}}}}}} color}}">[[{{#ifeq: {{{type2link|yes}}}|yes|{{{type2}}} (type)|List of glitch types#{{{type2}}}}}|{{color|FFFFFF|&nbsp;{{{type2}}}&nbsp;}}]]</span>}}<includeonly>{{#if: {{{type1|}}}|[[Category:{{{type1}}}-type glitch Pokémon]]|}} {{#switch: {{{typen|1}}}|1= |2= [[Category: {{{type2}}}-type glitch Pokémon]]}}</includeonly>
| align="center" style="background: #FFFFFF; width: 50%; border-right: 1px solid #{{{{{disptype1|{{{type1|unknown}}}}}} color}}; -moz-border-radius-bottomleft: 10px;" | {{#switch: {{{typen|1}}}|1=<span style="background: #{{{{{disptype1|{{{type1|Unknown}}}}}} color}}">[[{{#ifeq: {{{type1link|yes}}}|yes|{{{type1|Unknown}}} (type)|List of glitch types#{{{type1}}}}}|{{color|FFFFFF|&nbsp;{{{type1|Unknown}}}&nbsp;}}]]</span>|2=<span style="background: #{{{{{disptype1|{{{type1}}}}}} color}}">[[{{#ifeq: {{{type1link|yes}}}|yes|{{{type1}}} (type)|List of glitch types#{{{type1}}}}}|{{color|FFFFFF|&nbsp;{{{type1}}}&nbsp;}}]]</span><span style="background: #{{{{{disptype2|{{{type2}}}}}} color}}">[[{{#ifeq: {{{type2link|yes}}}|yes|{{{type2}}} (type)|List of glitch types#{{{type2}}}}}|{{color|FFFFFF|&nbsp;{{{type2}}}&nbsp;}}]]</span>|3=<span style="background: #{{{{{disptype1|{{{type1}}}}}} color}}">[[{{#ifeq: {{{type1link|yes}}}|yes|{{{type1}}} (type)|List of glitch types#{{{type1}}}}}|{{color|FFFFFF|&nbsp;{{{type1}}}&nbsp;}}]]</span><span style="background: #{{{{{disptype2|{{{type2}}}}}} color}}">[[{{#ifeq: {{{type2link|yes}}}|yes|{{{type2}}} (type)|List of glitch types#{{{type2}}}}}|{{color|FFFFFF|&nbsp;{{{type2}}}&nbsp;}}]]</span><br><small>{{{form1}}}</small><br><span style="background: #{{{{{disptype3|{{{type3}}}}}} color}}">[[{{#ifeq: {{{type3link|yes}}}|yes|{{{type3}}} (type)|List of glitch types#{{{type3}}}}}|{{color|FFFFFF|&nbsp;{{{type3}}}&nbsp;}}]]</span><br><small>{{{form2}}}</small>|4=<span style="background: #{{{{{disptype1|{{{type1}}}}}} color}}">[[{{#ifeq: {{{type1link|yes}}}|yes|{{{type1}}} (type)|List of glitch types#{{{type1}}}}}|{{color|FFFFFF|&nbsp;{{{type1}}}&nbsp;}}]]</span><span style="background: #{{{{{disptype2|{{{type2}}}}}} color}}">[[{{#ifeq: {{{type2link|yes}}}|yes|{{{type2}}} (type)|List of glitch types#{{{type2}}}}}|{{color|FFFFFF|&nbsp;{{{type2}}}&nbsp;}}]]</span><br><small>{{{form1}}}</small><br><span style="background: #{{{{{disptype3|{{{type3}}}}}} color}}">[[{{#ifeq: {{{type3link|yes}}}|yes|{{{type3}}} (type)|List of glitch types#{{{type3}}}}}|{{color|FFFFFF|&nbsp;{{{type3}}}&nbsp;}}]]</span><span style="background: #{{{{{disptype4|{{{type4}}}}}} color}}">[[{{#ifeq: {{{type4link|yes}}}|yes|{{{type4}}} (type)|List of glitch types#{{{type4}}}}}|{{color|FFFFFF|&nbsp;{{{type4}}}&nbsp;}}]]</span><br><small>{{{form1}}}</small>}}<includeonly>[[Category:{{{type1}}}-type glitch Pokémon]] {{#switch: {{{typen|1}}}|1= |2= [[Category: {{{type2}}}-type glitch Pokémon]]|3= [[Category: {{{type2}}}-type glitch Pokémon]][[Category: {{{type3}}}-type glitch Pokémon]]|4= [[Category: {{{type2}}}-type glitch Pokémon]][[Category: {{{type3}}}-type glitch Pokémon]][[Category: {{{type4}}}-type glitch Pokémon]]}}</includeonly>
| align="center" style="background: #FFFFFF; width: 50%; -moz-border-radius-bottomright: 10px;" | {{#ifeq: {{{species|}}}||N/A|{{{species}}} Pokémon}}
| align="center" style="background: #FFFFFF; width: 50%; -moz-border-radius-bottomright: 10px;" | {{#ifeq: {{{species|}}}||N/A|{{{species}}} Pokémon}}
|-
|-