Template:Infobox sports team/doc: Difference between revisions

Jump to navigation Jump to search
m (1 revision imported)
en>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{Template shortcuts|Infobox sport club|Infobox sports club|Infobox eSports organization}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}


{{shortcut|Template:Infobox sport club|Template:Infobox sports club|Template:Infobox eSports organization}}
{{Parameter names example|_template=| 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 | dancers | disbanded | dissolved | division | division_titles | fanclub | first_season | folded | founded | full_name | fullname | 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 | parent_group | partners | pixels | playoff_berths | position | president | record | school | season | secretary | short_name | song | sport | stadium | stage_titles | strip | team | team_titles | title | titles | titles_label | uniforms | website }}
== Usage ==
== Usage ==
{{Parameter names example|_template=| 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 | dancers | disbanded | dissolved | division | division_titles | divisions | fanclub | first_season | folded | founded | full_name | fullname | 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 | parent_group | partners | pixels | playoff_berths | position | president | record | school | season | secretary | short_name | song | sport | stadium | stage_titles | strip | team | team_titles | title | titles | titles_label | uniforms | website }}
<div style="overflow:auto; background: transparent;">
<div style="overflow:auto; background: transparent;">
{{col-begin|width=auto}}
{{col-begin|width=auto}}
Line 20: Line 22:
| sport_label      =  
| sport_label      =  
| sport            =  
| sport            =  
| game              =
| founded          =  
| founded          =  
| folded            =  
| folded            =  
| current          =  
| current          =  
| current_icon      =
| league            =
| league            =
| conference        =  
| conference        =  
Line 44: Line 48:
| gm                =  
| gm                =  
| affiliations      =  
| affiliations      =  
| divisions        =
| championships    =  
| championships    =  
| League_titles    =  
| League_titles    =  
Line 86: Line 91:
<!-- optional label to replace "Sport" -->
<!-- optional label to replace "Sport" -->
<!-- or | sports = -->
<!-- or | sports = -->
<!-- or | games; optional parameter for game (e.g. ''League of Legends'') -->
<!-- use {{start date}} -->
<!-- use {{start date}} -->
<!-- use {{end date}} -->
<!-- use {{end date}} -->
<!-- current season of team (e.g., [[2013 Jacksonville Sharks season|2013]]) -->
<!-- current season of team (e.g., 2013 Jacksonville Sharks season) -->
<!-- icon for the current season (e.g., Basketball, tennis, esports, etc.) -->
<!-- league -->
<!-- league -->
<!-- conference -->
<!-- conference -->
<!-- division -->
<!-- division -->
<!-- region -->
<!-- history of the club, which could include facts such as previous names or former locations -->
<!-- history of the club, which could include facts such as previous names or former locations -->
<!-- arena -->
<!-- arena -->
Line 108: Line 116:
<!-- name of manager -->
<!-- name of manager -->
<!-- name of general manager -->
<!-- name of general manager -->
<!-- teams affiliated with the team -->
<!-- divisions of the team -->
<!-- list of championships won -->
<!-- list of championships won -->
<!-- conference titles (interchangeable with league titles) -->
<!-- conference titles (interchangeable with league titles) -->
Line 270: Line 280:
"region": {
"region": {
"label": "region",
"label": "region",
"type": "string",
"required": false
},
"divisions": {
"label": "divisions",
"type": "string",
"type": "string",
"required": false
"required": false
Line 530: Line 545:
==Microformat==
==Microformat==
{{UF-hcard-org}}
{{UF-hcard-org}}
== Tracking category ==
* {{clc|Pages using infobox sports team with unknown parameters}}


== See also ==
== See also ==
* {{tl|Infobox sports league}}
* {{tl|Infobox sports league}}


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<includeonly>{{Sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Sports infobox templates|Sports Team]]
[[Category:Sports infobox templates|Sports Team]]
[[Category:Templates that add a tracking category]]
}}</includeonly>
}}</includeonly>

Revision as of 21:25, 25 April 2020

Usage

{{{name}}}
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{alt}}}]]
{{{caption}}}
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 sports event [[{{{current}}}|Current season]]

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 sports team

insert description here

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename

Name of the team, defaults to page title

Stringoptional
logologo

Filename for logo

Stringoptional
imageimage

Filename for a image included in infobox

Stringoptional
logo_sizelogo_size

Size of logo in pixels

Stringoptional
Image sizepixels

Size of image in pixels

Stringoptional
altalt

alt text for image

Stringoptional
captioncaption

Caption included under images

Stringoptional
full_namefull_name

Full team name, if different from title/name

Stringoptional
nicknamenickname

Team's nickname(s)

Stringoptional
short_nameshort_name

Team's abbreviated name

Stringoptional
sportsport

Sport(s) the teams play

Stringoptional
schoolschool

School team is associated with

Stringoptional
foundedfounded

Year team founded

Stringoptional
first_seasonfirst_season

no description

Stringoptional
disbandeddisbanded

Year team closed

Stringoptional
last_seasonlast_season

Most recent season

Stringoptional
currentcurrent

no description

Stringoptional
associationassociation

Association team is with

Stringoptional
leagueleague

League team is in

Stringoptional
conferenceconference

no description

Stringoptional
divisiondivision

no description

Stringoptional
regionregion

no description

Stringoptional
divisionsdivisions

no description

Stringoptional
historyhistory

no description

Stringoptional
citycity

no description

Stringoptional
locationlocation

no description

Stringoptional
arenaarena

no description

Stringoptional
ballparkballpark

no description

Stringoptional
home_groundhome_ground

no description

Stringoptional
groundground

no description

Stringoptional
stadiumstadium

no description

Stringoptional
colorscolors

no description

Stringoptional
colourscolours

no description

Stringoptional
anthemanthem

no description

Stringoptional
songsong

no description

Stringoptional
ownerowner

no description

Stringoptional
presidentpresident

no description

Stringoptional
chairmanchairman

no description

Stringoptional
managing_directormanaging_director

no description

Stringoptional
ceoceo

no description

Stringoptional
coach_labelcoach_label

no description

Stringoptional
coachcoach

no description

Stringoptional
managermanager

no description

Stringoptional
gmgm

no description

Stringoptional
secretarysecretary

no description

Stringoptional
captaincaptain

no description

Stringoptional
affiliationsaffiliations

no description

Stringoptional
recordrecord

no description

Stringoptional
nat_championshipsnat_championships

no description

Stringoptional
championshipschampionships

no description

Stringoptional
club_titlesclub_titles

no description

Stringoptional
team_titlesteam_titles

no description

Stringoptional
conference_titlesconference_titles

no description

Stringoptional
league_titlesleague_titles

no description

Stringoptional
titles_labeltitles_label

no description

Stringoptional
titlestitles

no description

Stringoptional
division_titlesdivision_titles

no description

Stringoptional
stage_titlesstage_titles

no description

Stringoptional
playoff_berthsplayoff_berths

no description

Stringoptional
cheerleaderscheerleaders

no description

Stringoptional
dancersdancers

no description

Stringoptional
mascotmascot

no description

Stringoptional
fanclubfanclub

no description

Stringoptional
broadcastersbroadcasters

no description

Stringoptional
mediamedia

no description

Stringoptional
seasonseason

no description

Stringoptional
positionposition

no description

Stringoptional
uniformsuniforms

no description

Stringoptional
stripstrip

no description

Stringoptional
branchesbranches

no description

Stringoptional
membersmembers

no description

Stringoptional
partnerspartners

no description

Stringoptional
main_sponsormain_sponsor

no description

Stringoptional

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.

Tracking category

See also