Difference between revisions of "Template:TeamCard"

From QWiki
m
m
 
(7 intermediate revisions by the same user not shown)
Line 610: Line 610:
 
</table>
 
</table>
 
</div>
 
</div>
</div>}}
+
</div>}}{{#set: Has team={{{team|}}} }}
{{#set:
+
{{#set: Has logo=File:{{{image|}}} }}
Has team={{{team|}}};
+
</includeonly><noinclude>[[Category:Templates]]{{Documentation}}</noinclude>
Has logo={{{image|}}}
 
}}
 
[[Category:Teams]]</includeonly><noinclude>[[Category:Templates]]{{Documentation}}</noinclude>
 

Latest revision as of 20:06, 3 May 2025

Documentation (view - edit)

Template meant to be used when presenting a 1-24 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 24, 1 is the top row and 24 the bottom.

|team=
|link=
Name of the team and link to the page if this is different.
|number=
Number of player rows to display. Default 4.
|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.
|pX=
|pXlink=
Player name and page link if different from the name. Leave empty for "TBD".
|pXflag=
Player nationality/flag only 2 letter code in lower case is needed. Leave empty for "TBD".
|qualifier=
How the team qualified for the event, i.e. "Invited". Can also be a used for "Seed 5" or whatever.
|notes=
Superscript text that appears next to the team name.

Example

Sweden Suddendeath


{{TeamCard
|team=Suddendeath
|link=
|number=4
|flag=se
|image=S-logo-shortteam.png
|imagesize=120px
|p1flag=se |p1=bps
|p2flag=se |p2=carapace
|p3flag=se |p3=goblin
|p4flag=se |p4=andeh
}}
Norway The Axemen


{{TeamCard
|number=6
|team=The Axemen
|link=
|flag=no
|image=Axemen logo.png
|imagesize=130px
|p1flag=no |p1=Timmi
|p2flag=no |p2=TheChosenOne
|p3flag=no |p3=Baresi
|p4flag=no |p4=PreMortem
|p5flag=no |p5=tr0ll
|p6flag=no |p6=Macisum
}}

Code

Typical
{{TeamCard
|team=
|number=
|flag=
|image=
|imagesize=120px
|p1flag= |p1=
|p2flag= |p2=
|p3flag= |p3=
|p4flag= |p4=
|p5flag= |p5=
|p6flag= |p6=
}}
All variables
{{TeamCard
|team=
|number=
|flag=
|image=
|imagesize=120px
|p1flag= |p1= |p1link=
|p2flag= |p2= |p2link=
|p3flag= |p3= |p3link=
|p4flag= |p4= |p4link=
|p5flag= |p5= |p5link=
|p6flag= |p6= |p6link=
|p7flag= |p7= |p7link=
|p8flag= |p8= |p8link=
|p9flag= |p9= |p9link=
|p10flag= |p10= |p10link=
|p11flag= |p11= |p11link=
|p12flag= |p12= |p12link=
|p13flag= |p13= |p13link=
|p14flag= |p14= |p14link=
|p15flag= |p15= |p15link=
|p16flag= |p16= |p16link=
|p17flag= |p17= |p17link=
|p18flag= |p18= |p18link=
|p19flag= |p19= |p19link=
|p20flag= |p20= |p20link=
|p21flag= |p21= |p21link=
|p23flag= |p22= |p22link=
|p23flag= |p23= |p23link=
|p24flag= |p24= |p24link=
|qualifier=
|notes=
}}