Template:Infobox football club/doc: Difference between revisions
en>Struway2 |
m (1 revision imported) |
Latest revision as of 23:52, 5 March 2019
This is a documentation subpage for Template:Infobox football club. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Usage
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{upright}}}]] | ||||
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}}} | |||
Website | Club website | |||
| ||||
{{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
Full name | Infobox Rovers Football Club | |||
---|---|---|---|---|
Nickname(s) | Templates | |||
Founded | 2001 as Infobox Rovers | |||
Ground | Example Stadium Olonkinbyen, Norway | |||
Capacity | 83,500 | |||
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. | |||
Chairman | Jimmy Wales | |||
Head coach | Templator Infoboxer | |||
League | Wikileague Annual | |||
2013–14 | Wikileague Div 2, 1st | |||
Website | Club 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
- 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
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 |
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 | The URL of the club's official website. | String | 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)
- Category:Football team templates which use short name parameter (80)
- Category:Pages using infobox football club with unknown parameters (29)
See also