Template:TeamCard

From Liquipedia Dota 2 Wiki

Documentation (view - edit)

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) (Optional, if not specified, the image on the team page's infobox is used)
|size=
Max size should be smaller than 199x129px (when 5 playes only. if with more players, coaches, preview or placement, the number of height could be larger). can use the regular image size input ways of just width (199px) or height (x129px) to make the image fit into the template.
|pX=
|pXlink=
Player name and page link if different from the name.
|pXflag=
Optional, the template will auto call player's nationality from player page prior, nationality/flag only 2 letter code in lower case is needed.
|pXpreview=
Optional link to a player preview.
|c=
|clink=
Coach name and page link if different from the name. (Use c2 and c2link for an eventual second coach.)
|cflag=
Coach nationality/flag only 2 letter code in lower case is needed. (Use c2flag for an eventual second coach.)
|cpreview=
Optional link to a coach preview. (Use c2preview for an eventual second coach.)
|posX=
Optional but if you want to change the position if the player has more than one position.

Example

{{TeamCard
|team=Alliance
|p1=Loda 
|p2=s4 
|p3=AdmiralBulldog
|p4=EGM 
|p5=Akke 
}}
Alliance
1Sweden Loda 
2Sweden s4 
3Sweden AdmiralBulldog 
4Sweden EGM 
5Sweden Akke 

Code

Typical
{{TeamCard
|team=TBD
|p1=
|p2=
|p3=
|p4=
|p5=
}}
Typical with one coach
{{TeamCard
|team=TBD
|p1=
|p2=
|p3=
|p4=
|p5=
|c=
}}
All variables
{{TeamCard
|team=TBD
|link=
|ref=
|image=
|size=
|p1flag= |p1= |p1link= |pos1=
|p2flag= |p2= |p2link= |pos2=
|p3flag= |p3= |p3link= |pos3=
|p4flag= |p4= |p4link= |pos4=
|p5flag= |p5= |p5link= |pos5=
|cflag= |c= |clink=
|c2flag= |c2= |c2link=
}}