Template:Infobox sports team: Difference between revisions
Mundy Swoosh (talk | contribs) adde CDL major wins catergory Tags: Reverted Mobile edit Mobile web edit |
Plastikspork (talk | contribs) Upmerging category |
||
(22 intermediate revisions by 8 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 127: | Line 130: | ||
| data56 = {{{parent_group|}}} |
| data56 = {{{parent_group|}}} |
||
| |
| header57 = {{#if:{{{Largest win|}}}|Biggest win}} |
||
| |
| data58 = {{{Largest win|}}} |
||
| header59 = {{#if:{{{Largest loss|}}}|Biggest defeat}} |
|||
| label58 = Major wins |
|||
| |
| data60 ={{{Largest loss|}}} |
||
⚫ | |||
| data59 = {{#if:{{{blank_label2|}}}|{{{blank_data2|}}}}} |
|||
| |
| label61 = {{{blank_label|}}} |
||
| |
| data61 = {{#if:{{{blank_label|}}}|{{{blank_data|}}}}} |
||
| |
| label62 = {{{blank_label1|}}} |
||
| |
| data62 = {{#if:{{{blank_label1|}}}|{{{blank_data1|}}}}} |
||
⚫ | |||
⚫ | |||
| 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|}}} |
|||
⚫ | |||
⚫ | |||
| 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 | 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 | 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 |
}}{{#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> |
||
}}<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.