Difference between revisions of "Template:HLTeamCard/doc"

From comp.tf
Jump to navigation Jump to search
m
m (→‎Code: Corrected pyro variables)
Line 52: Line 52:
  
 
== Code ==  
 
== Code ==  
 
+
{{Box|start}}
 
;Typical
 
;Typical
 
<pre>{{HLTeamCard
 
<pre>{{HLTeamCard
Line 61: Line 61:
 
|pyro= |pyroflag=
 
|pyro= |pyroflag=
 
|demoman= |demomanflag=
 
|demoman= |demomanflag=
|pyro= |pyroflag=
+
|heavy= |heavyflag=
 
|engineer= |engineerflag=
 
|engineer= |engineerflag=
 
|medic= |medicflag=
 
|medic= |medicflag=
Line 68: Line 68:
 
}}
 
}}
 
</pre>
 
</pre>
 +
{{Box|break}}
 
;All variables
 
;All variables
 
<pre>{{HLTeamCard
 
<pre>{{HLTeamCard
Line 80: Line 81:
 
|pyro= |pyroflag=
 
|pyro= |pyroflag=
 
|demoman= |demomanflag=
 
|demoman= |demomanflag=
|pyro= |pyroflag=
+
|heavy= |heavyflag=
 
|engineer= |engineerflag=
 
|engineer= |engineerflag=
 
|medic= |medicflag=
 
|medic= |medicflag=
Line 88: Line 89:
 
}}
 
}}
 
</pre>
 
</pre>
 +
{{Box|end}}

Revision as of 19:37, 11 November 2015

Template meant to be used when presenting a Highlander team on a tournament page. With only logo displayed until it's hovered and the roster is revealed.

Usage

X will denote a number from 1 to 5, 1 is the top row and 5 the bottom.

|team=
|link=
Name of the team and link to the page if different.
|ref=
To be used to insert a reference if there was some change with the team or whatever.
|image=
Image file link (no File: or Image: before this)
|imagesize=
Max size is be 245x165px, can use the regular image size input ways of just width (245px) or height (x165px) to make the image fit into the template.
|notes=
Superscript text that appears next to the team name.
|<class>=
Player name.
|<class>flag=
Player nationality/flag only 2 letter code in lower case is needed.
|qualifier=
How the team qualified for the event, i.e. "Invited". Can also be a link.

Example

{{HLTeamCard
|team=Highpander
|image=Highpander.png
|scout=Kissakala |scoutflag=fi
|soldier=zoob |soldierflag=fi
|pyro=Stevepander |pyroflag=uk
|demoman=Hildreth |demomanflag=uken
|heavy=Polk |heavyflag=us
|engineer=nijoonen |engineerflag=se
|medic=Sprayer |medicflag=li
|sniper=phromelo |sniperflag=pl
|spy=Grenjabob |spyflag=uk
|notes= 
}}


Code

Typical
{{HLTeamCard
|team=
|image=
|scout= |scoutflag=
|soldier= |soldierflag=
|pyro= |pyroflag=
|demoman= |demomanflag=
|heavy= |heavyflag=
|engineer= |engineerflag=
|medic= |medicflag=
|sniper= |sniperflag=
|spy= |spyflag=
}}
All variables
{{HLTeamCard
|team=
|link=
|ref=
|image=
|imagesize=
|notes=
|scout= |scoutflag=
|soldier= |soldierflag=
|pyro= |pyroflag=
|demoman= |demomanflag=
|heavy= |heavyflag=
|engineer= |engineerflag=
|medic= |medicflag=
|sniper= |sniperflag=
|spy= |spyflag=
|qualifier=
}}