Difference between revisions of "Template:Infobox athletic conference"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>ArsenalFan700 (updated.) |
imported>Zyxw m (include the two recently added parameters in list of known parameters, so not flagged by Module:Check for unknown parameters) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| − | |headerstyle = background: {{{color|#EDEDED}}}; color: {{{font_color|#000000}}}; | + | | headerstyle = background: {{{color|#EDEDED}}}; color: {{{font_color|#000000}}}; |
| − | | above | + | | above = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} |
| subheaderstyle = font-weight:bold; | | subheaderstyle = font-weight:bold; | ||
| − | | subheader1 = {{{short_name|}}} | + | | subheader1 = {{{short_name|}}} |
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|}}}|title={{{name|}}} logo}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|}}}|title={{{name|}}} logo}} | ||
| Line 38: | Line 38: | ||
}}{{#if:{{{coed|}}}|* coeducational: {{{coed}}} }} | }}{{#if:{{{coed|}}}|* coeducational: {{{coed}}} }} | ||
</div>}}}} | </div>}}}} | ||
| + | |||
| label8 = Region | | label8 = Region | ||
| data8 = {{{region|}}} | | data8 = {{{region|}}} | ||
| Line 56: | Line 57: | ||
| data13 = {{{champions|}}} | | data13 = {{{champions|}}} | ||
| − | | label14 = Most | + | | label14 = Most titles |
| − | | data14 = {{{ | + | | data14 = {{{most_titles|}}} |
| label15 = Website | | label15 = Website | ||
| Line 64: | Line 65: | ||
| header16 = {{#if:{{{map|}}}| Locations }} | | header16 = {{#if:{{{map|}}}| Locations }} | ||
| data17 = {{#if:{{{map|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|size={{{map_size|}}}|sizedefault=100x300px|title={{{name|}}} locations}}{{#if:{{{map_caption|}}}|<div style="font-size:95%">{{{map_caption}}}</div>}}}} | | data17 = {{#if:{{{map|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|size={{{map_size|}}}|sizedefault=100x300px|title={{{name|}}} locations}}{{#if:{{{map_caption|}}}|<div style="font-size:95%">{{{map_caption}}}</div>}}}} | ||
| − | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox athletic conference with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox athletic conference]] with unknown parameter "_VALUE_"|ignoreblank=y| association | coed | color | commissioner | dissolved | division | divisions | established | font_color | former_names | headquarters | hq_city | hq_state | logo | logo_size | map | map_caption | map_size | members | mens | name | region | short_name | since | sports | subdivision | subdivisions | titles | titles_label | website | womens }}<noinclude> | + | |
| − | {{ | + | }}{{#invoke:Check for unknown parameters | check | unknown={{main other|[[Category:Pages using infobox athletic conference with unknown parameters|_VALUE_{{PAGENAME}}]]}} | preview=Page using [[Template:Infobox athletic conference]] with unknown parameter "_VALUE_" | ignoreblank=y | association | champions | coed | color | commissioner | dissolved | division | divisions | established | font_color | former_names | headquarters | hq_city | hq_state | logo | logo_size | map | map_caption | map_size | members | mens | most_titles | name | region | short_name | since | sports | subdivision | subdivisions | titles | titles_label | website | womens }}<noinclude> |
| + | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 12:44, 10 February 2019
| Divisions | Script error: No such module "If empty". |
|---|---|
| Subdivisions | Script error: No such module "If empty". |
[[Category:Infobox templates|Template:Remove first word]]
| This template uses Lua: |
This template is designed to be put on general athletics conference pages. It should be placed as the very first item in an article.
Blank template
Template:Parameter names example
{{Infobox athletic conference
| name =
| short_name =
| logo =
| logo_size =
| established =
| dissolved =
| association =
| division =
| subdivision =
| members =
| sports =
| mens =
| womens =
| coed =
| region =
| former_names =
| hq_city =
| hq_state =
| commissioner =
| since =
| titles =
| titles_label =
| champions =
| most_titles =
| website =
| color =
| font_color =
| map =
| map_size =
| map_caption =
}}
Required parameters
- logo
- The team's logo (e.g., Image.jpg)
- division
- members
- Number of member schools
- sports
- Number of sports fielded
- mens
- Number of men's sports fielded
- womens
- Number of women's sports fielded
- region
- hq_city
- hq_state
- commissioner
- website
Optional parameters
- name
- Conference name (defaults to full page name)
- short_name
- Conference short name (e.g., "C-USA")
- logo_size
- The size in pixels at which the logo should be displayed (defaults to 100x150)
- established
- Year conference was founded
- dissolved
- Year conference was dissolved
- association
- e.g. NCAA, NAIA
- subdivision
- e.g. FBS, FCS
- coed
- Number of coeducational sports
- former_names
- since
- Year the commissioner took office
- titles
- titles_label
- champions
- Most recent champions (Applies to single sport conferences)
- most_titles
- The team with the most championships in the conference's history (Mostly applies to single sport conferences)
- color
- font_color
- map
- The size in pixels at which the map should be displayed (defaults to 100x300)
- map_size
- map_caption
Example
| Atlantic Coast Conference | |
|---|---|
| ACC | |
![]() | |
| Established | 1953 |
| Association | NCAA |
| Division | Script error: No such module "If empty". |
| Subdivision | Script error: No such module "If empty". |
| Members | 12 |
| Sports fielded |
|
| Region | Atlantic Coast |
| Former names | A Former Name Another Former Name |
| Headquarters | Greensboro, North Carolina |
| Commissioner | John Swofford (since 1997) |
| Champions | Clemson Tigers (2018) |
| Most titles | Clemson Tigers (18 titles) |
| Website | Template:URL |
| Locations | |
{{Infobox athletic conference
| name = Atlantic Coast Conference
| short_name = ACC
| logo = Wikipedia.png
| logo_size = 150
| established = 1953
| association = [[National Collegiate Athletic Association|NCAA]]
| division = [[NCAA Division I|Division I]]
| subdivision = FBS
| members = 12
| sports = 23
| mens = 12
| womens = 11
| region = [[East Coast of the United States|Atlantic Coast]]
| former_names = A Former Name<br/>Another Former Name
| hq_city = Greensboro
| hq_state = North Carolina
| commissioner = [[John Swofford]]
| since = 1997
| champions = [[Clemson Tigers Football|Clemson Tigers]] ([[2018 NCAA Division I FBS football season|2018]])
| most_titles = [[Clemson Tigers Football|Clemson Tigers]] (18 titles)
| website = {{URL|http://theacc.com}}
| color = #193980
| font_color = #FFFFFF
| map = ACC-USA-states (1).PNG
| map_size = 300
}}
Tracking category
| The above documentation is transcluded from Template:Infobox athletic conference/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
