Difference between revisions of "Template:6sTeamCard"
Jump to navigation
Jump to search
(Test and to be developed) |
m (mM -> Ma) |
||
Line 1: | Line 1: | ||
<noinclude> {{Ambox | <noinclude> {{Ambox | ||
|type = notice | |type = notice | ||
− | |header = Under | + | |header = Under Maintance}}</noinclude> |
<includeonly><div class="teamcard" style="position:relative; width:175px; height:{{#expr:140+{{#if:{{{placement|}}}|33|0}}+{{#if:{{{preview|}}}|27|0}}}}px;"> | <includeonly><div class="teamcard" style="position:relative; width:175px; height:{{#expr:140+{{#if:{{{placement|}}}|33|0}}+{{#if:{{{preview|}}}|27|0}}}}px;"> | ||
<center>{{#if:{{{team|}}}|'''[[{{{link|{{{team}}}}}}|{{{team}}}]]'''|'''TBD'''}}{{#if:{{{notes|}}}| <sup>{{{notes| }}}</sup>}}{{{ref|}}}</center> | <center>{{#if:{{{team|}}}|'''[[{{{link|{{{team}}}}}}|{{{team}}}]]'''|'''TBD'''}}{{#if:{{{notes|}}}| <sup>{{{notes| }}}</sup>}}{{{ref|}}}</center> |
Revision as of 18:12, 12 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)
- |size=
- 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
- |pX=
- |pXlink=
- Player name and page link if different from the name.
- |pXflag=
- Player nationality/flag only 2 letter code in lower case is needed.
- |roleX=
- Optional depending on squad if they have fixed roles or not, to be used together with these abbreviation templates: .
- |qualifier=
- How the team qualified for the event, i.e. "Invited". Can also be a link.
Example
{{TeamCard |team=Alliance |image=Alliance.png |size=119x119px |p1=Loda |p1flag=se |p2=S4 |p2flag=se |p3=AdmiralBulldog |p3flag=se |p4=EGM |p4flag=se |p5=Akke |p5flag=se }}
Code
- Typical
{{TeamCard |team= |image= |p1= |p1flag= |p2= |p2flag= |p3= |p3flag= |p4= |p4flag= |p5= |p5flag= |qualifier= }}
- All variables
{{TeamCard |team= |link= |ref= |image= |imagesize= |notes= |p1= |p1flag= |p1link= |role1= |p2= |p2flag= |p2link= |role2= |p3= |p3flag= |p3link= |role3= |p4= |p4flag= |p4link= |role4= |p5= |p5flag= |p5link= |role5= |qualifier= }}