Template:Gametip: Difference between revisions
Jump to navigation
Jump to search
imported>Konoko (historical) (Undo test edit. Why o why does switch break it?) |
imported>Konoko (historical) (div instead of table) |
||
Line 1: | Line 1: | ||
<includeonly | <!-- includeonly | ||
<div style="margin: 0.5em;"> | <div style="margin: 0.5em;"> | ||
{| style="text-align:center; border: 1px solid #000000; border-collapse: collapse; {{#ifeq: {{{game}}} | hero |background-color: #82a0be;| {{#ifeq: {{{game}}} | vill |background-color:#ff6f75;|background-color:#CCCCCC;}}}} width:100%;" | {| style="text-align:center; border: 1px solid #000000; border-collapse: collapse; {{#ifeq: {{{game}}} | hero |background-color: #82a0be;| {{#ifeq: {{{game}}} | vill |background-color:#ff6f75;|background-color:#CCCCCC;}}}} width:100%;" | ||
Line 9: | Line 9: | ||
|} | |} | ||
</div> | </div> | ||
</ | /includeonly --><div class="boilerplate metadata" id="{{{game}}}" style="background-color: {{#switch:{{#lc:{{{game|}}}}}|h|hero|heroes=#82a0be|v|vill|villains=#ff6f75|both|x|default=#CCCCCC}}; border: 1px solid #AAF; margin: 0.5em; padding: 0.5em;"> [[Image:Co{{#switch:{{#lc:{{{game|}}}}}|h|hero|heroes=H|v|vill|villains=V|both|x|default=X}}_Game_Icon.png]] '''{{{tip}}}:'''</div> | ||
<noinclude>{{{{PAGENAME}}/Doc}}[[Category:Standardized Text Templates]]</noinclude> | <noinclude>{{{{PAGENAME}}/Doc}}[[Category:Standardized Text Templates]]</noinclude> |