Template:Infobox club: Difference between revisions
From Hattrick
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
| Line 54: | Line 54: | ||
=== Kits === | === Kits === | ||
-->{{#if:{{{homekit|}}}{{{awaykit|}}}|<tr><td colspan="2"><hr /><td align="center">{{{homekit}}}</td><td align="center">{{{awaykit}}}</td></tr><tr><td align="center">'''Home Kit'''</td><td align="center">'''Away Kit'''</td></tr>|}}<!-- | -->{{#if:{{{homekit|}}}{{{awaykit|}}}|<tr><td colspan="2"><hr /><!-- | ||
--><td align="center">{{{homekit}}}</td><td align="center">{{{awaykit}}}</td></tr><tr><td align="center">'''Home Kit'''</td><td align="center">'''Away Kit'''</td></tr>|}}<!-- | |||
-->{{#if:{{{thirdkit|}}}|<tr><td colspan="2" align="center">{{{thirdkit}}}</td></tr><tr colspan="2" align="center"><td colspan="2" align="center">'''Third Kit'''</td></tr>|}}<!-- | -->{{#if:{{{thirdkit|}}}|<tr><td colspan="2" align="center">{{{thirdkit}}}</td></tr><tr colspan="2" align="center"><td colspan="2" align="center">'''Third Kit'''</td></tr>|}}<!-- | ||
--></table><noinclude> | --></table><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 09:51, 14 May 2020
[edit]
Template documentation
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.