Template:Gametip: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko
m (Reverted edits by Konoko (Talk); changed back to last version by Eabrace)
imported>Konoko
(css/xhtml standard, removed extra ifeq statement (will change to switch later))
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"
{| style="text-align:center; border: 1px solid #000000; border-collapse: collapse; background-color: {{#ifeq: {{game}}} | hero | #0060BE | {{#ifeq: {{{game}}} | vill | #A21B21 | #CCCCCC}}}}"
|- {{#ifeq: {{{Game}}} | hero | bgcolor="0060BE" | {{#ifeq: {{{Game}}} | vill | bgcolor="A21B21"| bgcolor="CCCCCC"}}}}
|-
|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]]}}}} ||  
|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]]}}}} ||  
|- {{#ifeq: {{{Game}}} | hero | bgcolor="0060BE" | {{#ifeq: {{{Game}}} | vill | bgcolor="A21B21"| bgcolor="CCCCCC"}}}}
|-  
| {{#ifeq: {{{Game}}} | hero | style="width:100%; color:white" | {{#ifeq: {{{Game}}} | vill | style="width:100%; color:white" | style="width:100%; color:black"}}}} |'''{{{Tip}}}'''
| style="width:100%; {{#ifeq: {{{game}}} | hero | color:white; | {{#ifeq: {{{game}}} | vill | color:white; | color:black;}}}}" |'''{{{tip}}}'''
|-
|-
|}
|}

Revision as of 07:33, 17 July 2007