Difference between revisions of "Template:User Halloween Mask"

From Team Fortress Wiki
Jump to: navigation, search
(works fine if you use it right; replaced deletion template with documentation)
(Completely tuned up the code, making it work properly and easy to edit.)
Line 1: Line 1:
<includeonly>{{Userbox
+
{{Userbox
 
   |border-c = #000000
 
   |border-c = #000000
 
   |border-s = 1
 
   |border-s = 1
Line 8: Line 8:
 
   |info-s  = 7
 
   |info-s  = 7
 
   |info-fc  = #d57e15
 
   |info-fc  = #d57e15
   |id      = [[File:{{{1}}} Mask.png|42px]]
+
   |id      = [[File:{{#switch:{{{1|}}}
   |info    = This user owns the [[Halloween Masks|<font color="#d57e15">{{{1}}} Mask</font>]].
+
  |  Scout = Scout Mask.png
}}</includeonly>
+
  |  Soldier = Soldier Mask.png
 +
  |  Pyro = Pyro Mask.png
 +
  |  Demoman = Demoman Mask.png
 +
  |  Heavy = Heavy Mask.png
 +
  |  Engineer = Engineer Mask.png
 +
  |  Medic = Medic Mask.png
 +
  |  Sniper = Sniper Mask.png
 +
  |  Spy = Spy Mask.png
 +
  |  #default = Spy Medic Halloween Mask.png
 +
}}|42px]]
 +
   |info    = This user owns [[Halloween Masks|<font color="#d57e15">{{#switch:{{{1|}}}
 +
  |  Scout = the Scout Mask
 +
  |  Soldier = the Soldier Mask
 +
  |  Pyro = the Pyro Mask
 +
  |  Demoman = the Demoman Mask
 +
  |  Heavy = the Heavy Mask
 +
  |  Engineer = the Engineer Mask
 +
  |  Medic = the Medic Mask
 +
  |  Sniper = the Sniper Mask
 +
  |  Spy = the Spy Mask
 +
  |  #default = a Halloween Mask
 +
}}</font>]].
 +
}}<noinclude>[[Category:Userbox templates|Halloween Masks]]<br />
  
<noinclude>[[Category:Userbox templates|Halloween Masks]]</noinclude>
+
<nowiki>{{User Halloween Mask|Soldier}}</nowiki> results in {{User Halloween Mask|Soldier}}
 
+
<br />All the other classes can be specified as well.</noinclude>
 
 
<noinclude><nowiki>{{User Halloween Mask|Soldier}}</nowiki> results in {{User Halloween Mask|Soldier}}
 
<br/>All the other classes can be specified as well.</noinclude>
 

Revision as of 22:06, 4 February 2011

Spy Medic Halloween Mask.png This user owns a Halloween Mask.


{{User Halloween Mask|Soldier}} results in

Soldier Mask.png This user owns the Soldier Mask.


All the other classes can be specified as well.