Template:Trainerheader: Difference between revisions

modified background/border colors to be more consistent with other tables, added documentation template
No edit summary
(modified background/border colors to be more consistent with other tables, added documentation template)
 
Line 1: Line 1:
{| class="roundy" align="left" style="border: 2px solid #{{locationcolor/light|{{{1|land}}}}}; background: #{{#switch: {{lc:{{{1|land}}}}} |normal|fighting|flying|poison|ground|rock|bug|ghost|steel|fire|water|grass|electric|psychic|ice|dragon|dark|fairy|???={{{{{1|normal}}} color}}|{{locationcolor/dark|{{{1|land}}}}}}}; margin-right: 5px; margin-bottom: 5px;"
{| class="roundy" align="left" style="border: 2px solid #{{locationcolor/dark|{{{1|land}}}}}; background: #{{#switch: {{lc:{{{1|land}}}}} |normal|fighting|flying|poison|ground|rock|bug|ghost|steel|fire|water|grass|electric|psychic|ice|dragon|dark|fairy|???={{{{{1|normal}}} color}}|{{locationcolor/med|{{{1|land}}}}}}}; margin-right: 5px; margin-bottom: 5px;"
! style="{{roundytl|5px}} {{#ifeq: {{{1|land}}}|space|color:#FFFFFF;}} background: #{{locationcolor/light|{{{1|land}}}}}" | Trainer
! style="{{roundytl|5px}} {{#ifeq: {{{1|land}}}|space|color:#FFFFFF;}} background: #{{locationcolor/light|{{{1|land}}}}}" | Trainer
! style="{{roundytr|5px}} {{#ifeq: {{{1|land}}}|space|color:#FFFFFF;}} background: #{{locationcolor/light|{{{1|land}}}}}" | Pokémon
! style="{{roundytr|5px}} {{#ifeq: {{{1|land}}}|space|color:#FFFFFF;}} background: #{{locationcolor/light|{{{1|land}}}}}" | Pokémon
Line 5: Line 5:
|}
|}
{{-}}
{{-}}
==How to use==
{{documentation}}
[[Template:Trainerheader/doc|See here]]
[[Category:Table templates]]</noinclude>
[[Category:Table templates]]</noinclude>