Difference between revisions of "Template:Movelist"
From Bulbapedia, the community-driven Pokémon encyclopedia.
(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.) |
||
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}}}}} |
+ | | style="background:#{{{{{2|Unknown}}} color}}" | {{typecolor|{{{2|Unknown}}}}} |
− | {{!}} style="background:#{{{{{cat|Status}}} color}}" {{!}} [[{{{cat|Status}}} move|{{color|{{{{{cat|Status}}} textcolor}}|{{{cat|Status}}}}}]]}} |
+ | {{#if: {{{cat|}}}|{{!}} style="background:#{{{{{cat|Status}}} color}}" {{!}} [[{{{cat|Status}}} move|{{color|{{{{{cat|Status}}} textcolor}}|{{{cat|Status}}}}}]]}} |
− | {{ |
+ | | style="{{#if: {{{3|}}}||display:none;}} background:#FFF" | {{{3}}}<noinclude> |
|}</noinclude> |
|}</noinclude> |
Revision as of 06:22, 18 June 2017
Struggle | Unknown |