Misplaced Pages

Template:Infobox football club/sandbox: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Template:Infobox football club Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 22:15, 18 August 2013 editPigsonthewing (talk | contribs)Autopatrolled, Event coordinators, Extended confirmed users, Page movers, File movers, IP block exemptions, New page reviewers, Pending changes reviewers, Rollbackers, Template editors266,141 edits sync← Previous edit Revision as of 22:23, 18 August 2013 edit undoPigsonthewing (talk | contribs)Autopatrolled, Event coordinators, Extended confirmed users, Page movers, File movers, IP block exemptions, New page reviewers, Pending changes reviewers, Rollbackers, Template editors266,141 edits split capacity to own field; add coordinates; additional hCard microformat parameters; whitespaceNext edit →
Line 6: Line 6:
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}} | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}}
| caption = {{{caption|}}} | caption = {{{caption|}}}

| label1 = Full name | label1 = Full name
| data1 = {{{fullname|}}} | data1 = {{{fullname|}}}

| label2 = Nickname(s) | label2 = Nickname(s)
| data2 = {{{nickname|}}} | data2 = {{{nickname|}}}
| class2 = nickname

| label3 = Short name | label3 = Short name
| data3 = {{{short name|}}} | data3 = {{{short name|}}}
| class3 = nickname

| label4 = Founded | label4 = Founded
| data4 = {{{founded|}}} | data4 = {{{founded|}}}

| label5 = Dissolved | label5 = Dissolved
| data5 = {{{dissolved|}}} | data5 = {{{dissolved|}}}

