Template:Infobox club/doc: Difference between revisions
From Hattrick
Jump to navigationJump to search
Created page with '==Usage== <pre> {{infobox club | teamname = | teamid = | logouri = | manager = | fullname = | shortname = | nickname = | region = | country = | league = | leagu…' |
mNo edit summary |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 21: | Line 21: | ||
| fanclub-size = | | fanclub-size = | ||
| founded = | | founded = | ||
| homekit = | |||
| awaykit = | |||
| thirdkit = | |||
}} | }} | ||
</pre> | </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. | |||
;homekit: The current club home kit. should be in the form of '''<nowiki>[[File:Filename.png|125px]]]</nowiki>''' | |||
;awaykit: The current club away kit. should be in the form of '''<nowiki>[[File:Filename.png|125px]]</nowiki>''' | |||
;thirdkit: The current club third kit. should be in the form of '''<nowiki>[[File:Filename.png|125px]]</nowiki>''' | |||
==Alternative parameters== | ==Alternative parameters== | ||
; | ;manager: can be replaced with '''htuser''' to directly link the user into his HT-wiki user page. | ||
<noinclude> | <noinclude> | ||
[[Category:Template documentation]] | [[Category:Template documentation]] | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
[[Category:Club templates]] | [[Category:Club templates|Infobox club]] | ||
[[Category:Infobox templates|Team]] | |||
</includeonly> | </includeonly> | ||
Latest revision as of 09:41, 14 May 2020
Usage
{{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 =
| homekit =
| awaykit =
| thirdkit =
}}
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 [[File:Filenam]] 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.
- homekit
- The current club home kit. should be in the form of [[File:Filename.png|125px]]]
- awaykit
- The current club away kit. should be in the form of [[File:Filename.png|125px]]
- thirdkit
- The current club third kit. should be in the form of [[File:Filename.png|125px]]
Alternative parameters
- manager
- can be replaced with htuser to directly link the user into his HT-wiki user page.