Difference between revisions of "Template:6sTeamCard/doc"

From comp.tf
Jump to navigation Jump to search
m (Efefknee moved page Template:TeamCard/doc to Template:6sTeamCard/doc without leaving a redirect)
m (teamcard -> 6steamcard)
Line 18: Line 18:
 
:Max size is be 163x119px, can use the regular image size input ways of just width (163px) or height (x119px) to make the image fit into the template.
 
:Max size is be 163x119px, can use the regular image size input ways of just width (163px) or height (x119px) to make the image fit into the template.
 
;|notes=
 
;|notes=
:Superscript text that appears next to the team name
+
:Superscript text that appears next to the team name.
 
;|<class>=
 
;|<class>=
 
:Player name.
 
:Player name.
 
;|<class>flag=
 
;|<class>flag=
 
:Player nationality/flag only 2 letter code in lower case is needed.  
 
:Player nationality/flag only 2 letter code in lower case is needed.  
 +
;|role<class>=
 +
:If game modes with different roles are played.
 
;|qualifier=
 
;|qualifier=
 
:How the team qualified for the event, i.e. "Invited".  Can also be a link.
 
:How the team qualified for the event, i.e. "Invited".  Can also be a link.
  
 
== Example ==
 
== Example ==
<pre>{{TeamCard
+
<pre>{{6sTeamCard
 
|team=Epsilon
 
|team=Epsilon
 
|image=Epsilon.jpeg
 
|image=Epsilon.jpeg
Line 37: Line 39:
 
|demoman=WARHURYEAH |demomanflag=en
 
|demoman=WARHURYEAH |demomanflag=en
 
|medic=KnOxXx |medicflag=fr
 
|medic=KnOxXx |medicflag=fr
 +
|notes=
 
}}</pre>
 
}}</pre>
{{TeamCard
+
{{6sTeamCard
 
|team=Epsilon
 
|team=Epsilon
 
|image=Epsilon.jpeg
 
|image=Epsilon.jpeg
Line 53: Line 56:
  
 
;Typical
 
;Typical
<pre>{{TeamCard
+
<pre>{{6sTeamCard
 
|team=
 
|team=
 
|image=
 
|image=
Line 66: Line 69:
 
</pre>
 
</pre>
 
;All variables
 
;All variables
<pre>{{TeamCard
+
<pre>{{6sTeamCard
 
|team=
 
|team=
 
|link=
 
|link=

Revision as of 17:13, 19 June 2015


Credit to Liquipedia
Template meant to be used when presenting a 5 man 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 this is 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 163x119px, can use the regular image size input ways of just width (163px) or height (x119px) 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.
|role<class>=
If game modes with different roles are played.
|qualifier=
How the team qualified for the event, i.e. "Invited". Can also be a link.

Example

{{6sTeamCard
|team=Epsilon
|image=Epsilon.jpeg
|imagesize=140x140px
|scout1=kileR4fuNN |scout1flag=pt
|scout2=basH. |scout2flag=de
|pocket=Mike |pocketflag=wa
|roamer=Tek |roamerflag=fr
|demoman=WARHURYEAH |demomanflag=en
|medic=KnOxXx |medicflag=fr
|notes= 
}}
Epsilon
Scout  Portugal kileR4fuNN 
Scout  Germany basH.
Roamer  France Tek
Pocket  Wales Mike
Demoman  England WARHURYEAH
Medic  France KnOxXx


Code

Typical
{{6sTeamCard
|team=
|image=
|scout1= |scout1flag=
|scout2= |scout2flag=
|pocket= |pocketflag=
|roamer= |roamerflag=
|demoman= |demomanflag=
|medic= |medicflag=
|qualifier=
}}
All variables
{{6sTeamCard
|team=
|link=
|ref=
|image=
|imagesize=
|notes=
|scout1= |scout1flag=
|scout2= |scout2flag=
|pocket= |pocketflag=
|roamer= |roamerflag=
|demoman= |demomanflag=
|medic= |medicflag=
|qualifier=
}}