| label6 = {{#if:{{{American|}}}|Stadium|Ground}} | label6 = {{#if:{{{American|}}}|Stadium|Ground}}
| data6 = {{#if:{{{ground|}}}|{{{ground|}}}{{#if:{{{capacity|}}}|<br />{{nowrap|(capacity: {{{capacity|unknown}}})}}}}}} | data6 = {{#if:{{{ground|}}}|{{{ground|}}}
| label7 = {{{owntitle|Owner}}} | class6 = label

| data7 = {{{owner|}}}
| label8 = {{{chrtitle|Chairman}}} | label8 = - Capacity
| data8 = {{{chairman|}}} | data8 = {{{capacity|}}}

| label9 = {{{mgrtitle|Manager}}}
| data9 = {{{manager|}}} | label8 = - Coordinates
| label10 = Coach | data8 = {{{coordinates|}}}

| data10 = {{{coach|}}}
| label11 = League | label9 = {{{owntitle|Owner}}}
| data11 = {{{league|}}} | data9 = {{{owner|}}}

| label12 = {{{season|}}}
| data12 = {{{position|}}} | label10 = {{{chrtitle|Chairman}}}
| label13 = Website | data10 = {{{chairman|}}}
| class10 = agent
| data13 = {{#if:{{{website|}}}|}}

| data14 = {{#if:{{{pattern_la1|}}}{{{pattern_b1|}}}{{{pattern_ra1|}}}{{{pattern_sh1|}}}{{{pattern_so1|}}}{{{leftarm1|}}}{{{body1|}}}{{{rightarm1|}}}{{{shorts1|}}}{{{socks1|}}} {{{pattern_la2|}}}{{{pattern_b2|}}}{{{pattern_ra2|}}}{{{pattern_sh2|}}}{{{pattern_so2|}}}{{{leftarm2|}}}{{{body2|}}}{{{rightarm2|}}}{{{shorts2|}}}{{{socks2|}}}{{{pattern_la3|}}}{{{pattern_b3|}}}{{{pattern_ra3|}}}{{{pattern_sh3|}}}{{{pattern_so3|}}}{{{leftarm3|}}}{{{body3|}}}{{{rightarm3|}}}{{{shorts3|}}}{{{socks3|}}}|
| label11 = {{{mgrtitle|Manager}}}
| data11 = {{{manager|}}}
| class11 = agent

| label12 = Coach
| data12 = {{{coach|}}}
| class12 = agent

| label13 = League
| data13 = {{{league|}}}

| label14 = {{{season|}}}
| data14 = {{{position|}}}

| label15 = Website
| data15 = {{#if:{{{website|}}}|}}

| data16 = {{#if:{{{pattern_la1|}}}{{{pattern_b1|}}}{{{pattern_ra1|}}}{{{pattern_sh1|}}}{{{pattern_so1|}}}{{{leftarm1|}}}{{{body1|}}}{{{rightarm1|}}}{{{shorts1|}}}{{{socks1|}}} {{{pattern_la2|}}}{{{pattern_b2|}}}{{{pattern_ra2|}}}{{{pattern_sh2|}}}{{{pattern_so2|}}}{{{leftarm2|}}}{{{body2|}}}{{{rightarm2|}}}{{{shorts2|}}}{{{socks2|}}}{{{pattern_la3|}}}{{{pattern_b3|}}}{{{pattern_ra3|}}}{{{pattern_sh3|}}}{{{pattern_so3|}}}{{{leftarm3|}}}{{{body3|}}}{{{rightarm3|}}}{{{shorts3|}}}{{{socks3|}}}|
<tr><td class="toccolours" style="padding: 0; background: #ffffff; text-align: center;" colspan="2"> <tr><td class="toccolours" style="padding: 0; background: #ffffff; text-align: center;" colspan="2">
<table style="width:100%; text-align:center;"> <table style="width:100%; text-align:center;">

Revision as of 22:23, 18 August 2013

{{Infobox | title = | bodyclass = vcard | titleclass = fn org | labelstyle = white-space: nowrap; text-align:left | image = | caption =

| label1 = Full name | data1 =

| label2 = Nickname(s) | data2 = | class2 = nickname

| label3 = Short name | data3 = | class3 = nickname

| label4 = Founded | data4 =

| label5 = Dissolved | data5 =

| label6 = Ground | data6 = class6 = label

This is the template sandbox page for Template:Infobox football club (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 28,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article.
This template uses Lua:

Usage

For the available patterns, see Template:Football kit/pattern list.

{{Infobox | title = {{{clubname}}} | bodyclass = vcard | titleclass = fn org | labelstyle = white-space: nowrap; text-align:left | image = ] | caption = {{{caption}}}

| label1 = Full name | data1 = {{{fullname}}}

| label2 = Nickname(s) | data2 = {{{nickname}}} | class2 = nickname

| label3 = Short name | data3 = {{{short name}}} | class3 = nickname

| label4 = Founded | data4 = {{{founded}}}

| label5 = Dissolved | data5 = {{{dissolved}}}

| label6 = Ground | data6 = {{{ground}}}

{{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      = 
| sponsor       = 
| 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

Football club
Infobox Rovers
Infobox Rovers Football Club Logo
Full nameInfobox Rovers Football Club
Nickname(s)Templates
Founded2001 as Infobox Rovers, 2004 as Infobox Rovers Football Club, 2020 as Infobox Rovers Jan Mayen Kluben Voetbalen
Dissolved2019
GroundExample Stadium, Olonkinbyen
Capacity83,500
Coordinates70°55′19″N 8°42′54″W / 70.92194°N 8.71500°W / 70.92194; -8.71500
ChairmanJimmy Wales
Head coachTemplator Infoboxer
LeagueWikileague Division 1
2018-19Wikileague Division 1, 1st
Websitehttp://en.wikipedia.org/
Home colours Away colours Third colours
{{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        = ], ]
| capacity      = 83,500
| coordinates   = {{coord|70|55|19|N|8|42|54|W|display=inline<!-- omit ,title for this example-->}}
| chairman      = ]
| 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 (not the current season in progress). Wikilink is optional, e.g. ]
  • position – The league and position to which season refers.
  • current – The name of the Misplaced Pages article for the team's current season. Do not wikilink.
  • 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 Misplaced Pages, 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 for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox football club in articles based on its TemplateData.

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
SponsorSponsor

The major sponsor of the club

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

Official website only. Unofficial websites should be placed under ==External links== in the body of the article. Use {{URL}}. Do not include the www. part unless the server requires it. Use camel case capitalization to make multiword domain names easier to read.

Example
{{URL|example.com}}
URLoptional
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

The above documentation is transcluded from Template:Infobox football club/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Category: