Template:Userbox Server: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko (historical)
(haha! missed the end noinclude)
imported>Konoko (historical)
(hope that fixes the extra pipe)
Line 1: Line 1:
<div style="float: left; border: solid #4169E1 1px; margin: 1px;">
<div style="float: left; border: solid #4169E1 1px; margin: 1px;">
{| cellspacing="0" style="width: 238px; color: #000000; background: #D3D3D3;"
{| cellspacing="0" style="width: 238px; color: #000000; background: #D3D3D3;"
| style="width: 45px; height: 45px; background: white; text-align: center;" | {{#if: {{{3|}}} | {{{3}}} | {{#ifeq: {{{1}}} | Heroes | [[Image:Flight CombatFlight.png]] }} {{#ifeq: {{{1}}} | Villains | [[Image:Ninjitsu NinjaReflexes.png]] }} | [[Image:Power_Missing.png]] }} |
| style="width: 45px; height: 45px; background: white; text-align: center;" | {{#if: {{{3|}}} | {{{3}}} | {{#ifeq: {{{1}}} | Heroes | [[Image:Flight CombatFlight.png]] | {{#ifeq: {{{1}}} | Villains | [[Image:Ninjitsu NinjaReflexes.png]] | [[Image:Power_Missing.png]] }} }} }} |
| style="font-size: 8pt; padding: 4pt; line-height: 1.25em;" | This user plays City of {{{1}}} on the '''<font style="font-weight:bold;">[[Servers|{{{2}}}]]</font>''' server.
| style="font-size: 8pt; padding: 4pt; line-height: 1.25em;" | This user plays City of {{{1}}} on the '''<font style="font-weight:bold;">[[Servers|{{{2}}}]]</font>''' server.
|}</div><noinclude>
|}</div><noinclude>
 
{{clr}}
==Usage==
==Usage==
Three parameters
Three parameters
Line 10: Line 10:
* second is the server.
* second is the server.
* the third parameter is optional. if specified, will replace the image with the one specified. If the first paramter does not match Heroes or Villians, a 'default' image will be displayed
* the third parameter is optional. if specified, will replace the image with the one specified. If the first paramter does not match Heroes or Villians, a 'default' image will be displayed
 
{|
{{Userbox Server|Heroes|Champion}}
|-
 
| <nowiki>{{Userbox Server|Heroes|Champion}}</nowiki>
{{Userbox Server|Villains|Virtue}}
| {{Userbox Server|Heroes|Champion}}
 
|-
{{Userbox Server|Moonmen|Pinnacle}}
| <nowiki>{{Userbox Server|Villains|Virtue}}</nowiki>
 
| {{Userbox Server|Villains|Virtue}}
{{Userbox Server|Zeroes|Elysium|Image:ArcticMastery BlockOfIce.png}}
|-
 
| <nowiki>{{Userbox Server|Moonmen|Pinnacle}}</nowiki>
| {{Userbox Server|Moonmen|Pinnacle}}
|-
| <nowiki>{{Userbox Server|Zeroes|Elysium|[[Image:ArcticMastery BlockOfIce.png]]}}</nowiki>
| {{Userbox Server|Zeroes|Elysium|[[Image:ArcticMastery BlockOfIce.png]]}}
|-
|}
[[Category:Userbox Templates]]</noinclude>
[[Category:Userbox Templates]]</noinclude>

Revision as of 01:06, 10 March 2007

Power Missing.png | This user plays City of {{{1}}} on the {{{2}}} server.


Usage

Three parameters

  • first is the game, either Heroes or Villains
  • second is the server.
  • the third parameter is optional. if specified, will replace the image with the one specified. If the first paramter does not match Heroes or Villians, a 'default' image will be displayed
{{Userbox Server|Heroes|Champion}}
Flight CombatFlight.png | This user plays City of Heroes on the Champion server.
{{Userbox Server|Villains|Virtue}}
Ninjitsu NinjaReflexes.png | This user plays City of Villains on the Virtue server.
{{Userbox Server|Moonmen|Pinnacle}}
Power Missing.png | This user plays City of Moonmen on the Pinnacle server.
{{Userbox Server|Zeroes|Elysium|[[Image:ArcticMastery BlockOfIce.png]]}}
ArcticMastery BlockOfIce.png | This user plays City of Zeroes on the Elysium server.