Template:Gametip: Difference between revisions
Jump to navigation
Jump to search
imported>Sekoia (historical) m (removed centering on text) |
imported>Sekoia (historical) (swapping background and border colors (and lightening background), let's how that looks?) |
||
Line 1: | Line 1: | ||
<div class="boilerplate metadata" id="{{{game}}}" style="background-color: #{{#switch:{{lc:{{{game|}}}}}|h|hero|heroes=3364B3|v|vill|villains=721C1F|both|x|#default= | <div class="boilerplate metadata" id="{{{game}}}" style="background-color: #eee; border: 2px solid #{{#switch:{{lc:{{{game|}}}}}|h|hero|heroes=3364B3|v|vill|villains=721C1F|both|x|#default=000000}}; margin: 0.5em; padding: 0.5em;"> | ||
{| style="background-color: transparent; width: 100%;" | {| style="background-color: transparent; width: 100%;" | ||
| style="width: 50px;" | [[Image:Co{{#switch:{{lc:{{{game|}}}}}|h|hero|heroes=H|v|vill|villains=V|both|x|#default=X}}_Game_Icon.png]] | | style="width: 50px;" | [[Image:Co{{#switch:{{lc:{{{game|}}}}}|h|hero|heroes=H|v|vill|villains=V|both|x|#default=X}}_Game_Icon.png]] | ||
| {{color|{{#switch:{{lc:{{{game|}}}}}|h|hero|heroes=white|v|vill|villains=white|both|x|#default=black}}| | | {{color|{{#switch:{{lc:{{{game|}}}}}|h|hero|heroes=white|v|vill|villains=white|both|x|#default=black}}|{{{tip}}}}} | ||
|}</div> | |}</div> | ||
<noinclude>{{{{PAGENAME}}/Doc}}[[Category:Standardized Text Templates]]</noinclude> | <noinclude>{{{{PAGENAME}}/Doc}}[[Category:Standardized Text Templates]]</noinclude> |