Template:Infobox football club/doc: Difference between revisions

Jump to navigation Jump to search
en>Struway2
(Undid revision 875991223 by Liambolt (talk) test edit)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 23:52, 5 March 2019

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.

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 documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox football club

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Clubnameclubname

The commonly-used name of the club

Stringrequired
Imageimage

The official badge/logo of the club

Fileoptional
Captioncaption

Caption for image, if provided

Stringoptional
Fullnamefullname

The club's complete name

Stringoptional
Nicknamenickname

The club's most common nickname

Stringoptional
Foundedfounded

The year the club was founded

Lineoptional
Dissolveddissolved

The year the club was dissolved

Lineoptional
Groundground

The name of the club's home ground

Stringoptional
Stadiumstadium

The name of the club's home stadium

Stringoptional
Capacitycapacity

The capacity of the club's home ground or stadium

Numberoptional
Coordinatescoordinates

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

Stringoptional
Owntitleowntitle

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

Stringoptional
Owner owner

The name of the club's owner

Stringoptional
Chrtitlechrtitle

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

Stringoptional
Chairmanchairman

The name of the club's chairman

Stringoptional
Mgrtitlemgrtitle

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

Stringoptional
Managermanager

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

Stringoptional
Leagueleague

The league in which the club currently plays

Stringoptional
Seasonseason

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

Numberoptional
Currentcurrent

The current season being played.

Numberoptional
Positionposition

The league and position to which season refers.

Numberoptional
Websitewebsite

The URL of the club's official website.

Stringoptional
Kit Alt1kit_alt1

Alt text for first kit

Stringoptional
Kit Alt2kit_alt2

Alt text for second kit

Stringoptional
Kit Alt3kit_alt3

Alt text for third kit

Stringoptional
Pattern La1pattern_la1

pattern modifier for left arm

Stringoptional
Pattern La2pattern_la2

pattern modifier for left arm

Stringoptional
Pattern La3pattern_la3

pattern modifier for left arm

Stringoptional
Pattern B1pattern_b1

pattern modifier for body

Stringoptional
Pattern B2pattern_b2

pattern modifier for body

Stringoptional
Pattern B3pattern_b3

pattern modifier for body

Stringoptional
Pattern Ra1pattern_ra1

pattern modifier for right arm

Stringoptional
Pattern Ra2pattern_ra2

pattern modifier for right arm

Stringoptional
Pattern Ra3pattern_ra3

pattern modifier for right arm

Stringoptional
Pattern Sh1pattern_sh1

pattern modifier for shorts

Stringoptional
Pattern Sh2pattern_sh2

pattern modifier for shorts

Stringoptional
Pattern Sh3pattern_sh3

pattern modifier for shorts

Stringoptional
Pattern So1pattern_so1

pattern modifier for socks

Stringoptional
Pattern So2pattern_so2

pattern modifier for socks

Stringoptional
Pattern So3pattern_so3

pattern modifier for socks

Stringoptional
Leftarm1leftarm1

color modifier for left arm

Stringoptional
Leftarm2leftarm2

color modifier for left arm

Stringoptional
Leftarm3leftarm3

color modifier for left arm

Stringoptional
Body1body1

color modifier for body

Stringoptional
Body2body2

color modifier for body

Stringoptional
Body3body3

color modifier for body

Stringoptional
Rightarm1rightarm1

color modifier for right arm

Stringoptional
Rightarm2rightarm2

color modifier for right arm

Stringoptional
Rightarm3rightarm3

color modifier for right arm

Stringoptional
Shorts1shorts1

color modifier for shorts

Stringoptional
Shorts2shorts2

color modifier for shorts

Stringoptional
Shorts3shorts3

color modifier for shorts

Stringoptional
Socks1socks1

color modifier for socks

Stringoptional
Socks2socks2

color modifier for socks

Stringoptional
Socks3socks3

color modifier for socks

Stringoptional

Tracking categories

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

See also