Difference between revisions of "Template:Userbox Server"

From Ouroboros Portal
Jump to: navigation, search
m (Usage: playing with Tl template)
m (nope, no Tl template without nowiki tags)
Line 24: Line 24:
 
{|
 
{|
 
|-
 
|-
| {{tl|Userbox Server|Heroes|Champion}}
+
| <nowiki>{{Userbox Server|Heroes|Champion}}</nowiki>
 
| {{Userbox Server|Heroes|Champion}}
 
| {{Userbox Server|Heroes|Champion}}
 
|-
 
|-
| {{tl|Userbox Server|Villains|Virtue}}
+
| <nowiki>{{Userbox Server|Villains|Virtue}}</nowiki>
 
| {{Userbox Server|Villains|Virtue}}
 
| {{Userbox Server|Villains|Virtue}}
 
|-
 
|-
| {{tl|Userbox Server|Villains|Freedom|[[Image:Skill power invent.png]]}}
+
| <nowiki>{{Userbox Server|Villains|Freedom|[[Image:Skill power invent.png]]}}</nowiki>
 
| {{Userbox Server|Villains|Freedom|[[Image:Skill power invent.png]]}}
 
| {{Userbox Server|Villains|Freedom|[[Image:Skill power invent.png]]}}
 
|-
 
|-
| {{tl|Userbox Server|Moonmen|Pinnacle}}
+
| <nowiki>{{Userbox Server|Moonmen|Pinnacle}}</nowiki>
 
| {{Userbox Server|Moonmen|Pinnacle}}
 
| {{Userbox Server|Moonmen|Pinnacle}}
 
|-
 
|-
| {{tl|Userbox Server|Zeroes|Elysium|[[Image:ArcticMastery BlockOfIce.png]]}}
+
| <nowiki>{{Userbox Server|Zeroes|Elysium|[[Image:ArcticMastery BlockOfIce.png]]}}</nowiki>
 
| {{Userbox Server|Zeroes|Elysium|[[Image:ArcticMastery BlockOfIce.png]]}}
 
| {{Userbox Server|Zeroes|Elysium|[[Image:ArcticMastery BlockOfIce.png]]}}
 
|-
 
|-
 
|}
 
|}
 
[[Category:Userbox Templates]]</noinclude>
 
[[Category:Userbox Templates]]</noinclude>

Revision as of 00:48, 11 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, unless replaced by this third parameter.
  • {{#if: {{{3|}}} | {{{3}}}
    If third parameter exists, then display the third paratmeter
    • | {{#ifeq: {{{1}}} | Heroes | [[Image:Sp icon pillbox hero.png]]
      if third parameter does not exist, attempt to replace with a default 'hero' icon, based on first parameter
      • | {{#ifeq: {{{1}}} | Villains | [[Image:Sp icon pillbox Villain.png]]
        if not heroes, try villains
        • | [[Image:Power_Missing.png]]
          if all else fails, display the missing icon (replace with paragon wiki icon?!?)
          • }} }} }}
            close all three if statements

{{Userbox Server|Heroes|Champion}}
CoH Game Icon.png This user plays City of Heroes on the Champion server.
{{Userbox Server|Villains|Virtue}}
CoV Game Icon.png This user plays City of Villains on the Virtue server.
{{Userbox Server|Villains|Freedom|[[Image:Skill power invent.png]]}}
Skill power invent.png This user plays City of Villains on the Freedom 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.