Template:Alldex: Difference between revisions

Still personally think this could do without the if clauses...
No edit summary
(Still personally think this could do without the if clauses...)
Line 2: Line 2:
|- style="background:#FFFFFF;"
|- style="background:#FFFFFF;"
| style="font-family:Monospace;" | #{{{2|---}}}
| style="font-family:Monospace;" | #{{{2|---}}}
{{#ifeq:{{{1|1}}}|1|{{!}} style="font-family:Monospace;" {{!}} #{{{2|---}}} {{!}}}}{{#switch:{{{1|1}}}|1|2|4={{!}} style="font-family:Monospace;" {{!}} #{{{j|---}}}{{#if: {{{oj|}}}|{{tt|*|#{{{oj|}}} in Generation II}}}}{{!}}}}{{#switch:{{{1|1}}}|1|2|3|4={{!}} style="font-family:Monospace;" {{!}} #{{{h|---}}}{{#if: {{{oh|}}}|{{tt|*|#{{{oh|}}} in Generation III}}}}{{!}}{{!}} style="font-family:Monospace;" {{!}} #{{{s|---}}}{{#ifexpr: {{{s|0}}} > 151|{{Sup/4|Pt}}}}{{!}}}}{{#switch:{{{1|1}}}|1|2|3|4|5={{!}} style="font-family:Monospace;" {{!}} #{{#ifexpr: {{{2|000}}} < 494|{{{u2dex|---}}}{{Sup/5|B2W2}}|{{{u|---}}}{{tt|*|{{{u2dex|---}}} in B2W2}}}}{{!}}}}{{#switch:{{{1|1}}}|1|2|3|4|5|6={{!}} style="font-family:Monospace;" {{!}} #{{{kdex|---}}}{{#if:{{{kr|}}}|{{tt|*|{{{kr}}}}}}}{{!}}}}{{#switch:{{{1|1}}}|1|2|3|4|5|6|7={{!}} style="font-family:Monospace;" {{!}} #{{{adex|---}}}{{#if:{{{sm|}}}|{{tt|*|#{{{sm}}} in Sun and Moon}}|{{sup/7|USUM}}}}}}
{{#switch:{{{1|1}}}|1={{!}} style="font-family:Monospace;" {{!}} #{{{2|---}}}{{!}}}}{{#switch:{{{1|1}}}|1|2|4={{!}} style="font-family:Monospace;" {{!}} #{{{j|---}}}{{#if:{{{oj|}}}|{{tt|*|#{{{oj|}}} in Generation II}}}}{{!}}}}{{#switch:{{{1|1}}}|1|2|3|4={{!}} style="font-family:Monospace;" {{!}} #{{{h|---}}}{{#if:{{{oh|}}}|{{tt|*|#{{{oh|}}} in Generation III}}}}{{!}}{{!}} style="font-family:Monospace;" {{!}} #{{{s|---}}}{{#ifexpr:{{{s|0}}}>151|{{Sup/4|Pt}}}}{{!}}}}{{#switch:{{{1|1}}}|1|2|3|4|5={{!}} style="font-family:Monospace;" {{!}} #{{{u2dex|{{{u|---}}}}}}{{#if:{{{u2dex|}}}|{{#if:{{{u|}}}|{{tt|*|{{{u|}}} in Black &amp; White}}|{{Sup/5|B2W2}}}}}}{{!}}}}{{#switch:{{{1|1}}}|1|2|3|4|5|6={{!}} style="font-family:Monospace;" {{!}} #{{{kdex|---}}}{{#if:{{{kr|}}}|{{tt|*|{{{kr|}}}}}}}{{!}}}}{{#switch:{{{1|1}}}|1|2|3|4|5|6|7={{!}} style="font-family:Monospace;" {{!}} #{{{adex|{{{sm|---}}}}}}{{#if:{{{adex|}}}|{{#if:{{{sm|}}}|{{#ifexpr:{{{sm|0}}}!={{{adex|0}}}|{{tt|*|#{{{sm|}}} in Sun &amp; Moon}}}}|{{Sup/7|USUM}}}}}}}}
 
| {{MS|{{{2|001}}}|{{{3|Bulbasaur}}} (Pokémon)}}
| {{MS|{{{2|001}}}|{{{3|Bulbasaur}}} (Pokémon)}}
| {{p|{{{3|Bulbasaur}}}}}
| {{p|{{{3|Bulbasaur}}}}}
| colspan="{{#switch: {{{4|2}}}|2=1|2}}" style="text-align:center; background:#{{{{{5|Grass}}} color}}" | [[{{{5|Grass}}} (type)|<span style="color:#FFFFFF">{{{5|Grass}}}</span>]] {{#switch: {{{4|2}}}|2={{Template:Moveentry/type|{{{6|Poison}}}}}}}<noinclude>
| colspan="{{#switch: {{{4|2}}}|2=1|2}}" style="text-align:center; background:#{{{{{5|Grass}}} color}}" | [[{{{5|Grass}}} (type)|<span style="color:#FFFFFF">{{{5|Grass}}}</span>]] {{#switch: {{{4|2}}}|2={{Template:Moveentry/type|{{{6|Poison}}}}}}}<noinclude>
|}[[Category:Table templates]]</noinclude>
|}[[Category:Table templates]]</noinclude>
40,983

edits