Template:Infobox football club/doc

From CFBHC Wiki
Jump to: navigation, search

Usage

{{Infobox football club
| clubname      = 
| image         = 
| caption       = 
| fullname      = 
| nickname      = 
| founded       = 
| dissolved     = 
| ground        = 
| capacity      = 
| coordinates   = 
| owntitle      = 
| owner         = 
| chrtitle      = 
| chairman      = 
| mgrtitle      = 
| manager       = 
| league        = 
| season        = 
| position      = 
| website       = 
| kit_alt1      = 
| pattern_la1   = 
| pattern_b1    = 
| pattern_ra1   = 
| 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        = 
}}

Example

Infobox Rovers
200px
Infobox Rovers Football Club Logo
Full nameInfobox Rovers Football Club
Nickname(s)Templates
Founded2001 as Infobox Rovers
GroundANZ Stadium
Ground Capacity83,500
Ground Coordinates33°50′50″S 151°3′48″E / 33.84722°S 151.06333°E / -33.84722; 151.06333Coordinates: 33°50′50″S 151°3′48″E / 33.84722°S 151.06333°E / -33.84722; 151.06333{{#coordinates:33|50|50|S|151|3|48|E|

| |name=

}}
ChairmanJimmy Wales
Head CoachTemplator Infoboxer
LeagueWikileague Annual
2011–121st
WebsiteClub home page
{{Infobox football club
| clubname    = Infobox Rovers
| image       = [[File:Football.svg]]
| caption     = Infobox Rovers Football Club Logo
| fullname    = Infobox Rovers Football Club
| nickname    = Templates
| founded     = 2001 as ''Infobox Rovers''
| dissolved   = 
| ground      = [[ANZ Stadium]]
| coordinates = {{coord|33|50|50|S|151|3|48|E|display=it}}
| 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    = Black jersey with pink 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_la2 = 
| pattern_b3  = 
| pattern_ra3 = 
| pattern_sh3 = 
| pattern_so3 = 
| leftarm3    = ffcccc
| body3       = cccccc
| rightarm3   = ccccff
| shorts3     = ccffcc
| socks3      = ddcccc
}}

Parameters

All parameters are optional.

  • fullname — The club's complete name.
  • founded — The year the club was founded. Should not be wikilinked.
  • clubname — The commonly-used name of the club.
  • ground — The name of the club's home ground (use stadium to label as stadium for American clubs).
  • capacity — The capacity of the club's home ground or stadium.
  • coordinates — The co-ordinates of the club's home ground or stadium. Use the format {{coord|33|50|50|S|151|3|48|E|display=it}}
  • image — The official badge/logo of the club. The "|alt=alt text" is for WP:ACCESSIBILITY for the visually impaired; see WP:ALT.
  • caption — Caption for image, if provided.
  • 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.
  • dissolved — The year the club was dissolved. Should not be wikilinked.
  • owntitle — The job title of the owner of the club, e.g. "Owner"
  • owner — The name of the club's owner. Wikilinked only if an article already exists, or one is likely to be created.
  • chrtitle — The job title of the chairman of the club, e.g. "Chairman", "President"
  • chairman — The name of the club's chairman. Wikilinked only if an article already exists, or one is likely to be created.
  • mgrtitle — The job title of the person in charge of first team affairs, e.g. "Manager", "Head Coach".
  • manager — The name of the person in charge of first team affairs.
  • league — The league in which the club currently plays.
  • season — The last completed competitive league season. i.e Not the current season.
  • position — The league and position to which season refers.
  • website — The URL of the club's official website. Should not be linked.
  • kit_alt1 — Alt text for first kit; see WP:ALT. kit_alt2 and kit_alt3 are similar.
  • American — Set to y for American spelling (color instead of colour).

For details on the football kit template syntax, see Template:Football kit.

Microformat

The HTML mark-up produced by this template includes an hCard microformat that makes an organization's details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.
Subtemplates
  • Use {{start date}} for the date on which an organisation was "established", "founded", "opened" or otherwise started, unless that date is before 1583 CE.
  • Use {{URL}} for an organisation's URL.
  • Use {{coord}} for coordinates associated with the organisation (e.g. the location of its headquarters). A Geo microformat will then make these coordinates parsable, e.g. for use in online mapping, downloading to a GPS unit, etc.

Please do not remove instances of these subtemplates.

Classes used

The HTML classes this microformat uses include:

  • adr
  • agent
  • category
  • country-name
  • extended-address
  • fn
  • geo
  • label
  • latitude
  • locality
  • longitude
  • nickname
  • note
  • org
  • region
  • street-address
  • url
  • vcard
Please do not rename or remove these classes
nor collapse nested elements which use them.

Templatedata

Template parameters

ParameterDescriptionTypeStatus
Clubname clubname

The commonly-used name of the club

Default
empty
Example
empty
Auto value
empty
Stringrequired
Image image

The official badge/logo of the club

Default
empty
Example
empty
Auto value
empty
Pageoptional
Caption caption

Caption for image, if provided

Default
empty
Example
empty
Auto value
empty
Stringoptional
Fullname fullname

The club's complete name

Default
empty
Example
empty
Auto value
empty
Stringoptional
Nicknamenickname

The club's most common nickname

Default
empty
Example
empty
Auto value
empty
Stringoptional
Founded founded

The year the club was founded

Default
empty
Example
empty
Auto value
empty
Lineoptional
Dissolved dissolved

The year the club was dissolved

Default
empty
Example
empty
Auto value
empty
Lineoptional
Groundground

The name of the club's home ground

Default
empty
Example
empty
Auto value
empty
Stringoptional
Stadiumstadium

The name of the club's home stadium

