Template:Infobox club

From Hattrick
Revision as of 16:19, 19 August 2026 by Dalepopp (talk | contribs)
Jump to navigationJump to search


Copy/paste

{{Infobox club
| teamname        =
| teamid          =
| logouri         =
| logo-width      =
| htuser          =
| fullname        =
| shortname       =
| nickname        =
| region          =
| country         =
| league          =
| league-pos      =
| league-pos-last =
| arena           =
| capacity        =
| coach           =
| coach-nat       =
| fanclub         =
| fanclub-size    =
| founded         =
| homekit         =
| awaykit         =
| thirdkit        =
}}

The manager parameter may be used instead of htuser when the manager name should not link to a Hattrick Wiki user page.

The legacy arena-capacity parameter remains supported for backwards compatibility. New uses should use capacity.

For images uploaded to the Hattrick Wiki, only the filename needs to be entered:

| logouri = 229554.png

If the file exists on the Hattrick Wiki, the template automatically displays it as a wiki-hosted image.

Uploaded images are displayed at 210px wide by default. A different width may be specified with logo-width:

| logouri    = 229554.png
| logo-width = 250px

If logo-width is omitted or left blank, the image is displayed at 210px.

Existing complete wiki image markup remains supported for backwards compatibility and is displayed exactly as supplied:

| logouri = [[File:229554.png|200px]]

The older Image: namespace syntax also remains supported:

| logouri = [[Image:229554.png|200px]]

The namespace may also be supplied without brackets:

| logouri = File:229554.png

Remote-hosted images remain supported and are displayed as supplied:

| logouri = https://example.com/logo.png

A value of n/a is treated as no available logo and does not produce a logo row.

The logo-width parameter applies when the template creates the wiki image markup itself. Existing complete image markup and remote-hosted images retain their supplied formatting.

Coach

The coach name may be supplied by itself:

| coach = Tomi Aittakumpu

The coach's nationality may optionally be displayed with a flag:

| coach     = Tomi Aittakumpu
| coach-nat = Finland

Kits

The current home, away and third kits may be supplied using complete wiki image markup:

| homekit  = [[File:229554_home.png|125px]]
| awaykit  = [[File:229554_away.png|125px]]
| thirdkit = [[File:229554_goalkeeper.png|125px]]

Example

USA Nashville FC (229554)
Managed by Dalepopp
Club information
Full name Nashville Football Club
Nickname Boys In Gold
LocationTennessee,  USA
LeagueV.212
Last season3rd, V.212 (Season 94)
ArenaChris Jones Park
Capacity47,839
CoachTomi Aittakumpu
Fan ClubThe Roadies
Size2,484
Founded9 August 2022
Team Kits
{{Infobox club
| teamname        = Nashville FC
| teamid          = 229554
| logouri         = 229554.png
| htuser          = Dalepopp
| fullname        = Nashville Football Club
| nickname        = Boys In Gold
| region          = Tennessee
| country         = USA
| league          = V.212
| league-pos-last = 3rd, V.212 (Season 94)
| arena           = Chris Jones Park
| capacity        = 47,839
| coach           = Tomi Aittakumpu
| fanclub         = The Roadies
| fanclub-size    = 2,484
| founded         = 9 August 2022
| homekit         = [[File:229554_home.png|125px]]
| awaykit         = [[File:229554_away.png|125px]]
| thirdkit        = [[File:229554_goalkeeper.png|125px]]
}}