Template:Infobox sports team: Difference between revisions
Ozycaevias (talk | contribs) m (1 revision imported) |
en>Rehman (adding child and subbox support from Template:Infobox) |
||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| bodyclass = vcard | | bodyclass = vcard | ||
| child = {{{child|}}} | |||
| subbox = {{{embed|}}} | |||
| titleclass = fn org | | titleclass = fn org | ||
| title = {{{name|{{{team|{{{title|{{{clubname|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}}}}}}}} | | title = {{{name|{{{team|{{{title|{{{clubname|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}}}}}}}} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{image|}}}}}}|size={{{logo_size|{{{pixels|}}}}}}|sizedefault=frameless|alt={{{alt|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{image|}}}}}}|size={{{logo_size|{{{pixels|}}}}}}|sizedefault=frameless|upright={{{upright|}}}|alt={{{alt|}}}}} | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
Line 24: | Line 26: | ||
| label8 = Folded | | label8 = Folded | ||
| data8 = {{{folded|{{{disbanded|{{{closed|{{{dissolved|}}}}}}}}}}}} | | data8 = {{{folded|{{{disbanded|{{{closed|{{{dissolved|}}}}}}}}}}}} | ||
| label9 = | | label9 = Last season | ||
| data9 = | | data9 = {{{last_season|}}} | ||
| label10 = Association | | label10 = Association | ||
| data10 = {{{association|}}} | | data10 = {{{association|}}} | ||
Line 73: | Line 75: | ||
| label32 = Captain | | label32 = Captain | ||
| data32 = {{{captain|}}} | | data32 = {{{captain|}}} | ||
| label33 = Affiliation(s) | | label33 = Divisions | ||
| | | data33 = {{{divisions|}}} | ||
| | | label34 = Affiliation(s) | ||
| | | data34 = {{{affiliations|}}} | ||
| | | label35 = Overall record | ||
| | | data35 = {{{record|}}} | ||
| | | label36 = {{#if:{{{nat_championships|}}}|National championships|Championships}} | ||
| | | data36 = {{{nat_championships|{{{championships|}}}}}} | ||
| | | label37 = Titles | ||
| | | data37 = {{{club_titles|{{{team_titles|}}}}}} | ||
| | | label38 = League titles | ||
| | | data38 = {{{league_titles|}}} | ||
| | | label39 = Conference titles | ||
| | | data39 = {{{conference_titles|}}} | ||
| | | label40 = {{#if:{{{titles_label|}}}|{{{titles_label}}}|Division titles}} | ||
| | | data40 = {{{titles|{{{division_titles|}}}}}} | ||
| | | label41 = Stage titles | ||
| | | data41 = {{{stage_titles|}}} | ||
| | | label42 = Playoff berths | ||
| | | data42 = {{{playoff_berths|}}} | ||
| | | label43 = Cheerleaders | ||
| | | data43 = {{{cheerleaders|}}} | ||
| | | label44 = Dancers | ||
| | | data44 = {{{dancers|}}} | ||
| | | label45 = Mascot | ||
| | | data45 = {{{mascot|}}} | ||
| | | label46 = Official fan club | ||
| | | data46 = {{{fanclub|}}} | ||
| | | label47 = Broadcasters | ||
| | | data47 = {{{broadcasters|}}} | ||
| | | label48 = Local media | ||
| | | data48 = {{{media|}}} | ||
| label49 = {{{season}}} | |||
| data49 = {{#if:{{{season|}}}|{{{position|}}}}} | |||
| | | label52 = Branches | ||
| | | data52 = {{{branches|}}} | ||
| | | label53 = Members | ||
| | | data53 = {{{members|}}} | ||
| | | label54 = Partners | ||
| | | data54 = {{{partners|}}} | ||
| | | label55 = Main sponsor | ||
| | | data55 = {{{main_sponsor|}}} | ||
| | | label56 = Parent group | ||
| | | data56 = {{{parent_group|}}} | ||
| | | label57 = {{{blank_label|}}} | ||
| | | data57 = {{#if:{{{blank_label|}}}|{{{blank_data|}}}}} | ||
| | | label58 = {{{blank_label1|}}} | ||
| | | data58 = {{#if:{{{blank_label1|}}}|{{{blank_data1|}}}}} | ||
| | | label59 = {{{blank_label2|}}} | ||
| | | data59 = {{#if:{{{blank_label2|}}}|{{{blank_data2|}}}}} | ||
| | | label60 = {{{blank_label3|}}} | ||
| | | data60 = {{#if:{{{blank_label3|}}}|{{{blank_data3|}}}}} | ||
| | | label61 = Website | ||
| | | data61 = {{{website|}}} | ||
| | | header62 = {{#if:{{{uniforms|}}}|Uniforms|{{#if:{{{strip|}}}|Strip}}}} | ||
| | | data63 = {{#if:{{{uniforms|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{uniforms|}}} }}|{{{strip|}}} }} | ||
| belowstyle = text-align:left | | belowstyle = text-align:left | ||
| below = {{{footnotes|}}} | | below = {{{footnotes|}}}{{#if:{{{current|}}}|<div style="text-align: center;">{{Current sports event icon|sport={{{current_icon|{{{sport|}}}}}}|size=33px}} ''[[{{{current}}}|Current season]]''</div>}} | ||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox sports team with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox sports team]] with unknown parameter "_VALUE_"|ignoreblank=y| affiliations | alt | anthem | arena | association | ballpark | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox sports team with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox sports team]] with unknown parameter "_VALUE_"|ignoreblank=y| affiliations | alt | anthem | arena | association | ballpark | blank_data | blank_data1 | blank_data2 | blank_data3 | blank_label | blank_label1 | blank_label2 | blank_label3 | branches | broadcasters | captain | caption | ceo | chairman | championships | cheerleaders | city | closed | club_titles | clubname | coach | coach_label | colors | colours | conference | conference_titles | current | current_icon | dancers | disbanded | dissolved | division | division_titles | divisions | fanclub | first_season | folded | footnotes | founded | full_name | fullname | game | games | gm | ground | history | home_ground | image | last_season | league | league_titles | location | logo | logo_size | main_sponsor | manager | managing_director | mascot | media | members | name | nat_championships | nickname | nicknames | owner | owners | owntitle | parent_group | partners | pixels | playoff_berths | position | president | record | region | school | season | secretary | short_name | shortname | song | sport | sport_label | sports | stadium | stage_titles | strip | team | team_titles | title | titles | titles_label | uniforms | upright | website }}<noinclude> | ||
{{documentation}}<!-- place categories on the /doc sub-page, not here --> | {{documentation}}<!-- place categories on the /doc sub-page, not here --> | ||
</noinclude> | </noinclude> |
Revision as of 16:54, 21 August 2020
This template uses Lua: |
Usage
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{alt}}}]] | |
Full name | {{{full_name}}} |
---|---|
Nickname | {{{nickname}}} |
Short name | {{{short_name}}} |
Sport | {{{sport}}} |
School | {{{school}}} |
Founded | {{{founded}}} |
First season | {{{first_season}}} |
Folded | {{{folded}}} |
Last season | {{{last_season}}} |
Association | {{{association}}} |
League | {{{league}}} |
Conference | {{{conference}}} |
Division | {{{division}}} |
Team history | {{{history}}} |
Based in | {{{city}}} |
Location | {{{location}}} |
Arena | {{{arena}}} |
Ballpark | {{{ballpark}}} |
Home ground | {{{home_ground}}} |
Colors | {{{colors}}} |
Anthem | {{{anthem}}} |
Owner | {{{owner}}} |
President | {{{president}}} |
Chairman | {{{chairman}}} |
Managing director | {{{managing_director}}} |
CEO | {{{ceo}}} |
{{{coach_label}}} | {{{coach}}} |
Manager | {{{manager}}} |
General manager | {{{gm}}} |
Secretary | {{{secretary}}} |
Captain | {{{captain}}} |
Divisions | {{{divisions}}} |
Affiliation(s) | {{{affiliations}}} |
Overall record | {{{record}}} |
National championships | {{{nat_championships}}} |
Titles | {{{club_titles}}} |
League titles | {{{league_titles}}} |
Conference titles | {{{conference_titles}}} |
{{{titles_label}}} | {{{titles}}} |
Stage titles | {{{stage_titles}}} |
Playoff berths | {{{playoff_berths}}} |
Cheerleaders | {{{cheerleaders}}} |
Dancers | {{{dancers}}} |
Mascot | {{{mascot}}} |
Official fan club | {{{fanclub}}} |
Broadcasters | {{{broadcasters}}} |
Local media | {{{media}}} |
{{{season}}} | {{{position}}} |
Branches | {{{branches}}} |
Members | {{{members}}} |
Partners | {{{partners}}} |
Main sponsor | {{{main_sponsor}}} |
Parent group | {{{parent_group}}} |
{{{blank_label}}} | {{{blank_data}}} |
{{{blank_label1}}} | {{{blank_data1}}} |
{{{blank_label2}}} | {{{blank_data2}}} |
{{{blank_label3}}} | {{{blank_data3}}} |
Website | {{{website}}} |
Uniforms | |
[[File:{{{uniforms}}}|frameless]] | |
[[{{{current}}}|Current season]] |
{{Infobox sports team | name = | logo = | logo_size = | alt = | caption = | full_name = | nicknames = | short_name = | sport_label = | sport = | game = | founded = | folded = | current = | current_icon = | league = | conference = | division = | region = | history = | arena = | ballpark = | stadium = | city = | location = | colors = | colours = | owntitle = | owner = | chairman = | managing_director = | ceo = | coach = | manager = | gm = | affiliations = | divisions = | championships = | League_titles = | division_titles = | stage_titles = | playoff_berths = | anthem = | cheerleaders = | dancers = | mascot = | fanclub = | broadcasters = | media = | uniforms = | branches = | members = | partners = | main_sponsor = | parent_group = | blank_label = | blank_data = | blank_label1 = | blank_data1 = | blank_label2 = | blank_data2 = | blank_label3 = | blank_data3 = | website = }}
|
<!-- Start infobox --> <!-- name of the team --> <!-- filename for logo --> <!-- size of logo in pixels --> <!-- alt caption --> <!-- caption --> <!-- if different from name --> <!-- only official nicknames --> <!-- short name of team (abbreviated name) --> <!-- optional label to replace "Sport" --> <!-- or | sports = --> <!-- or | games; optional parameter for game (e.g. ''League of Legends'') --> <!-- use {{start date}} --> <!-- use {{end date}} --> <!-- current season of team (e.g., 2013 Jacksonville Sharks season) --> <!-- icon for the current season (e.g., Basketball, tennis, esports, etc.) --> <!-- league --> <!-- conference --> <!-- division --> <!-- region --> <!-- history of the club, which could include facts such as previous names or former locations --> <!-- arena --> <!-- or ballpark --> <!-- or stadium --> <!-- name of city --> <!-- location of the team's headquarters --> <!-- Use for US English spelling as in "Team Colors" --> <!-- Use for British English spelling as in "Team Colours" --> <!-- optional, default: Owner --> <!-- name of owner --> <!-- name of team president or | chairman = for chairman --> <!-- name of managing director (interchangeable with CEO?) --> <!-- name of CEO (interchangeable with managing director?) --> <!-- name of head coach --> <!-- name of manager --> <!-- name of general manager --> <!-- teams affiliated with the team --> <!-- divisions of the team --> <!-- list of championships won --> <!-- conference titles (interchangeable with league titles) --> <!-- or use |titles= --> <!-- stage titles --> <!-- optional --> <!-- optional --> <!-- optional --> <!-- optional --> <!-- optional --> <!-- optional --> <!-- optional --> <!-- optional --> <!-- optional for use with [[Template:Basketball kit home and away]] --> <!-- optional --> <!-- optional --> <!-- the team's partners (interchangeable with sponsors) --> <!-- the team's main sponsor --> <!-- the parent group of the team --> <!-- optional --> <!-- optional --> <!-- optional --> <!-- optional --> <!-- optional --> <!-- optional --> <!-- optional --> <!-- optional --> <!-- use {{URL}} --> <!-- end infobox -->
|
TemplateData
TemplateData for Infobox sports team
insert description here
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | Name of the team, defaults to page title | String | optional |
logo | logo | Filename for logo | String | optional |
image | image | Filename for a image included in infobox | String | optional |
logo_size | logo_size | Size of logo in pixels | String | optional |
Image size | pixels | Size of image in pixels | String | optional |
alt | alt | alt text for image | String | optional |
caption | caption | Caption included under images | String | optional |
full_name | full_name | Full team name, if different from title/name | String | optional |
nickname | nickname | Team's nickname(s) | String | optional |
short_name | short_name | Team's abbreviated name | String | optional |
sport | sport | Sport(s) the teams play | String | optional |
school | school | School team is associated with | String | optional |
founded | founded | Year team founded | String | optional |
first_season | first_season | no description | String | optional |
disbanded | disbanded | Year team closed | String | optional |
last_season | last_season | Most recent season | String | optional |
current | current | no description | String | optional |
association | association | Association team is with | String | optional |
league | league | League team is in | String | optional |
conference | conference | no description | String | optional |
division | division | no description | String | optional |
region | region | no description | String | optional |
divisions | divisions | no description | String | optional |
history | history | no description | String | optional |
city | city | no description | String | optional |
location | location | no description | String | optional |
arena | arena | no description | String | optional |
ballpark | ballpark | no description | String | optional |
home_ground | home_ground | no description | String | optional |
ground | ground | no description | String | optional |
stadium | stadium | no description | String | optional |
colors | colors | no description | String | optional |
colours | colours | no description | String | optional |
anthem | anthem | no description | String | optional |
song | song | no description | String | optional |
owner | owner | no description | String | optional |
president | president | no description | String | optional |
chairman | chairman | no description | String | optional |
managing_director | managing_director | no description | String | optional |
ceo | ceo | no description | String | optional |
coach_label | coach_label | no description | String | optional |
coach | coach | no description | String | optional |
manager | manager | no description | String | optional |
gm | gm | no description | String | optional |
secretary | secretary | no description | String | optional |
captain | captain | no description | String | optional |
affiliations | affiliations | no description | String | optional |
record | record | no description | String | optional |
nat_championships | nat_championships | no description | String | optional |
championships | championships | no description | String | optional |
club_titles | club_titles | no description | String | optional |
team_titles | team_titles | no description | String | optional |
conference_titles | conference_titles | no description | String | optional |
league_titles | league_titles | no description | String | optional |
titles_label | titles_label | no description | String | optional |
titles | titles | no description | String | optional |
division_titles | division_titles | no description | String | optional |
stage_titles | stage_titles | no description | String | optional |
playoff_berths | playoff_berths | no description | String | optional |
cheerleaders | cheerleaders | no description | String | optional |
dancers | dancers | no description | String | optional |
mascot | mascot | no description | String | optional |
fanclub | fanclub | no description | String | optional |
broadcasters | broadcasters | no description | String | optional |
media | media | no description | String | optional |
season | season | no description | String | optional |
position | position | no description | String | optional |
uniforms | uniforms | no description | String | optional |
strip | strip | no description | String | optional |
branches | branches | no description | String | optional |
members | members | no description | String | optional |
partners | partners | no description | String | optional |
main_sponsor | main_sponsor | no description | String | optional |
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.