Template:Infobox football club/doc

From The League Wiki
Jump to navigation Jump to search

Usage

{{{clubname}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{upright}}}]]
{{{caption}}}
Full name{{{fullname}}}
Nickname(s){{{nickname}}}
Short name{{{short name}}}
Founded{{{founded}}}
Dissolved{{{dissolved}}}
Ground{{{ground}}}
Capacity{{{capacity}}}
Coordinates{{{coordinates}}}
{{{owntitle}}}{{{owner}}}
{{{chrtitle}}}{{{chairman}}}
{{{mgrtitle}}}{{{manager}}}
Coach{{{coach}}}
League{{{league}}}
{{{season}}}{{{position}}}
WebsiteClub website
[[{{{current}}}|Current season]]
{{Infobox football club
| clubname      = <!-- or: title -->
| image         = 
| image_size    = 
| upright       = 
| alt           = 
| caption       = 
| fullname      = 
| nickname      = 
| short name    = 
| founded       = 
| dissolved     = 
| American      = 
| ground        = <!-- or: stadium -->
| capacity      = 
| coordinates   = 
| owntitle      = <!--optional, default: Owner -->
| owner         = 
| chrtitle      = <!--optional, default: Chairman -->
| chairman      = 
| mgrtitle      = <!--optional, default: Manager -->
| manager       = 
| coach         = 
| league        = 
| season        = 
| position      = 
| website       = 
| kit_alt1      = 
| pattern_la1   = 
| pattern_b1    = 
| pattern_ra1   = 
| pattern_sh1   = 
| pattern_so1   = 
| leftarm1      = 
| body1         = 
| rightarm1     = 
| shorts1       = 
| socks1        = 
| pattern_name1 = <!--optional, default: Home colours -->
| kit_alt2      = 
| pattern_la2   = 
| pattern_b2    = 
| pattern_ra2   = 
| pattern_sh2   = 
| pattern_so2   = 
| leftarm2      = 
| body2         = 
| rightarm2     = 
| shorts2       = 
| socks2        = 
| pattern_name2 = <!--optional, default: Away colours -->
| kit_alt3      = 
| pattern_la3   = 
| pattern_b3    = 
| pattern_ra3   = 
| pattern_sh3   = 
| pattern_so3   = 
| leftarm3      = 
| body3         = 
| rightarm3     = 
| shorts3       = 
| socks3        = 
| pattern_name3 = <!--optional, default: Third colours -->
| current       = 
}}

Example

Infobox Rovers
Football.svg
Infobox Rovers Football Club Logo
Full nameInfobox Rovers Football Club
Nickname(s)Templates
Founded2001 as Infobox Rovers
GroundExample Stadium
Olonkinbyen, Norway
Capacity83,500
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
ChairmanJimmy Wales
Head coachTemplator Infoboxer
LeagueWikileague Annual
2013–14Wikileague Div 2, 1st
WebsiteClub website
{{Infobox football club
| clubname      = Infobox Rovers
| image         = Football.svg
| upright       = 0.9
| caption       = Infobox Rovers Football Club logo
| fullname      = Infobox Rovers Football Club
| nickname      = Templates
| founded       = 2001 as ''Infobox Rovers''
| dissolved     = 
| ground        = [[Example Stadium]]<br>[[Olonkinbyen]], Norway
| capacity      = 83,500
| coordinates   = {{coord|70|55|19|N|8|42|54|W|display=inline<!-- omit ,title for this example-->}}
| chairman      = [[Jimmy Wales]]
| mgrtitle      = Head coach
| manager       = Templator Infoboxer
| league        = Wikileague Annual
| season        = 2013–14
| position      = Wikileague Div 2, 1st
| website       = http://en.wikipedia.org/
| kit_alt1      = White jersey with gold accents and sleeves and cornflower blue shorts
| pattern_la1   = 
| pattern_b1    = _alb0810_2
| pattern_ra1   = 
| leftarm1      = FFD700
| body1         = FFD700
| rightarm1     = FFD700
| shorts1       = 6495ED
| socks1        = 000000
| kit_alt2      = Black and white thin stripes with cornflower sleeves and socks and black shorts
| pattern_la2   = 
| pattern_b2    = _fig11h
| pattern_ra2   = 
| pattern_sh2   = _fig11h
| pattern_so2   = 
| leftarm2      = 6495ED
| body2         = 6495ED
| rightarm2     = 6495ED
| shorts2       = 6495ED
| socks2        = 6495ED
| kit_alt3      = Gold jersey with dark goldenrod sleeves, floral white shorts, gold socks
| pattern_la3   = 
| pattern_b3    = 
| pattern_ra3   = 
| pattern_sh3   = 
| pattern_so3   = 
| leftarm3      = B8860B
| body3         = FFD700
| rightarm3     = B8860B
| shorts3       = FFFAF0
| socks3        = FFD700
}}

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). The location of the ground may be included. Follow WP:OVERLINK guidelines to avoid linking common locations or nations.
  • 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 on English Wikipedia.

Subtemplates

Please do not remove instances of these subtemplates.

Classes used

The HTML classes of this microformat 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

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Infobox football club

