Template:Infobox Team/doc: Difference between revisions

From Hattrick
Jump to navigationJump to search
Lleida (talk | contribs)
m Created page with '==Usage== <pre> {{infobox club | teamname = | teamid = | logouri = | manager = | fullname = | shortname = | nickname = | region = | country = | league = | league-pos = …'
 
Lleida (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Usage==
<div id="stub" style="background-color: #f9f9f9; border-top: 1px solid #aaaaaa; margin-top: 0.5em; clear: both; width: 100%; padding: 4px;">[[File:Geography.png]] ''Working in this template documentation. Thanks in advance for not editting.''</div>
<pre>
{{infobox club
| teamname =
| teamid =
| logouri =
| manager =
| fullname =  
| shortname =  
| nickname =
| region =
| country =
| league =
| league-pos =
| league-pos-last =
| arena =
| arena-capacity =
| coach =
| coach-nat =
| fanclub =
| fanclub-size =
| founded =
}}
</pre>
== Parameters==
Almost all of the parameters are optional and will show in the template only when given a non-empty value.
;teamname: The name of the team.
;teamid: The id number of the team in Hattrick.
;logouri: Address to the logo image. It is recommendable to use images uploaded to htwiki and use the '''<nowiki>[[File:Filenam]]</nowiki>''' syntax.
;manager: Username of the manager. Use parameter '''htuser''' if you want to link directly to the manager's user page in HT-wiki.
;fullname: Full, long name of the club.
;shortname: Short name of the club.
;nickname: Nickname of the club.
;region: Region the club plays in.
;country: The country the club plays in.
;league: The group the club plays in.
;league-pos: The current position of the club in the group.
;league-pos-last: The position the club finished after last season.
;arena: Name of the arena the club plays in.
;arena-capacity: The capacity of the club's arena.
;coach: Name of the coach training the club.
;coach-nat: Nationality of the coach.
;fanclub: Name of the club's fanclub.
;fanclub-size: Size of the club's fanclub.
;founded: When the club was founded.
 
==Alternative parameters==
;manager: can be replaced with '''htuser''' to directly link the user into his HT-wiki user page.
 
<noinclude>
<noinclude>
[[Category:Template documentation]]
</noinclude>
</noinclude>
<includeonly>
<includeonly>
[[Category:Club templates|Infobox Team]]
[[Category:Infobox templates|Team]]
</includeonly>
</includeonly>

Latest revision as of 11:53, 1 March 2012

Working in this template documentation. Thanks in advance for not editting.