Template:Infobox football club season: Difference between revisions
From Hattrick
Jump to navigationJump to search
No edit summary |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Infobox | <includeonly>{{Infobox | ||
| bodyclass = vcard | | bodyclass = vcard | ||
| title = {{{club|< | | title = {{#if:{{{country|}}}|{{flagicon|{{{country}}}}} }}{{#if:{{{club|}}}|[[{{{club}}}]]|{{PAGENAME}}}}{{#if:{{{teamid|}}}| <span class="plainlinks">([https://www.hattrick.org/Club/?TeamID={{{teamid}}} {{{teamid}}}])</span>}} | ||
| titleclass = fn org | | titleclass = fn org | ||
| above = {{#if:{{{season|}}}|{{{season|}}} | | above = {{#if:{{{season|}}}|Season {{{season|}}}}} | ||
| abovestyle = font-weight: normal; font-size: | | abovestyle = font-weight: normal; font-size: 105% | ||
| image = {{#if:{{{image|}}}|[[File:{{{image}}}|{{#if:{{{image_size|}}}|{{{image_size}}}|frameless}}|alt={{{alt|}}}]]}} | | image = {{#if:{{{image|}}}|[[File:{{{image}}}|{{#if:{{{image_size|}}}|{{{image_size}}}|frameless}}|alt={{{alt|}}}]]}} | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| Line 111: | Line 111: | ||
| belowstyle = font-size:smaller | | belowstyle = font-size:smaller | ||
| below = {{#if:{{{updated|}}}|All statistics correct as of {{{updated}}}.}} | | below = {{#if:{{{updated|}}}|All statistics correct as of {{{updated}}}.}} | ||
}}{{main other|{{#if:{{{captain|}}}|[[Category:Articles using infobox football club season with missing parameters|c{{PAGENAME}}]]}}{{#if:{{{kit|}}}|[[Category:Articles using infobox football club season with missing parameters|k{{PAGENAME}}]]}}{{#if:{{{kit_image1|}}}|[[Category:Articles using infobox football club season with missing parameters|k{{PAGENAME}}]]}}{{#if:{{{kit_image2|}}}|[[Category:Articles using infobox football club season with missing parameters|k{{PAGENAME}}]]}}{{#if:{{{kit_image3|}}}|[[Category:Articles using infobox football club season with missing parameters|k{{PAGENAME}}]]}}{{#if:{{{ground|}}}|[[Category:Articles using infobox football club season with missing parameters|g{{PAGENAME}}]]}}{{#if:{{{manager2|}}}|[[Category:Articles using infobox football club season with missing parameters|m2{{PAGENAME}}]]}}}} | }}{{main other| | ||
{{#if:{{{captain|}}}|[[Category:Articles using infobox football club season with missing parameters|c{{PAGENAME}}]]}} | |||
{{#if:{{{kit|}}}|[[Category:Articles using infobox football club season with missing parameters|k{{PAGENAME}}]]}} | |||
{{#if:{{{kit_image1|}}}|[[Category:Articles using infobox football club season with missing parameters|k{{PAGENAME}}]]}} | |||
{{#if:{{{kit_image2|}}}|[[Category:Articles using infobox football club season with missing parameters|k{{PAGENAME}}]]}} | |||
{{#if:{{{kit_image3|}}}|[[Category:Articles using infobox football club season with missing parameters|k{{PAGENAME}}]]}} | |||
{{#if:{{{ground|}}}|[[Category:Articles using infobox football club season with missing parameters|g{{PAGENAME}}]]}} | |||
{{#if:{{{manager2|}}}|[[Category:Articles using infobox football club season with missing parameters|m2{{PAGENAME}}]]}} | |||
}}</includeonly><noinclude> | |||
== Usage == | |||
Copy and paste the following into a club season page and fill in the applicable fields. The template automatically adds the country flag, links the club name to its main club page, and formats the Hattrick Team ID without an external-link icon. | |||
<pre> | |||
{{Infobox football club season | |||
| club = | |||
| country = | |||
| teamid = | |||
| season = | |||
| image = | |||
| image_size = 180 | |||
| alt = | |||
| owner = | |||
| chairman = | |||
| manager = | |||
| stadium = | |||
| league = | |||
| league result = | |||
| league2 = | |||
| league2 result = | |||
| cup1 = | |||
| cup1 result = | |||
| cup2 = | |||
| cup2 result = | |||
| cup3 = | |||
| cup3 result = | |||
| cup4 = | |||
| cup4 result = | |||
| cup5 = | |||
| cup5 result = | |||
| cup6 = | |||
| cup6 result = | |||
| cup7 = | |||
| cup7 result = | |||
| cup8 = | |||
| cup8 result = | |||
| league topscorer = | |||
| season topscorer = | |||
| highest attendance = | |||
| lowest attendance = | |||
| average attendance = | |||
| largest win = | |||
| largest loss = | |||
| prevseason = | |||
| nextseason = | |||
| updated = | |||
}} | |||
</pre> | |||
== Example == | |||
{{Infobox football club season | |||
| club = Nashville FC | |||
| country = USA | |||
| teamid = 229554 | |||
| season = 83 | |||
| image = 229554.png | |||
| image_size = 180 | |||
| alt = Nashville FC crest | |||
| manager = [[User:Dalepopp|dalepopp]] | |||
| stadium = Chris Jones Field | |||
| league = [[V.212]] | |||
| league result = 7th (directly demoted) | |||
| cup1 = [[US Open Cup]] | |||
| cup1 result = Round 2 | |||
| cup2 = [[Apollo Cup]] | |||
| cup2 result = Round 2 | |||
| league topscorer = [[Phil Roof]] (5) | |||
| highest attendance = 19,294 | |||
| lowest attendance = 13,853 | |||
| average attendance = 18,449 | |||
| largest win = 3–0 v [[New York Red]], 5 February 2023 | |||
| largest loss = 1–6 v [[Jamil's Stars]], 22 January 2023 | |||
| prevseason = [[Nashville FC/Season 82|Season 82]] | |||
| nextseason = [[Nashville FC/Season 84|Season 84]] | |||
}} | |||
<pre> | |||
{{Infobox football club season | |||
| club = Nashville FC | |||
| country = USA | |||
| teamid = 229554 | |||
| season = 83 | |||
| image = 229554.png | |||
| image_size = 180 | |||
| alt = Nashville FC crest | |||
| manager = [[User:Dalepopp|dalepopp]] | |||
| stadium = Chris Jones Field | |||
| league = [[V.212]] | |||
| league result = 7th (directly demoted) | |||
| cup1 = [[US Open Cup]] | |||
| cup1 result = Round 2 | |||
| cup2 = [[Apollo Cup]] | |||
| cup2 result = Round 2 | |||
| league topscorer = [[Phil Roof]] (5) | |||
| highest attendance = 19,294 | |||
| lowest attendance = 13,853 | |||
| average attendance = 18,449 | |||
| largest win = 3–0 v [[New York Red]], 5 February 2023 | |||
| largest loss = 1–6 v [[Jamil's Stars]], 22 January 2023 | |||
| prevseason = [[Nashville FC/Season 82|Season 82]] | |||
| nextseason = [[Nashville FC/Season 84|Season 84]] | |||
}} | |||
</pre> | |||
</noinclude> | |||
Latest revision as of 13:23, 18 August 2026
Usage
Copy and paste the following into a club season page and fill in the applicable fields. The template automatically adds the country flag, links the club name to its main club page, and formats the Hattrick Team ID without an external-link icon.
{{Infobox football club season
| club =
| country =
| teamid =
| season =
| image =
| image_size = 180
| alt =
| owner =
| chairman =
| manager =
| stadium =
| league =
| league result =
| league2 =
| league2 result =
| cup1 =
| cup1 result =
| cup2 =
| cup2 result =
| cup3 =
| cup3 result =
| cup4 =
| cup4 result =
| cup5 =
| cup5 result =
| cup6 =
| cup6 result =
| cup7 =
| cup7 result =
| cup8 =
| cup8 result =
| league topscorer =
| season topscorer =
| highest attendance =
| lowest attendance =
| average attendance =
| largest win =
| largest loss =
| prevseason =
| nextseason =
| updated =
}}
Example
| Season 83 | |||
|---|---|---|---|
![]() | |||
| Manager | dalepopp | ||
| Stadium | Chris Jones Field | ||
| V.212 | 7th (directly demoted) | ||
| US Open Cup | Round 2 | ||
| Apollo Cup | Round 2 | ||
| Top goalscorer | Phil Roof (5) | ||
| Highest home attendance | 19,294 | ||
| Lowest home attendance | 13,853 | ||
| Average home league attendance | 18,449 | ||
| Biggest win | 3–0 v New York Red, 5 February 2023 | ||
| Biggest defeat | 1–6 v Jamil's Stars, 22 January 2023 | ||
| |||
{{Infobox football club season
| club = Nashville FC
| country = USA
| teamid = 229554
| season = 83
| image = 229554.png
| image_size = 180
| alt = Nashville FC crest
| manager = [[User:Dalepopp|dalepopp]]
| stadium = Chris Jones Field
| league = [[V.212]]
| league result = 7th (directly demoted)
| cup1 = [[US Open Cup]]
| cup1 result = Round 2
| cup2 = [[Apollo Cup]]
| cup2 result = Round 2
| league topscorer = [[Phil Roof]] (5)
| highest attendance = 19,294
| lowest attendance = 13,853
| average attendance = 18,449
| largest win = 3–0 v [[New York Red]], 5 February 2023
| largest loss = 1–6 v [[Jamil's Stars]], 22 January 2023
| prevseason = [[Nashville FC/Season 82|Season 82]]
| nextseason = [[Nashville FC/Season 84|Season 84]]
}}
