Difference between revisions of "Template:6sTeamCard/doc"
Jump to navigation
Jump to search
m (Removed ambox, added more details) |
|||
(12 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[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 | + | Template meant to be used when presenting a 6 man team on a tournament page. With only logo displayed until it's hovered and the roster is revealed. |
== Usage == | == Usage == | ||
Line 6: | Line 6: | ||
;|team= | ;|team= | ||
;|link= | ;|link= | ||
− | :Name of the team and link to the page if | + | :Name of the team and link to the page if different. If set to <code>0</code>, no link will show. |
;|ref= | ;|ref= | ||
:To be used to insert a reference if there was some change with the team or whatever. | :To be used to insert a reference if there was some change with the team or whatever. | ||
Line 12: | Line 12: | ||
:Image file link (no File: or Image: before this) | :Image file link (no File: or Image: before this) | ||
;|imagesize= | ;|imagesize= | ||
− | :Max size is | + | :Max size is 140x140px, can use the regular image size input ways of just width (140px) or height (x140px) 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. | ||
+ | ;|<class>team= | ||
+ | :Player's main team if playing on a secondary team (e.g. national teams). Must have main team's proper capitalisation. | ||
+ | ;|<class>teamimg= | ||
+ | :Alternate image file to be used for main team icon. | ||
;|role<class>= | ;|role<class>= | ||
− | :If a team has different roles | + | :If a team has different roles. E.g. <code><nowiki>|rolepocket={{Icon|pyro}}</nowiki></code> will show the {{Icon|pyro}} pyro icon in place of the {{Icon|pocket}} pocket icon. |
+ | ;|coach= | ||
+ | :If a team has a coach/7th player. Can be used with <code>|coachflag=</code> and <code>|rolecoach=</code> just like the other player parameters. E.g. set <code><nowiki>|rolecoach={{abbr|S|Substitute}}</nowiki></code> to show "'''{{abbr|S|Substitute}}'''" instead of the coach icon. | ||
;|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. | ||
Line 31: | Line 37: | ||
|scout1=kileR4fuNN |scout1flag=pt | |scout1=kileR4fuNN |scout1flag=pt | ||
|scout2=basH. |scout2flag=de | |scout2=basH. |scout2flag=de | ||
− | |||
|roamer=Tek |roamerflag=fr | |roamer=Tek |roamerflag=fr | ||
− | |demoman=WARHURYEAH |demomanflag= | + | |pocket=Mike |pocketflag=uk |
+ | |demoman=WARHURYEAH |demomanflag=uk | ||
|medic=KnOxXx |medicflag=fr | |medic=KnOxXx |medicflag=fr | ||
|notes= | |notes= | ||
Line 43: | Line 49: | ||
|scout1=kileR4fuNN |scout1flag=pt | |scout1=kileR4fuNN |scout1flag=pt | ||
|scout2=basH. |scout2flag=de | |scout2=basH. |scout2flag=de | ||
− | |||
|roamer=Tek |roamerflag=fr | |roamer=Tek |roamerflag=fr | ||
− | |demoman=WARHURYEAH |demomanflag= | + | |pocket=Mike |pocketflag=uk |
+ | |demoman=WARHURYEAH |demomanflag=uk | ||
|medic=KnOxXx |medicflag=fr | |medic=KnOxXx |medicflag=fr | ||
}} | }} | ||
Line 57: | Line 63: | ||
|scout1= |scout1flag= | |scout1= |scout1flag= | ||
|scout2= |scout2flag= | |scout2= |scout2flag= | ||
+ | |roamer= |roamerflag= | ||
|pocket= |pocketflag= | |pocket= |pocketflag= | ||
− | |||
|demoman= |demomanflag= | |demoman= |demomanflag= | ||
|medic= |medicflag= | |medic= |medicflag= | ||
Line 72: | Line 78: | ||
|imagesize= | |imagesize= | ||
|notes= | |notes= | ||
− | |scout1= |scout1flag= | + | |scout1= |scout1flag= |rolescout1= |scout1team= |scout1teamimg= |
− | |scout2= |scout2flag= | + | |scout2= |scout2flag= |rolescout2= |scout2team= |scout2teamimg= |
− | |pocket= |pocketflag= | + | |roamer= |roamerflag= |roleroamer= |roamerteam= |roamerteamimg= |
− | | | + | |pocket= |pocketflag= |rolepocket= |pocketteam= |pocketteamimg= |
− | |demoman= |demomanflag= | + | |demoman= |demomanflag= |roledemoman= |demomanteam= |demomanteamimg= |
− | |medic= |medicflag= | + | |medic= |medicflag= |rolemedic= |medicteam= |medicteamimg= |
+ | |coach= |coachflag= |rolecoach= | ||
|qualifier= | |qualifier= | ||
}} | }} | ||
</pre> | </pre> |
Latest revision as of 05:12, 20 April 2020
Credit to Liquipedia
Template meant to be used when presenting a 6 man team on a tournament page. With only logo displayed until it's hovered and the roster is revealed.
Usage[edit]
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 different. If set to
0
, no link will show. - |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 140x140px, can use the regular image size input ways of just width (140px) or height (x140px) 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.
- |<class>team=
- Player's main team if playing on a secondary team (e.g. national teams). Must have main team's proper capitalisation.
- |<class>teamimg=
- Alternate image file to be used for main team icon.
- |role<class>=
- If a team has different roles. E.g.
|rolepocket={{Icon|pyro}}
will show the pyro icon in place of the pocket icon. - |coach=
- If a team has a coach/7th player. Can be used with
|coachflag=
and|rolecoach=
just like the other player parameters. E.g. set|rolecoach={{abbr|S|Substitute}}
to show "S" instead of the coach icon. - |qualifier=
- How the team qualified for the event, i.e. "Invited". Can also be a link.
Example[edit]
{{6sTeamCard |team=Epsilon |image=Epsilon.jpeg |imagesize=140x140px |scout1=kileR4fuNN |scout1flag=pt |scout2=basH. |scout2flag=de |roamer=Tek |roamerflag=fr |pocket=Mike |pocketflag=uk |demoman=WARHURYEAH |demomanflag=uk |medic=KnOxXx |medicflag=fr |notes= }}
Code[edit]
- Typical
{{6sTeamCard |team= |image= |scout1= |scout1flag= |scout2= |scout2flag= |roamer= |roamerflag= |pocket= |pocketflag= |demoman= |demomanflag= |medic= |medicflag= |qualifier= }}
- All variables
{{6sTeamCard |team= |link= |ref= |image= |imagesize= |notes= |scout1= |scout1flag= |rolescout1= |scout1team= |scout1teamimg= |scout2= |scout2flag= |rolescout2= |scout2team= |scout2teamimg= |roamer= |roamerflag= |roleroamer= |roamerteam= |roamerteamimg= |pocket= |pocketflag= |rolepocket= |pocketteam= |pocketteamimg= |demoman= |demomanflag= |roledemoman= |demomanteam= |demomanteamimg= |medic= |medicflag= |rolemedic= |medicteam= |medicteamimg= |coach= |coachflag= |rolecoach= |qualifier= }}