Template:Infobox sports team: Difference between revisions
add module option |
Plastikspork (talk | contribs) Upmerging category |
||
(31 intermediate revisions by 9 users not shown) | |||
Line 5: | Line 5: | ||
| titleclass = fn org |
| titleclass = fn org |
||
| title = {{{name|{{{team|{{{title|{{{clubname|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}}}}}}}} |
| title = {{Br separated entries |
||
| 1 = {{{name|{{{team|{{{title|{{{clubname|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}}}}}}}} |
|||
| 2 = {{#if:{{{native_name|}}}|{{#if:{{{native_name_lang|}}}|<div class="nickname" lang="{{{native_name_lang}}}">}}{{{native_name}}}{{#if:{{{native_name_lang|}}}|</div>}}}} |
|||
}} |
|||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{image|}}}}}}|size={{{logo_size|{{{pixels|}}}}}}|sizedefault=frameless|upright={{{upright|}}}|alt={{{alt|}}}}} |
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{image|}}}}}}|size={{{logo_size|{{{pixels|}}}}}}|sizedefault=frameless|upright={{{upright|}}}|alt={{{alt|}}}}} |
||
Line 11: | Line 14: | ||
| label1 = Full name |
| label1 = Full name |
||
| data1 = {{{full_name|{{{fullname| |
| data1 = {{if empty|{{{full_name|}}}|{{{fullname|}}}}} |
||
| label2 = {{#if:{{{nickname|}}}|Nickname|Nicknames}} |
| label2 = {{#if:{{{nickname|}}}|Nickname|Nicknames}} |
||
| data2 = {{{nickname|{{{nicknames| |
| data2 = {{if empty|{{{nickname|}}}|{{{nicknames|}}}}} |
||
| label3 = Short name |
| label3 = Short name |
||
| data3 = {{{short_name|{{{shortname|}}}}}} |
| data3 = {{{short_name|{{{shortname|}}}}}} |
||
| label4 = {{if empty|{{{sport_label|}}}|{{#if:{{{game|}}}|Game|{{#if:{{{games|}}}|Games|{{#if:{{{sport|}}}|Sport|Sports}}}}}}}} |
| label4 = {{if empty|{{{sport_label|}}}|{{#if:{{{game|}}}|Game|{{#if:{{{games|}}}|Games|{{#if:{{{sport|}}}|Sport|Sports}}}}}}}} |
||
| data4 = {{{game|{{{games|{{{sport|{{{sports| |
| data4 = {{if empty|{{{game|}}}|{{{games|}}}|{{{sport|}}}|{{{sports|}}}}} |
||
| label5 = School |
| label5 = School |
||
| data5 = {{{school|}}} |
| data5 = {{{school|}}} |
||
Line 24: | Line 27: | ||
| label7 = First season |
| label7 = First season |
||
| data7 = {{{first_season|}}} |
| data7 = {{{first_season|}}} |
||
| label8 = {{#if:{{{folded|}}}|Folded|{{#if:{{{disbanded|}}}|Disbanded|{{#if:{{{closed|}}}|Closed|Dissolved}} }} }} |
|||
| label8 = Folded |
|||
| data8 = {{{folded|{{{disbanded|{{{closed|{{{dissolved| |
| data8 = {{if empty|{{{folded|}}}|{{{disbanded|}}}|{{{closed|}}}|{{{dissolved|}}}}} |
||
| label9 = Last season |
| label9 = Last season |
||
| data9 = {{{last_season|}}} |
| data9 = {{{last_season|}}} |
||
Line 49: | Line 52: | ||
| label19 = Ballpark |
| label19 = Ballpark |
||
| data19 = {{{ballpark|}}} |
| data19 = {{{ballpark|}}} |
||
| label20 = {{#if:{{{home_ground|{{{ground| |
| label20 = {{#if:{{{home_ground|}}}{{{ground|}}}|Home ground|{{#if:{{{stadiums|}}}|Stadiums|Stadium}}}} |
||
| data20 = {{{home_ground|{{{ground|{{{ |
| data20 = {{if empty|{{{home_ground|}}}|{{{ground|}}}|{{{stadiums|}}}|{{{stadium|}}}}} |
||
| label21 = {{#if:{{{colors|}}}|Colors|Colours}} |
| label21 = {{#if:{{{colors|}}}|Colors|Colours}} |
||
| data21 = {{{colors|{{{colours| |
| data21 = {{if empty|{{{colors|}}}|{{{colours|}}}}} |
||
| label22 = Anthem |
| label22 = Anthem |
||
| data22 = {{{anthem|{{{song|}}}}}} |
| data22 = {{{anthem|{{{song|}}}}}} |
||
Line 61: | Line 64: | ||
| label25 = Chairman |
| label25 = Chairman |
||
| data25 = {{{chairman|}}} |
| data25 = {{{chairman|}}} |
||
| label26 = |
| label26 = CEO |
||
| data26 = {{{ |
| data26 = {{{ceo|}}} |
||
| label27 = |
| label27 = Director general |
||
| data27 = {{{ |
| data27 = {{{director_general|}}} |
||
| label28 = |
| label28 = Managing director |
||
| data28 = {{{ |
| data28 = {{{managing_director|}}} |
||
| label29 = {{#if:{{{coach_label|}}}|{{{coach_label}}}|{{#if:{{{coaches|}}}|Coaches|Head coach}}}} |
|||
| label29 = Manager |
|||
| data29 = {{{ |
| data29 = {{#if:{{{coaches|}}}|{{{coaches|}}}|{{{coach|}}}}} |
||
| label30 = |
| label30 = Manager |
||
| data30 = {{{ |
| data30 = {{{manager|}}} |
||
| label31 = |
| label31 = General manager |
||
| data31 = {{{ |
| data31 = {{{gm|}}} |
||
| label32 = |
| label32 = Secretary |
||
| data32 = {{{ |
| data32 = {{{secretary|}}} |
||
| label33 = |
| label33 = Captain |
||
| data33 = {{{ |
| data33 = {{{captain|}}} |
||
| label34 = |
| label34 = Divisions |
||
| data34 = {{{ |
| data34 = {{{divisions|}}} |
||
| label35 = |
| label35 = Affiliation(s) |
||
| data35 = {{{ |
| data35 = {{{affiliations|}}} |
||
| label36 = Overall record |
|||
⚫ | |||
| data36 = {{{ |
| data36 = {{{record|}}} |
||
⚫ | |||
| label37 = Titles |
|||
| data37 = {{ |
| data37 = {{if empty|{{{nat_championships|}}}|{{{championships|}}}}} |
||
| label38 = |
| label38 = Titles |
||
| data38 = {{{ |
| data38 = {{if empty|{{{club_titles|}}}|{{{team_titles|}}}}} |
||
| label39 = |
| label39 = League titles |
||
| data39 = {{{ |
| data39 = {{{league_titles|}}} |
||
| label40 = |
| label40 = Conference titles |
||
| data40 = {{{ |
| data40 = {{{conference_titles|}}} |
||
| label41 = |
| label41 = {{#if:{{{titles_label|}}}|{{{titles_label}}}|Division titles}} |
||
| data41 = {{{ |
| data41 = {{if empty|{{{titles|}}}|{{{division_titles|}}}}} |
||
| label42 = |
| label42 = Stage titles |
||
| data42 = {{{ |
| data42 = {{{stage_titles|}}} |
||
| label43 = |
| label43 = Playoff berths |
||
| data43 = {{{ |
| data43 = {{{playoff_berths|}}} |
||
| label44 = |
| label44 = Cheerleaders |
||
| data44 = {{{ |
| data44 = {{{cheerleaders|}}} |
||
| label45 = |
| label45 = Dancers |
||
| data45 = {{{ |
| data45 = {{{dancers|}}} |
||
| label46 = |
| label46 = Mascot |
||
| data46 = {{{ |
| data46 = {{{mascot|}}} |
||
| label47 = |
| label47 = Official fan club |
||
| data47 = {{{ |
| data47 = {{{fanclub|}}} |
||
| label48 = |
| label48 = Broadcasters |
||
| data48 = {{{ |
| data48 = {{{broadcasters|}}} |
||
| label49 = |
| label49 = Local media |
||
| data49 = {{ |
| data49 = {{{media|}}} |
||
⚫ | |||
⚫ | |||
| label52 = Branches |
| label52 = Branches |
||
Line 125: | Line 130: | ||
| data56 = {{{parent_group|}}} |
| data56 = {{{parent_group|}}} |
||
| |
| header57 = {{#if:{{{Largest win|}}}|Biggest win}} |
||
| |
| data58 = {{{Largest win|}}} |
||
| |
| header59 = {{#if:{{{Largest loss|}}}|Biggest defeat}} |
||
| |
| data60 ={{{Largest loss|}}} |
||
⚫ | |||
⚫ | |||
| |
| label61 = {{{blank_label|}}} |
||
| |
| data61 = {{#if:{{{blank_label|}}}|{{{blank_data|}}}}} |
||
| |
| label62 = {{{blank_label1|}}} |
||
| |
| data62 = {{#if:{{{blank_label1|}}}|{{{blank_data1|}}}}} |
||
| label63 = {{{blank_label2|}}} |
|||
⚫ | |||
| data63 = {{#if:{{{ |
| data63 = {{#if:{{{blank_label2|}}}|{{{blank_data2|}}}}} |
||
| |
| label64 = {{{blank_label3|}}} |
||
| |
| data64 = {{#if:{{{blank_label3|}}}|{{{blank_data3|}}}}} |
||
| label65 = Website |
|||
| data65 = {{{website|}}} |
|||
⚫ | |||
| data67 = {{#if:{{{uniforms|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{uniforms|}}} }}|{{{strip|}}} }} |
|||
| data68 = {{{module|}}} |
|||
| data69 = {{{module1|}}} |
|||
| data70 = {{{module2|}}} |
|||
| data71 = {{#if:{{{prevseason|}}}{{{nextseason|}}}|{{succession links| left = {{{prevseason|}}}| right = {{{nextseason|}}} }} }} |
|||
| belowstyle = text-align:left |
| belowstyle = text-align:left |
||
| below = {{{footnotes|}}}{{#if:{{{current|}}}|<div style="text-align: center;">{{Current sports event icon|sport={{{current_icon|{{{sport|}}}}}}|size=33px}} ''[[{{{current}}}|Current season]]''</div>}} |
| 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 | 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 | module | module1 | module2 | 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> |
}}{{#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 | coaches | colors | colours | conference | conference_titles | current | current_icon | dancers | director_general | 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 | module | module1 | module2 | name | nat_championships | native_name_lang | native_name | nextseason | nickname | nicknames | owner | owners | owntitle | parent_group | partners | pixels | playoff_berths | position | president | prevseason | record | region | school | season | secretary | short_name | shortname | song | sport | sport_label | sports | stadium | stadiums | 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> |
Latest revision as of 23:09, 25 December 2023
This template is used on approximately 2,300 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 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}}} |
CEO | {{{ceo}}} |
Director general | {{{director_general}}} |
Managing director | {{{managing_director}}} |
{{{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 =
| director_general =
| 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 =
| module1 =
| module2 =
}}
|
<!-- 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 director general -->
<!-- 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}} -->
<!-- optional -->
<!-- optional -->
<!-- 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 |
director_general | director_general | 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
- 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.