Difference between revisions of "Template:HLTeamCard/doc"
Jump to navigation
Jump to search
Highpander
m (→Code: Corrected pyro variables) |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 18: | Line 18: | ||
;|<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>= | ||
| + | :If a team has different roles. E.g. <code><nowiki>|rolesoldier={{Icon|roamer}}</nowiki></code> will show the {{Icon|roamer}} roamer icon in place of the {{Icon|soldier}} soldier 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 28: | Line 30: | ||
|soldier=zoob |soldierflag=fi | |soldier=zoob |soldierflag=fi | ||
|pyro=Stevepander |pyroflag=uk | |pyro=Stevepander |pyroflag=uk | ||
| − | |demoman=Hildreth |demomanflag= | + | |demoman=Hildreth |demomanflag=uk |
|heavy=Polk |heavyflag=us | |heavy=Polk |heavyflag=us | ||
|engineer=nijoonen |engineerflag=se | |engineer=nijoonen |engineerflag=se | ||
| Line 42: | Line 44: | ||
|soldier=zoob |soldierflag=fi | |soldier=zoob |soldierflag=fi | ||
|pyro=Stevepander |pyroflag=uk | |pyro=Stevepander |pyroflag=uk | ||
| − | |demoman=Hildreth |demomanflag= | + | |demoman=Hildreth |demomanflag=uk |
|heavy=Polk |heavyflag=us | |heavy=Polk |heavyflag=us | ||
|engineer=nijoonen |engineerflag=se | |engineer=nijoonen |engineerflag=se | ||
| Line 77: | Line 79: | ||
|imagesize= | |imagesize= | ||
|notes= | |notes= | ||
| − | |scout= |scoutflag= | + | |scout= |scoutflag= |rolescout= |
| − | |soldier= |soldierflag= | + | |soldier= |soldierflag= |rolesoldier= |
| − | |pyro= |pyroflag= | + | |pyro= |pyroflag= |rolepyro= |
| − | |demoman= |demomanflag= | + | |demoman= |demomanflag= |roledemoman= |
| − | |heavy= |heavyflag= | + | |heavy= |heavyflag= |roleheavy= |
| − | |engineer= |engineerflag= | + | |engineer= |engineerflag= |roleengineer= |
| − | |medic= |medicflag= | + | |medic= |medicflag= |rolemedic= |
| − | |sniper= |sniperflag= | + | |sniper= |sniperflag= |rolesniper= |
| − | |spy= |spyflag= | + | |spy= |spyflag= |rolespy= |
|qualifier= | |qualifier= | ||
}} | }} | ||
</pre> | </pre> | ||
{{Box|end}} | {{Box|end}} | ||
Latest revision as of 05:11, 20 April 2020
Template meant to be used when presenting a Highlander 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.
- |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 245x165px, can use the regular image size input ways of just width (245px) or height (x165px) 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.
- |role<class>=
- If a team has different roles. E.g.
|rolesoldier={{Icon|roamer}}will show the
roamer icon in place of the
soldier icon. - |qualifier=
- How the team qualified for the event, i.e. "Invited". Can also be a link.
Example[edit]
{{HLTeamCard
|team=Highpander
|image=Highpander.png
|scout=Kissakala |scoutflag=fi
|soldier=zoob |soldierflag=fi
|pyro=Stevepander |pyroflag=uk
|demoman=Hildreth |demomanflag=uk
|heavy=Polk |heavyflag=us
|engineer=nijoonen |engineerflag=se
|medic=Sprayer |medicflag=li
|sniper=phromelo |sniperflag=pl
|spy=Grenjabob |spyflag=uk
|notes=
}}
| Error creating thumbnail: Unable to save thumbnail to destination Kissakala
| |
| Error creating thumbnail: Unable to save thumbnail to destination zoob
| |
| Error creating thumbnail: Unable to save thumbnail to destination Stevepander
| |
| Error creating thumbnail: Unable to save thumbnail to destination Hildreth
| |
| Error creating thumbnail: Unable to save thumbnail to destination Polk
| |
| Error creating thumbnail: Unable to save thumbnail to destination nijoonen
| |
| Error creating thumbnail: Unable to save thumbnail to destination Sprayer
| |
| Error creating thumbnail: Unable to save thumbnail to destination phromelo
| |
| Error creating thumbnail: Unable to save thumbnail to destination Grenjabob
|
Code[edit]
- Typical
{{HLTeamCard
|team=
|image=
|scout= |scoutflag=
|soldier= |soldierflag=
|pyro= |pyroflag=
|demoman= |demomanflag=
|heavy= |heavyflag=
|engineer= |engineerflag=
|medic= |medicflag=
|sniper= |sniperflag=
|spy= |spyflag=
}}
- All variables
{{HLTeamCard
|team=
|link=
|ref=
|image=
|imagesize=
|notes=
|scout= |scoutflag= |rolescout=
|soldier= |soldierflag= |rolesoldier=
|pyro= |pyroflag= |rolepyro=
|demoman= |demomanflag= |roledemoman=
|heavy= |heavyflag= |roleheavy=
|engineer= |engineerflag= |roleengineer=
|medic= |medicflag= |rolemedic=
|sniper= |sniperflag= |rolesniper=
|spy= |spyflag= |rolespy=
|qualifier=
}}