Default
empty
Example
empty
Auto value
empty
Stringoptional
Capacitycapacity

The capacity of the club's home ground or stadium

Default
empty
Example
empty
Auto value
empty
Numberoptional
Coordinatescoordinates

The co-ordinates of the club's home ground or stadium

Default
empty
Example
empty
Auto value
empty
Stringoptional
Owntitle owntitle

The job title of the owner of the club, e.g. "Owner"

Default
empty
Example
empty
Auto value
empty
Stringoptional
Owner owner

The name of the club's owner

Default
empty
Example
empty
Auto value
empty
Stringoptional
Chrtitle chrtitle

The job title of the chairman of the club, e.g. "Chairman", "President"

Default
empty
Example
empty
Auto value
empty
Stringoptional
Chairman chairman

The name of the club's chairman

Default
empty
Example
empty
Auto value
empty
Stringoptional
Mgrtitle mgrtitle

The job title of the person in charge of first team affairs, e.g. "Manager", "Head Coach".

Default
empty
Example
empty
Auto value
empty
Stringoptional
Manager manager

The name of the person in charge of first team affairs.

Default
empty
Example
empty
Auto value
empty
Stringoptional
League league

The league in which the club currently plays

Default
empty
Example
empty
Auto value
empty
Stringoptional
Seasonseason

The last completed competitive league season. i.e Not the current season.

Default
empty
Example
empty
Auto value
empty
Numberoptional
Currentcurrent

The current season being played.

Default
empty
Example
empty
Auto value
empty
Numberoptional
Position position

The league and position to which season refers.

Default
empty
Example
empty
Auto value
empty
Numberoptional
Website website

The URL of the club's official website.

Default
empty
Example
empty
Auto value
empty
Stringoptional
Kit Alt1kit_alt1

Alt text for first kit

Default
empty
Example
empty
Auto value
empty
Stringoptional
Kit Alt2kit_alt2

Alt text for second kit

Default
empty
Example
empty
Auto value
empty
Stringoptional
Kit Alt3kit_alt3

Alt text for third kit

Default
empty
Example
empty
Auto value
empty
Stringoptional
Pattern La1pattern_la1

pattern modifier for left arm

Default
empty
Example
empty
Auto value
empty
Stringoptional
Pattern La2pattern_la2

pattern modifier for left arm

Default
empty
Example
empty
Auto value
empty
Stringoptional
Pattern La3pattern_la3

pattern modifier for left arm

Default
empty
Example
empty
Auto value
empty
Stringoptional
Pattern B1 pattern_b1

pattern modifier for body

Default
empty
Example
empty
Auto value
empty
Stringoptional
Pattern B2pattern_b2

pattern modifier for body

Default
empty
Example
empty
Auto value
empty
Stringoptional
Pattern B3pattern_b3

pattern modifier for body

Default
empty
Example
empty
Auto value
empty
Stringoptional
Pattern Ra1pattern_ra1

pattern modifier for right arm

Default
empty
Example
empty
Auto value
empty
Stringoptional
Pattern Ra2pattern_ra2

pattern modifier for right arm

Default
empty
Example
empty
Auto value
empty
Stringoptional
Pattern Ra3pattern_ra3

pattern modifier for right arm

Default
empty
Example
empty
Auto value
empty
Stringoptional
Pattern Sh1pattern_sh1

pattern modifier for shorts

Default
empty
Example
empty
Auto value
empty
Stringoptional
Pattern Sh2pattern_sh2

pattern modifier for shorts

Default
empty
Example
empty
Auto value
empty
Stringoptional
Pattern Sh3pattern_sh3

pattern modifier for shorts

Default
empty
Example
empty
Auto value
empty
Stringoptional
Pattern So1pattern_so1

pattern modifier for socks

Default
empty
Example
empty
Auto value
empty
Stringoptional
Pattern So2pattern_so2

pattern modifier for socks

Default
empty
Example
empty
Auto value
empty
Stringoptional
Pattern So3pattern_so3

pattern modifier for socks

Default
empty
Example
empty
Auto value
empty
Stringoptional
Leftarm1leftarm1

color modifier for left arm

Default
empty
Example
empty
Auto value
empty
Stringoptional
Leftarm2leftarm2

color modifier for left arm

Default
empty
Example
empty
Auto value
empty
Stringoptional
Leftarm3leftarm3

color modifier for left arm

Default
empty
Example
empty
Auto value
empty
Stringoptional
Body1body1

color modifier for body

Default
empty
Example
empty
Auto value
empty
Stringoptional
Body2body2

color modifier for body

Default
empty
Example
empty
Auto value
empty
Stringoptional
Body3body3

color modifier for body

Default
empty
Example
empty
Auto value
empty
Stringoptional
Rightarm1rightarm1

color modifier for right arm

Default
empty
Example
empty
Auto value
empty
Stringoptional
Rightarm2rightarm2

color modifier for right arm

Default
empty
Example
empty
Auto value
empty
Stringoptional
Rightarm3rightarm3

color modifier for right arm

Default
empty
Example
empty
Auto value
empty
Stringoptional
Shorts1shorts1

color modifier for shorts

Default
empty
Example
empty
Auto value
empty
Stringoptional
Shorts2shorts2

color modifier for shorts

Default
empty
Example
empty
Auto value
empty
Stringoptional
Shorts3shorts3

color modifier for shorts

Default
empty
Example
empty
Auto value
empty
Stringoptional
Socks1socks1

color modifier for socks

Default
empty
Example
empty
Auto value
empty
Stringoptional
Socks2socks2

color modifier for socks

Default
empty
Example
empty
Auto value
empty
Stringoptional
Socks3socks3

color modifier for socks

Default
empty
Example
empty
Auto value
empty
Stringoptional

See also