Difference between revisions of "Template:Movelist"

Looks like it's necessary to do it this way to avoid both sorting issues and excess line breaks, while also not breaking the cell background colors. Still not ideal though.
(Using display:none on cells causes serious issues when trying to sort subsequent columns. Just include the entire cell in the #if.)
(Looks like it's necessary to do it this way to avoid both sorting issues and excess line breaks, while also not breaking the cell background colors. Still not ideal though.)
</noinclude>|- style="text-align:center"
| style="text-align:left" | {{mcolor|{{{1|Struggle}}}|000000}}{{#if:{{{note|}}}|{{tt|*|{{{note}}}}}|}}
| style="background:#{{{{{2|Unknown}}} color}}" | {{typecolor|{{{2|Unknown}}}}}{{#if: {{{cat|}}}|
{{#if: {{{cat|}}}|{{!}} style="background:#{{{{{cat|Status}}} color}}" {{!}} [[{{{cat|Status}}} move|{{color|{{{{{cat|Status}}} textcolor}}|{{{cat|Status}}}}}]]}}{{#if: {{{3|}}}|
| style="{{!#if: {{{3|}}}||display:none;}} style="background:#FFF" {{!}}| {{{3}}}}}<noinclude>
|}</noinclude>