Template:Gametip: Difference between revisions

From City of Heroes: Rebirth Wiki
Jump to navigation Jump to search
imported>Konoko
No edit summary
imported>Konoko
m (Reverted edits by Konoko (Talk); changed back to last version by Eabrace)
Line 1: Line 1:
<!-- includeonly -->
<includeonly>
<div style="margin: 0.5em;">
<div style="margin: 0.5em;">
{| border=1 <!-- style="text-align:center; border: 1px solid #000000; border-collapse: collapse" -->
{| style="text-align:center; border: 1px solid #000000; border-collapse: collapse"
|- <!-- top row, background only
|- {{#ifeq: {{{Game}}} | hero | bgcolor="0060BE" | {{#ifeq: {{{Game}}} | vill | bgcolor="A21B21"| bgcolor="CCCCCC"}}}}
-->{{#switch: {{#lc:{{{game|}}}}}
|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]]}}}} ||  
| h = style="background-color: #0060BE;"
|- {{#ifeq: {{{Game}}} | hero | bgcolor="0060BE" | {{#ifeq: {{{Game}}} | vill | bgcolor="A21B21"| bgcolor="CCCCCC"}}}}
| hero = style="background-color: #0060BE;"
| {{#ifeq: {{{Game}}} | hero | style="width:100%; color:white" | {{#ifeq: {{{Game}}} | vill | style="width:100%; color:white" | style="width:100%; color:black"}}}} |'''{{{Tip}}}'''
| v = style="background-color: #A21B21;"
| vill = style="background-color: #A21B21;"
| villain = style="background-color: #A21B21;"
| both = style="background-color: #CCCCCC;"
| #default = style="background-color: #CCCCCC;"}}
| rowspan=2 valign=top |<!-- icon, left side, two rows (top background row and text bottom row
-->{{#switch: {{#lc:{{{game|}}}}}
| h
| hero = [[Image:CoH_Game_Icon.png|left]]
| v
| vill
| villain = [[Image:CoV_Game_Icon.png|left]]
| both
| #default = [[Image:CoX_Game_Icon.png|left]]}} ||  
|- <!-- text area, hero/villain have different background color, text is white. both/default is black text on grey background
-->{{#switch: {{#lc:{{{game|}}}}}
| h
| hero = style="background-color: #0060BE;"
| v
| vill
| villain = style="background-color: #A21B21;"
| both
| #default = style="background-color: #CCCCCC;"}}
| {{#switch: {{#lc:{{{game|}}}}}
| h
| hero
| v
| vill
| villain = style="width: 100%; color: white;"
| both
| #default = "width: 100%; color: black;"}} | '''{{{tip}}}'''
|-
|-
|}
|}
</div>
</div>
<!-- /includeonly -->
</includeonly>
<noinclude>{{{{PAGENAME}}/Doc}}</noinclude>
<noinclude>{{{{PAGENAME}}/Doc}}</noinclude>

Revision as of 07:29, 17 July 2007