Template:Infobox sports team: Difference between revisions
use module:infoboximage for uniforms |
fix strip issue |
||
Line 139: | Line 139: | ||
| header62 = {{#if:{{{uniforms|}}}|Uniforms|{{#if:{{{strip|}}}|Strip}}}} |
| header62 = {{#if:{{{uniforms|}}}|Uniforms|{{#if:{{{strip|}}}|Strip}}}} |
||
| data63 = {{# |
| data63 = {{#if:{{{strip|}}}|{{{strip|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{uniforms|}}} }} |
||
| belowstyle = text-align:left |
| belowstyle = text-align:left |
Revision as of 21:46, 12 October 2019
{{Infobox | bodyclass = vcard
| titleclass = fn org | title =
| image = | caption =
| label1 = Full name | data1 = | label2 = Nicknames | data2 = | label3 = Short name | data3 = | label4 = Sports | data4 = | label5 = School | data5 = | label6 = Founded | data6 = | label7 = First season | data7 = | label8 = Folded | data8 = | label9 = Last season | data9 = | label10 = Association | data10 = | label11 = League | data11 = | label12 = Conference | data12 = | label13 = Division | data13 = | label14 = Region | data14 = | label15 = Team history | data15 = | label16 = Based in | data16 = | class16 = label | label17 = Location | data17 = | label18 = Arena | data18 = | label19 = Ballpark | data19 = | label20 = Stadium | data20 = | label21 = Colours | data21 = | label22 = Anthem | data22 = | label23 = Owner | data23 = | label24 = President | data24 = | label25 = Chairman | data25 = | label26 = Managing director | data26 = | label27 = CEO | data27 = | label28 = Head coach | data28 = | label29 = Manager | data29 = | label30 = General manager | data30 = | label31 = Secretary | data31 = | label32 = Captain | data32 = | label33 = Divisions | data33 = | label34 = Affiliation(s) | data34 = | label35 = Overall record | data35 = | label36 = Championships | data36 = | label37 = Titles | data37 = | label38 = League titles | data38 = | label39 = Conference titles | data39 = | label40 = Division titles | data40 = | label41 = Stage titles | data41 = | label42 = Playoff berths | data42 = | label43 = Cheerleaders | data43 = | label44 = Dancers | data44 = | label45 = Mascot | data45 = | label46 = Official fan club | data46 = | label47 = Broadcasters | data47 = | label48 = Local media | data48 = | label49 = {{{season}}} | data49 =
| label52 = Branches | data52 =
| label53 = Members | data53 =
| label54 = Partners | data54 =
| label55 = Main sponsor | data55 =
| label56 = Parent group | data56 =
| label57 = | data57 =
| label58 = | data58 =
| label59 = | data59 =
| label60 = | data60 =
| label61 = Website | data61 =
| header62 = | data63 =
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
{{Infobox | bodyclass = vcard
| titleclass = fn org | title = {{{name}}}
| image = [[File:{{{logo}}}|{{{logo_size}}}|alt={{{alt}}}|upright={{{upright}}}]] | caption = {{{caption}}}
| label1 = Full name | data1 = {{{full_name}}} | label2 = Nickname | data2 = {{{nickname}}} | label3 = Short name | data3 = {{{short_name}}} | label4 = Sport | data4 = {{{sport}}} | label5 = School | data5 = {{{school}}} | label6 = Founded | data6 = {{{founded}}} | label7 = First season | data7 = {{{first_season}}} | label8 = Folded | data8 = {{{folded}}} | label9 = Last season | data9 = {{{last_season}}} | label10 = Association | data10 = {{{association}}} | label11 = League | data11 = {{{league}}} | label12 = Conference | data12 = {{{conference}}} | label13 = Division | data13 = {{{division}}} | label14 = Region | data14 = | label15 = Team history | data15 = {{{history}}} | label16 = Based in | data16 = {{{city}}} | class16 = label | label17 = Location | data17 = {{{location}}} | label18 = Arena | data18 = {{{arena}}} | label19 = Ballpark | data19 = {{{ballpark}}} | label20 = Home ground | data20 = {{{home_ground}}} | label21 = Colors | data21 = {{{colors}}} | label22 = Anthem | data22 = {{{anthem}}} | label23 = Owner | data23 = {{{owner}}} | label24 = President | data24 = {{{president}}} | label25 = Chairman | data25 = {{{chairman}}} | label26 = Managing director | data26 = {{{managing_director}}} | label27 = CEO | data27 = {{{ceo}}} | label28 = {{{coach_label}}} | data28 = {{{coach}}} | label29 = Manager | data29 = {{{manager}}} | label30 = General manager | data30 = {{{gm}}} | label31 = Secretary | data31 = {{{secretary}}} | label32 = Captain | data32 = {{{captain}}} | label33 = Divisions | data33 = {{{divisions}}} | label34 = Affiliation(s) | data34 = {{{affiliations}}} | label35 = Overall record | data35 = {{{record}}} | label36 = National championships | data36 = {{{nat_championships}}} | label37 = Titles | data37 = {{{club_titles}}} | label38 = League titles | data38 = {{{league_titles}}} | label39 = Conference titles | data39 = {{{conference_titles}}} | label40 = {{{titles_label}}} | data40 = {{{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 = {{{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 = {{{blank_data}}}
| label58 = {{{blank_label1}}} | data58 = {{{blank_data1}}}
| label59 = {{{blank_label2}}} | data59 = {{{blank_data2}}}
| label60 = {{{blank_label3}}} | data60 = {{{blank_data3}}}
| label61 = Website | data61 = {{{website}}}
| header62 = Uniforms | data63 = {{{strip}}}
{{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.