<templatedata> { "params": { "clubname": { "label": "Clubname", "type": "string", "required": true, "description": "The commonly-used name of the club" }, "image": { "label": "Image", "type": "wiki-file-name", "required": false, "description": "The official badge/logo of the club" }, "caption": { "label": "Caption", "type": "string", "required": false, "description": "Caption for image, if provided" }, "fullname": { "label": "Fullname", "type": "string", "required": false, "description": "The club's complete name" }, "nickname": { "label": "Nickname", "type": "string", "required": false, "description": "The club's most common nickname" }, "founded": { "label": "Founded", "type": "line", "required": false, "description": "The year the club was founded" }, "dissolved": { "label": "Dissolved", "type": "line", "required": false, "description": "The year the club was dissolved" }, "ground": { "label": "Ground", "type": "string", "required": false, "description": "The name of the club's home ground" }, "stadium": { "label": "Stadium", "type": "string", "required": false, "description": "The name of the club's home stadium" }, "capacity": { "label": "Capacity", "type": "number", "required": false, "description": "The capacity of the club's home ground or stadium" }, "coordinates": { "label": "Coordinates", "type": "string", "required": false, "description": "The co-ordinates of the club's home ground or stadium" }, "owntitle": { "label": "Owntitle", "type": "string", "required": false, "description": "The job title of the owner of the club, e.g. \"Owner\"" }, "owner": { "label": "Owner ", "type": "string", "required": false, "description": "The name of the club's owner" }, "chrtitle": { "label": "Chrtitle", "type": "string", "required": false, "description": "The job title of the chairman of the club, e.g. \"Chairman\", \"President\"" }, "chairman": { "label": "Chairman", "type": "string", "required": false, "description": "The name of the club's chairman" }, "mgrtitle": { "label": "Mgrtitle", "type": "string", "required": false, "description": "The job title of the person in charge of first team affairs, e.g. \"Manager\", \"Head Coach\"." }, "manager": { "label": "Manager", "type": "string", "required": false, "description": "The name of the person in charge of first team affairs." }, "league": { "label": "League", "type": "string", "required": false, "description": "The league in which the club currently plays" }, "season": { "label": "Season", "type": "number", "required": false, "description": "The last completed competitive league season. i.e Not the current season." }, "current": { "label": "Current", "type": "number", "required": false, "description": "The current season being played." }, "position": { "label": "Position", "type": "number", "required": false, "description": "The league and position to which season refers." }, "website": { "label": "Website", "type": "string", "required": false, "description": "The URL of the club's official website." }, "kit_alt1": { "label": "Kit Alt1", "type": "string", "required": false, "description": " Alt text for first kit" }, "kit_alt2": { "label": "Kit Alt2", "type": "string", "required": false, "description": "Alt text for second kit" }, "kit_alt3": { "label": "Kit Alt3", "type": "string", "required": false, "description": "Alt text for third kit" }, "pattern_la1": { "label": "Pattern La1", "type": "string", "required": false, "description": "pattern modifier for left arm" }, "pattern_la2": { "label": "Pattern La2", "type": "string", "required": false, "description": "pattern modifier for left arm" }, "pattern_la3": { "label": "Pattern La3", "type": "string", "required": false, "description": "pattern modifier for left arm" }, "pattern_b1": { "label": "Pattern B1", "type": "string", "required": false, "description": "pattern modifier for body" }, "pattern_b2": { "label": "Pattern B2", "type": "string", "required": false, "description": "pattern modifier for body" }, "pattern_b3": { "label": "Pattern B3", "type": "string", "required": false, "description": "pattern modifier for body" }, "pattern_ra1": { "label": "Pattern Ra1", "type": "string", "required": false, "description": "pattern modifier for right arm" }, "pattern_ra2": { "label": "Pattern Ra2", "type": "string", "required": false, "description": "pattern modifier for right arm" }, "pattern_ra3": { "label": "Pattern Ra3", "type": "string", "required": false, "description": "pattern modifier for right arm" }, "pattern_sh1": { "label": "Pattern Sh1", "type": "string", "required": false, "description": "pattern modifier for shorts" }, "pattern_sh2": { "label": "Pattern Sh2", "type": "string", "required": false, "description": "pattern modifier for shorts" }, "pattern_sh3": { "label": "Pattern Sh3", "type": "string", "required": false, "description": "pattern modifier for shorts" }, "pattern_so1": { "label": "Pattern So1", "type": "string", "required": false, "description": "pattern modifier for socks" }, "pattern_so2": { "label": "Pattern So2", "type": "string", "required": false, "description": "pattern modifier for socks" }, "pattern_so3": { "label": "Pattern So3", "type": "string", "required": false, "description": "pattern modifier for socks" }, "leftarm1": { "label": "Leftarm1", "type": "string", "required": false, "description": "color modifier for left arm" }, "leftarm2": { "label": "Leftarm2", "type": "string", "required": false, "description": "color modifier for left arm" }, "leftarm3": { "label": "Leftarm3", "type": "string", "required": false, "description": "color modifier for left arm" }, "body1": { "label": "Body1", "type": "string", "required": false, "description": "color modifier for body" }, "body2": { "label": "Body2", "type": "string", "required": false, "description": "color modifier for body" }, "body3": { "label": "Body3", "type": "string", "required": false, "description": "color modifier for body" }, "rightarm1": { "label": "Rightarm1", "type": "string", "required": false, "description": "color modifier for right arm" }, "rightarm2": { "label": "Rightarm2", "type": "string", "required": false, "description": "color modifier for right arm" }, "rightarm3": { "label": "Rightarm3", "type": "string", "required": false, "description": "color modifier for right arm" }, "shorts1": { "label": "Shorts1", "type": "string", "required": false, "description": "color modifier for shorts" }, "shorts2": { "label": "Shorts2", "type": "string", "required": false, "description": "color modifier for shorts" }, "shorts3": { "label": "Shorts3", "type": "string", "required": false, "description": "color modifier for shorts" }, "socks1": { "label": "Socks1", "type": "string", "required": false, "description": "color modifier for socks" }, "socks2": { "label": "Socks2", "type": "string", "required": false, "description": "color modifier for socks" }, "socks3": { "label": "Socks3", "type": "string", "required": false, "description": "color modifier for socks" } }, "format": "block" } </templatedata>

Tracking categories

Hidden tracking/maintenance categories which may be added to pages using this template:

See also