Template:Infobox club: Difference between revisions
From Hattrick
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<table class="infobox" style="float:right; font-size:88%;"><!-- | <includeonly><table class="infobox" style="float:right; font-size:88%;"><!-- | ||
=== Names and Id's === | === Names and Id's === | ||
-->{{#if:{{{teamname|{{{clubname|}}}}}}|<caption>'''{{{teamname|{{{clubname}}}}}}'''<!-- | -->{{#if:{{{teamname|{{{clubname|}}}}}}|<caption>'''{{{teamname|{{{clubname}}}}}}'''<!-- | ||
-->{{#if:{{{teamid|}}}| <span class="plainlinks">([https://www.hattrick.org/Club/?TeamID={{{teamid}}} {{{teamid}}}])</span>|}}<!-- | -->{{#if:{{{teamid|}}}| <span class="plainlinks">([https://www.hattrick.org/Club/?TeamID={{{teamid}}} {{{teamid}}}])</span>|}}<!-- | ||
--></caption>|}}<!-- | --></caption>|}}<!-- | ||
| Line 53: | Line 53: | ||
=== Kits === | === Kits === | ||
-->{{#if:{{{homekit||{{{awaykit|}}}}}}|<tr><td align=center colspan=2 style="background: #ddd; border:1px #aaa solid">'''Team Kits'''</td></tr>}}{{#if:{{{homekit||{{{awaykit|}}}}}}|<tr><td align=center colspan=2>{{{homekit}}} {{{awaykit}}}</td></tr>}}<!-- | -->{{#if:{{{homekit||{{{awaykit|}}}}}}|<tr><td align=center colspan=2 style="background: #ddd; border:1px #aaa solid">'''Team Kits'''</td></tr>}}{{#if:{{{homekit||{{{awaykit|}}}}}}|<tr><td align=center colspan=2>{{{homekit}}} {{{awaykit}}}</td></tr>}}<!-- | ||
--></table><noinclude> | --></table></includeonly><noinclude> | ||
{{ | |||
== Copy/paste == | |||
<pre> | |||
{{Infobox club | |||
| teamname = | |||
| teamid = | |||
| logouri = | |||
| htuser = | |||
| fullname = | |||
| shortname = | |||
| nickname = | |||
| region = | |||
| country = | |||
| league = | |||
| league-pos = | |||
| league-pos-last = | |||
| arena = | |||
| capacity = | |||
| coach = | |||
| coach-nat = | |||
| fanclub = | |||
| fanclub-size = | |||
| founded = | |||
| homekit = | |||
| awaykit = | |||
}} | |||
</pre> | |||
The <code>manager</code> parameter may be used instead of <code>htuser</code> when the manager name should not link to a Hattrick Wiki user page. | |||
== Example == | |||
<pre> | |||
{{Infobox club | |||
| teamname = Nashville FC | |||
| teamid = 229554 | |||
| logouri = [[File:229554.png|200px]] | |||
| 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]] | |||
}} | |||
</pre> | |||
</noinclude> | </noinclude> | ||
Revision as of 13:15, 18 August 2026
Copy/paste
{{Infobox club
| teamname =
| teamid =
| logouri =
| htuser =
| fullname =
| shortname =
| nickname =
| region =
| country =
| league =
| league-pos =
| league-pos-last =
| arena =
| capacity =
| coach =
| coach-nat =
| fanclub =
| fanclub-size =
| founded =
| homekit =
| awaykit =
}}
The manager parameter may be used instead of htuser when the manager name should not link to a Hattrick Wiki user page.
Example
{{Infobox club
| teamname = Nashville FC
| teamid = 229554
| logouri = [[File:229554.png|200px]]
| 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]]
}}