Difference between revisions of "Template:Movelist"

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to: navigation, search
(Using display:none on cells causes serious issues when trying to sort subsequent columns. Just include the entire cell in the #if.)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
</noinclude>|- style="text-align:center"
 
</noinclude>|- style="text-align:center"
 
| style="text-align:left" | {{mcolor|{{{1|Struggle}}}|000000}}{{#if:{{{note|}}}|{{tt|*|{{{note}}}}}|}}
 
| style="text-align:left" | {{mcolor|{{{1|Struggle}}}|000000}}{{#if:{{{note|}}}|{{tt|*|{{{note}}}}}|}}
| style="background:#{{{{{2|Unknown}}} color}}" | {{typecolor|{{{2|Unknown}}}}}{{#if: {{{cat|}}}|
+
| style="background:#{{{{{2|Unknown}}} color}}" | {{typecolor|{{{2|Unknown}}}}}
{{!}} style="background:#{{{{{cat|Status}}} color}}" {{!}} [[{{{cat|Status}}} move|{{color|{{{{{cat|Status}}} textcolor}}|{{{cat|Status}}}}}]]}}{{#if: {{{3|}}}|
+
{{#if: {{{cat|}}}|{{!}} style="background:#{{{{{cat|Status}}} color}}" {{!}} [[{{{cat|Status}}} move|{{color|{{{{{cat|Status}}} textcolor}}|{{{cat|Status}}}}}]]}}
{{!}} style="background:#FFF" {{!}} {{{3}}}}}<noinclude>
+
| style="{{#if: {{{3|}}}||display:none;}} background:#FFF" {{#if: {{{s1|}}}|data-sort-value={{{s1}}}}} | {{{3}}}
  +
| style="{{#if: {{{4|}}}||display:none;}} background:#FFF" {{#if: {{{s2|}}}|data-sort-value={{{s2}}}}} | {{{4}}}
  +
| style="{{#if: {{{5|}}}||display:none;}} background:#FFF" {{#if: {{{s3|}}}|data-sort-value={{{s3}}}}} | {{{5}}}
  +
| style="{{#if: {{{6|}}}||display:none;}} background:#FFF" {{#if: {{{s4|}}}|data-sort-value={{{s4}}}}} | {{{6}}}<noinclude>
 
|}</noinclude>
 
|}</noinclude>

Latest revision as of 00:48, 30 June 2017

Struggle  Unknown  {{{3}}} {{{4}}} {{{5}}} {{{6}}}
ADVERTISEMENT