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| |
| data6 = {{#if:{{{ground|}}}|{{{ground|}}} | ||
| |
| class6 = label | ||
⚫ | | |
||
| label8 = |
| label8 = - Capacity | ||
| data8 |
| data8 = {{{capacity|}}} | ||
⚫ | | |
||
| |
| label8 = - Coordinates | ||
| |
| data8 = {{{coordinates|}}} | ||
⚫ | | |
||
| |
| label9 = {{{owntitle|Owner}}} | ||
| |
| data9 = {{{owner|}}} | ||
⚫ | | |
||
| |
| label10 = {{{chrtitle|Chairman}}} | ||
| |
| data10 = {{{chairman|}}} | ||
| class10 = agent | |||
⚫ | | |
||
⚫ | | |
||
⚫ | | 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. |
This 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 clubInfobox Rovers Football Club Logo | ||||
Full name | Infobox Rovers Football Club | |||
---|---|---|---|---|
Nickname(s) | Templates | |||
Founded | 2001 as Infobox Rovers, 2004 as Infobox Rovers Football Club, 2020 as Infobox Rovers Jan Mayen Kluben Voetbalen | |||
Dissolved | 2019 | |||
Ground | Example Stadium, Olonkinbyen | |||
Capacity | 83,500 | |||
Coordinates | 70°55′19″N 8°42′54″W / 70.92194°N 8.71500°W / 70.92194; -8.71500 | |||
Chairman | Jimmy Wales | |||
Head coach | Templator Infoboxer | |||
League | Wikileague Division 1 | |||
2018-19 | Wikileague Division 1, 1st | |||
Website | http://en.wikipedia.org/ | |||
| ||||
{{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
- Use {{Start date and age}} 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.
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Clubname | clubname | The commonly-used name of the club | String | required |
Image | image | The official badge/logo of the club | File | optional |
Caption | caption | Caption for image, if provided | String | optional |
Fullname | fullname | The club's complete name | String | optional |
Nickname | nickname | The club's most common nickname | String | optional |
Founded | founded | The year the club was founded | Line | optional |
Dissolved | dissolved | The year the club was dissolved | Line | optional |
Ground | ground | The name of the club's home ground | String | optional |
Stadium | stadium | The name of the club's home stadium | String | optional |
Capacity | capacity | The capacity of the club's home ground or stadium | Number | optional |
Coordinates | coordinates | The co-ordinates of the club's home ground or stadium | String | optional |
Owntitle | owntitle | The job title of the owner of the club, e.g. "Owner" | String | optional |
Owner | owner | The name of the club's owner | String | optional |
Chrtitle | chrtitle | The job title of the chairman of the club, e.g. "Chairman", "President" | String | optional |
Chairman | chairman | The name of the club's chairman | String | optional |
Sponsor | Sponsor | The major sponsor of the club | String | optional |
Mgrtitle | mgrtitle | The job title of the person in charge of first team affairs, e.g. "Manager", "Head Coach". | String | optional |
Manager | manager | The name of the person in charge of first team affairs. | String | optional |
League | league | The league in which the club currently plays | String | optional |
Season | season | The last completed competitive league season. i.e Not the current season. | Number | optional |
Current | current | The current season being played. | Number | optional |
Position | position | The league and position to which season refers. | Number | optional |
Website | website | 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.
| URL | optional |
Kit Alt1 | kit_alt1 | Alt text for first kit | String | optional |
Kit Alt2 | kit_alt2 | Alt text for second kit | String | optional |
Kit Alt3 | kit_alt3 | Alt text for third kit | String | optional |
Pattern La1 | pattern_la1 | pattern modifier for left arm | String | optional |
Pattern La2 | pattern_la2 | pattern modifier for left arm | String | optional |
Pattern La3 | pattern_la3 | pattern modifier for left arm | String | optional |
Pattern B1 | pattern_b1 | pattern modifier for body | String | optional |
Pattern B2 | pattern_b2 | pattern modifier for body | String | optional |
Pattern B3 | pattern_b3 | pattern modifier for body | String | optional |
Pattern Ra1 | pattern_ra1 | pattern modifier for right arm | String | optional |
Pattern Ra2 | pattern_ra2 | pattern modifier for right arm | String | optional |
Pattern Ra3 | pattern_ra3 | pattern modifier for right arm | String | optional |
Pattern Sh1 | pattern_sh1 | pattern modifier for shorts | String | optional |
Pattern Sh2 | pattern_sh2 | pattern modifier for shorts | String | optional |
Pattern Sh3 | pattern_sh3 | pattern modifier for shorts | String | optional |
Pattern So1 | pattern_so1 | pattern modifier for socks | String | optional |
Pattern So2 | pattern_so2 | pattern modifier for socks | String | optional |
Pattern So3 | pattern_so3 | pattern modifier for socks | String | optional |
Leftarm1 | leftarm1 | color modifier for left arm | String | optional |
Leftarm2 | leftarm2 | color modifier for left arm | String | optional |
Leftarm3 | leftarm3 | color modifier for left arm | String | optional |
Body1 | body1 | color modifier for body | String | optional |
Body2 | body2 | color modifier for body | String | optional |
Body3 | body3 | color modifier for body | String | optional |
Rightarm1 | rightarm1 | color modifier for right arm | String | optional |
Rightarm2 | rightarm2 | color modifier for right arm | String | optional |
Rightarm3 | rightarm3 | color modifier for right arm | String | optional |
Shorts1 | shorts1 | color modifier for shorts | String | optional |
Shorts2 | shorts2 | color modifier for shorts | String | optional |
Shorts3 | shorts3 | color modifier for shorts | String | optional |
Socks1 | socks1 | color modifier for socks | String | optional |
Socks2 | socks2 | color modifier for socks | String | optional |
Socks3 | socks3 | color modifier for socks | String | optional |
Tracking categories
Hidden tracking/maintenance categories which may be added to pages using this template:
- Category:Football team templates which use American parameter (1,594)
- Category:Football team templates which use short name parameter (2,035)
- Category:Pages using infobox football club with unknown parameters (773)
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: