Template:Infobox club2/doc: Difference between revisions

From Hattrick
Jump to navigationJump to search
Brishcanae (talk | contribs)
Created page with '===Usage=== <pre> {{Infobox football club |clubname = |image = |caption = |fullname = |nickname = |shortname = |founded = |dissolved…'
 
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===Usage===
===Usage===
<pre>
<pre>
{{Infobox football club
{{Infobox club2
|clubname      =  
| teamname =  
|image        =  
| teamid =  
|caption      =  
| logouri =  
|fullname     =
| fullname =  
|nickname      =  
| shortname =  
|shortname     =  
| motto =  
|founded      =  
| nickname =  
|dissolved    =  
| founded =  
|ground        =
| owner =  
|capacity      =
| htuser =
|owntitle      =  
| manager =
|owner         =
| ground =  
|chrtitle      =  
| colours =
|chairman      =
| capacity =
|mgrtitle      =  
| region =  
|manager       =  
| country =  
|kit manufacturer =  
| league =  
|main sponsor =  
| league-pos =
|league        =  
| league-pos-last =  
|season        =  
| coach =  
|position      =  
| coach-nat =  
|website      =  
| fanclub =  
|kit_alt1      =  
| fanclub-size =  
|pattern_la1  =
| homekit =
|pattern_b1    =
| awaykit =
|pattern_ra1  =
| thirdkit =
|pattern_sh1  =
|pattern_so1  =
|leftarm1      =
|body1        =
|rightarm1    =
|shorts1      =
|socks1        =
|kit_alt2      =
|pattern_la2  =
|pattern_b2    =
|pattern_ra2  =
|pattern_sh2  =
|pattern_so2  =
|leftarm2      =
|body2        =
|rightarm2    =
|shorts2      =
|socks2        =
|kit_alt3      =
|pattern_la3  =
|pattern_b3    =
|pattern_ra3  =
|pattern_sh3  =
|pattern_so3  =  
|pattern_name3 =  
|leftarm3      =  
|body3        =  
|rightarm3    =  
|shorts3      =  
|socks3        =  
|American      =  
}}
}}
</pre>
</pre>


===Example===
===Example===
{{Infobox football club
{{Infobox club2
|clubname    = Infobox Rovers
| teamname = Cebu United
|image      = [[File:Football.svg|200px]]
| teamid = 714086
|caption    = Infobox Rovers Football Club Logo
| logouri = [[File:Woot1.png|250px|]]
|fullname   = Infobox Rovers Football Club
| fullname = Cebu United Football Club
|nickname    = Templates
| shortname = CUFC
|shortname   =  
| motto = "Adversus adversis, actus rationalis"
|founded    = 2001 as ''Infobox Rovers''
| nickname = Golden Sergies
|dissolved  =  
| founded = 2003, as Rayo Laguna
|ground      = [[ANZ Stadium]]
| owner = Itong Family via Brishos Ltd.
|capacity    = 83,500
| manager = Tyrll Adolf Itong
|chairman    = [[Jimmy Wales]]
| ground = Sergio Osmeña Memorial Stadium
|mgrtitle    = Head Coach
| colours = Maroon, Yellow, White, Black <br /> {{Color box|#800000}} {{Color box|#FFCC00}} {{Color box|#FFFFFF}} {{Color box|#000000}}
|manager     = Templator Infoboxer
| capacity = 78500
|league      = Wikileague Annual
| region = Cebu
|season      = 2011–12
| country = Philippines
|position    = 1st
| league = II.3
|website    = http://en.wikipedia.org/
| league-pos =
|kit_alt1    = Yellow jersey with black sleeves
| league-pos-last = II.3, 2nd
|pattern_la1 =
| coach = Dimitri Caressa
|pattern_b1  =
| coach-nat = Italy
|pattern_ra1 =
| fanclub = Golden Sergies
|leftarm1    = 000000
| fanclub-size = 2936
|body1      = FFD700
| homekit =[[File:Cebu United FC Home Kit.png|125px]]
|rightarm1  = 000000
| awaykit =[[File:Cebu United FC Away Kit.png|125px]]
|shorts1    = 000000
| thirdkit =[[File:Cebu United FC Third Kit.png|125px]]
|socks1      = 000000
|kit_alt2    = Red and blue thin stripes
|pattern_la2 =  
|pattern_b2  = _fcbarcelona1112H
|pattern_ra2 =  
|pattern_sh2 = _fcbarcelona1112h
|pattern_so2 =
|leftarm2    = 0000BB
|body2      = 0000BB
|rightarm2  = 0000BB
|shorts2    = 0000BB
|socks2      = 0000BB
|kit_alt3    = Light gray jersey with blue left and pink right sleeves, light green shorts, rose-gray socks
|pattern_la3 =  
|pattern_b3  =  
|pattern_ra3 =
|pattern_sh3 =  
|pattern_so3 =
|leftarm3    = ffcccc
|body3      = cccccc
|rightarm3  = ccccff
|shorts3    = ccffcc
|socks3      = ddcccc
}}
}}
<br clear="all">
<pre><nowiki>
{{Infobox football club
|clubname    = Infobox Rovers
|image      = [[File:Football.svg]]
|caption    = Infobox Rovers Football Club Logo
|fullname    = Infobox Rovers Football Club
|nickname    = Templates
|shortname  =
|founded    = 2001 as ''Infobox Rovers''
|dissolved  =
|ground      = [[ANZ Stadium]]
|capacity    = 83,500
|chairman    = [[Jimmy Wales]]
|mgrtitle    = Head Coach
|manager    = Templator Infoboxer
|league      = Wikileague Annual
|season      = 2011-12 Wikileague Annual
|position    = 1st
|website    = http://en.wikipedia.org/
|kit_alt1    = Yellow jersey with black sleeves
|pattern_la1 =
|pattern_b1  =
|pattern_ra1 =
|leftarm1    = 000000
|body1      = FFD700
|rightarm1  = 000000
|shorts1    = 000000
|socks1      = 000000
|kit_alt2    = Red and blue thin stripes
|pattern_la2 =
|pattern_b2  = _fcbarcelona1112H
|pattern_ra2 =
|pattern_sh2 = _fcbarcelona1112h
|pattern_so2 =
|leftarm2    = 0000BB
|body2      = 0000BB
|rightarm2  = 0000BB
|shorts2    = 0000BB
|socks2      = 0000BB
|kit_alt3    = Light gray jersey with blue left and pink right sleeves, light green shorts, rose-gray socks
|pattern_la3 =
|pattern_b3  =
|pattern_ra3 =
|pattern_sh3 =
|pattern_so3 =
|leftarm3    = ffcccc
|body3      = cccccc
|rightarm3  = ccccff
|shorts3    = ccffcc
|socks3      = ddcccc
}}</nowiki></pre>
===Parameters===
===Parameters===
All parameters are optional.
All parameters are optional.


*'''teamname''' &mdash; The commonly-used name of the club.
*'''teamid''' &mdash; The club's Hattrick ID.
*'''logouri''' &mdash; The official badge/logo of the club.
*'''fullname''' &mdash; The club's complete name.
*'''fullname''' &mdash; The club's complete name.
*'''founded''' &mdash; The year the club was founded.  Should not be wikilinked.
*'''shortname''' &mdash; The club's short name.
*'''clubname''' &mdash; The commonly-used name of the club.
*'''nickname''' &mdash; The club's '''most common''' nickname.  Extensive lists of nicknames can be discussed in the article itself and the author should use their judgement to select the most appropriate entry for this parameter.
*'''motto''' &mdash; The official motto of the club, if there is any.
*'''teamname''' &mdash; The club's common name.
*'''founded''' &mdash; The year the club was founded and its original name.  Should not be wikilinked.
*'''owner''' &mdash; The name of the club's owner. Use parameter '''htuser''' if you want to link directly to the manager's user page in HT-wiki.
*'''htuser''' &mdash; The Hattrick username of the club's owner. Do not use this if you are using parameter '''owner'''.
*'''manager''' &mdash; The name of the club's manager.
*'''ground''' &mdash; The name of the club's home ground.
*'''ground''' &mdash; The name of the club's home ground.
*'''colours''' &mdash; the official colours of the club. should be in the form of '''<nowiki> Color 1, Color 2, Color 3, etc. <br /> {{Color box|#FFFFFF}} {{Color box|#CCCCCC}} {{Color box|#ABABAB}} {{Color box|#000000}}</nowiki>''''
*'''capacity''' &mdash; The capacity of the club's home ground.
*'''capacity''' &mdash; The capacity of the club's home ground.
*'''image''' &mdash; The official badge/logo of the club. The "<code>|alt=''alt text''</code>" is for [[WP:ACCESSIBILITY]] for the visually impaired; see [[WP:ALT]].
*'''region''' &mdash; The region the club belongs.
*'''caption''' &mdash; Caption for image, if provided.
*'''country''' &mdash; The country the club belongs.
*'''nickname''' &mdash; The club's '''most common''' nickname.  Extensive lists of nicknames can be discussed in the article itself and the author should use their judgement to select the most appropriate entry for this parameter.
*'''league''' &mdash; The league the club belongs.
*'''shortname''' &mdash; A commonly-used abbreviated name for the club.
*'''league-pos''' &mdash; The current league position of the club.
*'''dissolved''' &mdash; The year the club was dissolved.  Should not be wikilinked.
*'''league-pos-last''' &mdash; The last league position and league the club belonged.
*'''owntitle''' &mdash; The job title of the owner of the club, e.g. "Owner"
*'''coach''' &mdash; The name of the club's current coach.
*'''owner''' &mdash; The name of the club's owner. Wikilinked only if an article already exists, or one is likely to be created.
*'''coach-nat''' &mdash; The nationality of the club's current coach.
*'''chrtitle''' &mdash; The job title of the chairman of the club, e.g. "Chairman", "President"
*'''coach''' &mdash; The name of the club's current coach.
*'''chairman''' &mdash; The name of the club's chairman. Wikilinked only if an article already exists, or one is likely to be created.
*'''fanclub''' &mdash; The name of the fan club of the club.
*'''mgrtitle''' &mdash; The job title of the person in charge of first team affairs, e.g. "Manager", "Head Coach".
*'''fan-club size''' &mdash; The current fan club size.
*'''manager''' &mdash; The name of the person in charge of first team affairs.
*'''homekit''' &mdash; The current club home kit. should be in the form of '''<nowiki>[[File:Filename.png|125px]]]</nowiki>'''
*'''league''' &mdash; The league in which the club currently plays.
*'''awaykit''' &mdash; The current club away kit. should be in the form of '''<nowiki>[[File:Filename.png|125px]]</nowiki>'''
*'''season''' &mdash; The last completed competitive league season the club completed.
*'''thirdkit''' &mdash; The current club third kit. should be in the form of '''<nowiki>[[File:Filename.png|125px]]</nowiki>'''
*'''position''' &mdash; The league and position to which  '''season''' refers.
*'''website''' &mdash; The URL of the club's official website. Should not be linked.
*'''kit_alt1''' &mdash; Alt text for first kit; see [[WP:ALT]]. '''kit_alt2''' and '''kit_alt3''' are similar.
 
For details on the football kit template syntax, see [[:Template:Football kit]].
 
; Others
*'''American''' &mdash; ''true'' will switch the box to American spelling and Stadium instead of ground
 
===Microformat===
{{UF-hcard-org}}


===See also===
[[Category:Club templates]]
[[Category:Infobox templates]]

Latest revision as of 11:40, 15 December 2025

Usage

{{Infobox club2
| teamname = 
| teamid = 
| logouri = 
| fullname = 
| shortname = 
| motto = 
| nickname = 
| founded = 
| owner = 
| htuser =
| manager =
| ground = 
| colours =
| capacity =
| region = 
| country = 
| league = 
| league-pos =
| league-pos-last = 
| coach = 
| coach-nat = 
| fanclub = 
| fanclub-size = 
| homekit =
| awaykit =
| thirdkit =
}}

Example

Cebu United (714086)
"Adversus adversis, actus rationalis"

Full name Cebu United Football Club
Short name CUFC
Nickname Golden Sergies
Founded2003, as Rayo Laguna
Owner Itong Family via Brishos Ltd.
Colours Maroon, Yellow, White, Black
                   
LocationTemplate:Country data Cebu,  Pilipinas
Manager Tyrll Adolf Itong
Ground Sergio Osmeña Memorial Stadium
      (Capacity: 78500)
CoachItaly Dimitri Caressa
LeagueII.3
Last seasonII.3, 2nd
Fan ClubGolden Sergies
Size2936
Home KitAway Kit
Third Kit

Parameters

All parameters are optional.

  • teamname — The commonly-used name of the club.
  • teamid — The club's Hattrick ID.
  • logouri — The official badge/logo of the club.
  • fullname — The club's complete name.
  • shortname — The club's short name.
  • nickname — The club's most common nickname. Extensive lists of nicknames can be discussed in the article itself and the author should use their judgement to select the most appropriate entry for this parameter.
  • motto — The official motto of the club, if there is any.
  • teamname — The club's common name.
  • founded — The year the club was founded and its original name. Should not be wikilinked.
  • owner — The name of the club's owner. Use parameter htuser if you want to link directly to the manager's user page in HT-wiki.
  • htuser — The Hattrick username of the club's owner. Do not use this if you are using parameter owner.
  • manager — The name of the club's manager.
  • ground — The name of the club's home ground.
  • colours — the official colours of the club. should be in the form of Color 1, Color 2, Color 3, etc. <br /> {{Color box|#FFFFFF}} {{Color box|#CCCCCC}} {{Color box|#ABABAB}} {{Color box|#000000}}'
  • capacity — The capacity of the club's home ground.
  • region — The region the club belongs.
  • country — The country the club belongs.
  • league — The league the club belongs.
  • league-pos — The current league position of the club.
  • league-pos-last — The last league position and league the club belonged.
  • coach — The name of the club's current coach.
  • coach-nat — The nationality of the club's current coach.
  • coach — The name of the club's current coach.
  • fanclub — The name of the fan club of the club.
  • fan-club size — The current fan club size.
  • 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]]