Template:MoveInfobox: Difference between revisions

there is another category that does the exact same thing
m (large images break it)
(there is another category that does the exact same thing)
Line 76: Line 76:
{{!}} style="background: #{{#switch: {{{target|none}}}|any=FF4500|all|allothers|allies|team=ED1C24|ally=FF4500|709AD1}}; {{roundy|3px}} border: 1px solid #000000;" {{!}} <small>Ally</small>
{{!}} style="background: #{{#switch: {{{target|none}}}|any=FF4500|all|allothers|allies|team=ED1C24|ally=FF4500|709AD1}}; {{roundy|3px}} border: 1px solid #000000;" {{!}} <small>Ally</small>
{{!}}- align="center"}}
{{!}}- align="center"}}
| colspan="3" style="background: #FFFFFF; {{roundy|3px}}" | <small>{{#switch: {{{target|none}}}|any=May affect anyone but the user|anyadjacent=May affect anyone adjacent to the user|all=Affects all Pokémon on the field|alladjacent=Affects all Pokémon adjacent to the user|allothers=Affects all but the user|foes=Affects all foes|adjacentfoes=Affects all adjacent foes, but not allies|foe=May affect any foe, but not allies|adjacentfoe=May affect any adjacent foe, but not allies|self=Affects the user|allies=Affects all allies|ally=Affects an ally|adjacentally=Affects an adjacent ally|team=Affects the user and all allies|selfadjacentally=May affect the user or an adjacent ally|twoteam=Affects the user and one ally|Does not affect any Pokémon{{tt|*|Default message!}}<includeonly>[[Category:Moves which have not been given targets]]</includeonly>}}</small>
| colspan="3" style="background: #FFFFFF; {{roundy|3px}}" | <small>{{#switch: {{{target|none}}}|any=May affect anyone but the user|anyadjacent=May affect anyone adjacent to the user|all=Affects all Pokémon on the field|alladjacent=Affects all Pokémon adjacent to the user|allothers=Affects all but the user|foes=Affects all foes|adjacentfoes=Affects all adjacent foes, but not allies|foe=May affect any foe, but not allies|adjacentfoe=May affect any adjacent foe, but not allies|self=Affects the user|allies=Affects all allies|ally=Affects an ally|adjacentally=Affects an adjacent ally|team=Affects the user and all allies|selfadjacentally=May affect the user or an adjacent ally|twoteam=Affects the user and one ally|Does not affect any Pokémon{{tt|*|Default message!}}}}</small>
|}
|}
|-
|-