Template:Infobox2012/doc: Difference between revisions

From Hattrick
Jump to navigationJump to search
Para Para (talk | contribs)
No edit summary
Para Para (talk | contribs)
No edit summary
Line 1: Line 1:
==Usage==
==Usage==
<pre>
<pre>
{{infobox2012
{{Infobox2012
| teamname =
| lastedit =  
| clubname =  
| teamid  =  
| teamid  =  
| logourl  =  
| clubname = <!--required-->
| manager  =  
| teamname = <!--clubname alternative-->
| htuser  =  
| logourl  = <!--[[image: |200px]]-->
| htuser  = <!--active link-->
| manager  = <!--htuser alternative, no link-->
| nickname = <!--short name on match page-->
| fullname =  
| fullname =  
| shortname=  
| shortname=  
| nickname =
| region  =  
| region  =  
| country  =  
| country  = <!--NAT code-->
| continent=  
| continent=  
| founded  =  
| founded  =  
Line 19: Line 20:
| fanclub  =  
| fanclub  =  
| fansize  =  
| fansize  =  
| kit1    =  
| kit1    =
| kit2     =  
| kit2     =
| yteam    =
| yarena  =  
| prizeshelf =  
| prizeshelf =  
| title    = <!--competition name-->
| wintitle = <!--competition edition-->
| before  = <!--winner before-->
| after    = <!--winner after-->
}}
}}
</pre>
</pre>
== Parameters==
==Help==
Almost all of the parameters are optional and will show in the template only when given a non-empty value.
Copy parameters at the very beginning of team page and compile to show the club box on the right.
; * teamname = clubname (The name of team)
; The only required sectors is club name, other parameters are optional and will show in the template only when given a non-empty value.
; ** manager for inactive link & htuser for active link)
 
TITLE highlight (last 4 parameters) is an optional separeted box for notable club victories.

Revision as of 07:54, 13 August 2012

Usage

{{Infobox2012
| lastedit = 
| teamid   = 
| clubname = <!--required-->
| teamname = <!--clubname alternative-->
| logourl  = <!--[[image: |200px]]-->
| htuser   = <!--active link-->
| manager  = <!--htuser alternative, no link-->
| nickname = <!--short name on match page-->
| fullname = 
| shortname= 
| region   = 
| country  = <!--NAT code-->
| continent= 
| founded  = 
| arena    = 
| seats    = 
| fanclub  = 
| fansize  = 
| kit1     =  
| kit2     = 
| yteam    = 
| yarena   = 
| prizeshelf = 
| title    = <!--competition name-->
| wintitle = <!--competition edition-->
| before   = <!--winner before-->
| after    = <!--winner after-->
}}

Help

Copy parameters at the very beginning of team page and compile to show the club box on the right.

The only required sectors is club name, other parameters are optional and will show in the template only when given a non-empty value.

TITLE highlight (last 4 parameters) is an optional separeted box for notable club victories.