Difference between revisions of "Template:TH/doc"

From QWiki
(Added and freshened up doc)
 
m (Added info on flags)
Line 20: Line 20:
 
<code>|tryout</code> = ''(Tryout)''
 
<code>|tryout</code> = ''(Tryout)''
  
 +
;|flag=
 +
:Defaulting to none, use the 2 letter iso code for the country to show flag.
 
;|link=
 
;|link=
 
:If the name of the team and the page name on QWiki differ, use this variable to set the page link.
 
:If the name of the team and the page name on QWiki differ, use this variable to set the page link.

Revision as of 09:45, 20 March 2023

Usage

The variables are:

|1=
The first variable entered is the date, it will be italicized.
|2=
The second variable is the team name, it will be linked.
|3=
Third variable must be any of the values to the left in this list:

r = Retired
|retired = Retired
|teamless = Teamless
|inactive = (Inactive)
|analyst = (Analyst)
|coach = (Coach)
|stand-in = (Stand-in)
|backup = (Backup)
|substitute = (Substitute)
|manager = (Manager)
|trial = (Trial)
|tryout = (Tryout)

|flag=
Defaulting to none, use the 2 letter iso code for the country to show flag.
|link=
If the name of the team and the page name on QWiki differ, use this variable to set the page link.
|no-link=
If the team listed does not have a page on QWiki, set this variable to "true".

Example

{{TH|2015 - '''Present'''|Felia|link=Felia020}}
{{TH|2012 – 2013|The Viper Squad|inactive}}
{{TH|2011|Zetor}}

Returns these layouts.

2015 - Present
2012 – 2013
The Viper Squad (Inactive)
2011