Difference between revisions of "Template:HL team roster"

From comp.tf
Jump to navigation Jump to search
m (Icon fixes)
m
Line 1: Line 1:
{| class="infobox left"
+
{| class="wikitable infobox2" style="clear:none; margin-right:1em; float:left;"
 
|-
 
|-
! colspan=3 | Roster
+
! colspan=2 | {{#if:{{{flag|}}}|{{flag|{{{flag}}}}}}}  {{#if:{{{teamname|}}}|[[{{{teamname}}}]]|Roster}}
|-
+
|-
| width=40% | '''{{{scout}}}'''
+
| [[File:Scouticon.png|20px]] [[Scout]]
| width=60 | [[File:Scouticon.png|20px]] [[Scout]]
+
| '''{{{scout}}}'''
 
|- style="background: silver"
 
|- style="background: silver"
{{#if:{{{scoutsub|}}}|{{!}} '''{{{scoutsub}}}'''
+
{{#if:{{{scoutsub|}}}|{{!}} [[File:Scouticon.png|20px]] [[Scout|Scout Sub]]
{{!}} [[File:Scouticon.png|20px]] [[Scout|Scout Sub]]|}}
+
{{!}} '''{{{scoutsub}}}'''|}}
 
|-
 
|-
 +
| [[File:Soldiericon.png|20px]] [[Soldier]]
 
| '''{{{soldier}}}'''  
 
| '''{{{soldier}}}'''  
| [[File:Soldiericon.png|20px]] [[Soldier]]
 
 
|- style="background: silver"
 
|- style="background: silver"
{{#if:{{{soldiersub|}}}|{{!}} '''{{{soldiersub}}}'''
+
{{#if:{{{soldiersub|}}}|{{!}} [[File:Soldiericon.png|20px]] [[Soldier|Soldier Sub]]
{{!}} [[File:Soldiericon.png|20px]] [[Soldier|Soldier Sub]]|}}
+
{{!}} '''{{{soldiersub}}}'''|}}
 
|-  
 
|-  
 +
| [[File:Pyroicon.png|20px]] [[Pyro]]
 
| '''{{{pyro}}}'''  
 
| '''{{{pyro}}}'''  
| [[File:Pyroicon.png|20px]] [[Pyro]]
+
|- style="background: silver"
|- style="background: silver"
+
{{#if:{{{pyrosub|}}}|{{!}} [[File:Pyroicon.png|20px]] [[Pyro|Pyro Sub]]
{{#if:{{{pyrosub|}}}|{{!}} '''{{{pyrosub}}}'''
+
{{!}} '''{{{pyrosub}}}'''|}}
{{!}} [[File:Pyroicon.png|20px]] [[Pyro|Pyro Sub]]|}}
 
 
|-  
 
|-  
 +
| [[File:Demomanicon.png|20px]] [[Demoman]]
 
| '''{{{demoman}}}'''  
 
| '''{{{demoman}}}'''  
| [[File:Demomanicon.png|20px]] [[Demoman]]
+
|- style="background: silver"
|- style="background: silver"
+
{{#if:{{{demomansub|}}}|{{!}} [[File:Demomanicon.png|20px]] [[Demoman|Demoman Sub]]
{{#if:{{{demomansub|}}}|{{!}} '''{{{demomansub}}}'''
+
{{!}} '''{{{demomansub}}}'''|}}
{{!}} [[File:Demomanicon.png|20px]] [[Demoman|Demoman Sub]]|}}
 
 
|-  
 
|-  
 +
| [[File:Heavyicon.png|20px]] [[Heavy]]
 
| '''{{{heavy}}}'''  
 
| '''{{{heavy}}}'''  
| [[File:Heavyicon.png|20px]] [[Heavy]]
 
 
|- style="background: silver"
 
|- style="background: silver"
{{#if:{{{heavysub|}}}|{{!}} '''{{{heavysub}}}'''
+
{{#if:{{{heavysub|}}}|{{!}} [[File:Heavyicon.png|20px]] [[Heavy|Heavy Sub]]
{{!}} [[File:Heavyicon.png|20px]] [[Heavy|Heavy Sub]]|}}
+
{{!}} '''{{{heavysub}}}'''|}}
 
|-  
 
|-  
 +
| [[File:Engineericon.png|20px]] [[Engineer]]
 
| '''{{{engineer}}}'''  
 
| '''{{{engineer}}}'''  
| [[File:Engineericon.png|20px]] [[Engineer]]
+
|- style="background: silver"
|- style="background: silver"
+
{{#if:{{{engineersub|}}}|{{!}} [[File:Engineericon.png|20px]] [[Engineer|Engineer Sub]]
{{#if:{{{engineersub|}}}|{{!}} '''{{{engineersub}}}'''
+
{{!}} '''{{{engineersub}}}'''|}}
{{!}} [[File:Engineericon.png|20px]] [[Engineer|Engineer Sub]]|}}
 
 
|-  
 
|-  
 +
| [[File:Medicicon.png|20px]] [[Medic]]
 
| '''{{{medic}}}'''  
 
| '''{{{medic}}}'''  
| [[File:Medicicon.png|20px]] [[Medic]]
 
 
|- style="background: silver"
 
|- style="background: silver"
{{#if:{{{medicsub|}}}|{{!}} '''{{{medicsub}}}'''
+
{{#if:{{{medicsub|}}}|{{!}} [[File:Medicicon.png|20px]] [[Medic|Medic Sub]]
{{!}} [[File:Medicicon.png|20px]] [[Medic|Medic Sub]]|}}
+
{{!}} '''{{{medicsub}}}'''|}}
 
|-  
 
|-  
 +
| [[File:Snipericon.png|20px]] [[Sniper]]
 
| '''{{{sniper}}}'''  
 
| '''{{{sniper}}}'''  
| [[File:Snipericon.png|20px]] [[Sniper]]
+
|- style="background: silver"
|- style="background: silver"
+
{{#if:{{{snipersub|}}}|{{!}} [[File:Soldiericon.png|20px]] [[Sniper|Sniper Sub]]
{{#if:{{{snipersub|}}}|{{!}} '''{{{snipersub}}}'''
+
{{!}} '''{{{snipersub}}}'''|}}
{{!}} [[File:Snipericon.png|20px]] [[Sniper|Sniper Sub]]|}}
+
|-
|-
+
| [[File:Spyicon.png|20px]] [[Spy]]
 
| '''{{{spy}}}'''  
 
| '''{{{spy}}}'''  
|  [[File:Spyicon.png|20px]] [[Spy]]
 
 
|- style="background: silver"
 
|- style="background: silver"
{{#if:{{{spysub|}}}|{{!}} '''{{{spysub}}}'''
+
{{#if:{{{spysub|}}}|{{!}} [[File:Spyicon.png|20px]] [[Spy|Spy Sub]]
{{!}} [[File:Spyicon.png|20px]] [[Spy|Spy Sub]]|}}
+
{{!}} '''{{{spysub}}}'''|}}
 
|-  
 
|-  
 
|}
 
|}
<p style="margin-top: 12px;">{{{description|}}}</p>
+
<div style="margin-left:22em;">
 +
<p style="margin-top:12px;">{{{description|}}}</p>
 +
</div>
 
<div class="clearfix"></div>
 
<div class="clearfix"></div>
 
<noinclude>
 
<noinclude>

Revision as of 04:09, 19 November 2016

Roster
Scouticon.png Scout {{{scout}}}
Soldiericon.png Soldier {{{soldier}}}
Pyroicon.png Pyro {{{pyro}}}
Demomanicon.png Demoman {{{demoman}}}
Heavyicon.png Heavy {{{heavy}}}
Engineericon.png Engineer {{{engineer}}}
Medicicon.png Medic {{{medic}}}
Snipericon.png Sniper {{{sniper}}}
Spyicon.png Spy {{{spy}}}

Usage

  • Just copy the code below to the page you want and edit the values after the "="
    • Important: If you don't know any value or don't have information to fill it just let it be with a null value (blank).
    • Please input player names in full and type everything carefully as most things will be linked automatically and should be kept consistent across the wiki
  • Use the description field to refer to when the roster in question was active and any notable accomplishments it had.
  • You can also add sub players by adding the class name with sub after. Example:
| spysub =

Example

{{HL team roster
| spy =
| sniper =
| scout = 
| soldier = 
| engineer = 
| pyro =
| demoman = 
| heavy = 
| medic = 
| description =
}}

Will yeld

Roster
Scouticon.png Scout furbo
Soldiericon.png Soldier vhalin
Pyroicon.png Pyro candle
Demomanicon.png Demoman kaidus
Heavyicon.png Heavy Jamal
Engineericon.png Engineer sigafoo
Medicicon.png Medic Bulle
Snipericon.png Sniper MAX!
Spyicon.png Spy stabby

description test