Template:Gametip: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko (historical)
(And with the marraige of div and table, the table was not divided X(...)
imported>Konoko (historical)
m (removed old commented code)
Line 1: Line 1:
<!-- 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 #000000; margin: 0.5em; padding: 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%;"
|-
|Rowspan=2 Valign=top|{{#ifeq: {{{game}}} | hero | [[Image:CoH_Game_Icon.png|left]] | {{#ifeq: {{{game}}} | vill | [[Image:CoV_Game_Icon.png|left]] | [[Image:CoX_Game_Icon.png|left]]}}}} ||
|-
| style="{{#ifeq: {{{game}}} | hero | width:100%;color:black;" | {{#ifeq: {{{game}}} | vill | width:100%;color:black;" | width:100%;color:black;"}}}} | '''{{{tip}}}'''
|-
|}
</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 #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]]

Revision as of 17:02, 17 July 2007