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

From comp.tf
Jump to navigation Jump to search
m (teamcard -> 6steamcard)
m (Removed ambox, added more details)
Line 1: Line 1:
{{Ambox
 
|type = notice
 
|header = Under Maintance}}
 
 
 
[http://wiki.teamliquid.net/counterstrike/Template:TeamCard Credit to Liquipedia]<br />
 
[http://wiki.teamliquid.net/counterstrike/Template:TeamCard Credit to Liquipedia]<br />
 
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.  
 
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.  
Line 20: Line 16:
 
:Superscript text that appears next to the team name.
 
:Superscript text that appears next to the team name.
 
;|<class>=
 
;|<class>=
:Player name.
+
:Player name. If '''scout2''', '''pocket''', '''roamer''', '''demoman''' and '''medic''' are not filled, they will not appear on the card.
 
;|<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>=  
 
;|role<class>=  
:If game modes with different roles are played.
+
:If a team has different roles, preferably in this format: ''<nowiki>[[File:</nowiki>'''class'''<nowiki>icon.png]] [[</nowiki>'''class'''<nowiki>]]</nowiki>''
 
;|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.

Revision as of 16:16, 20 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. If scout2, pocket, roamer, demoman and medic are not filled, they will not appear on the card.
|<class>flag=
Player nationality/flag only 2 letter code in lower case is needed.
|role<class>=
If a team has different roles, preferably in this format: [[File:classicon.png]] [[class]]
|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=
}}