Difference between revisions of "Template:Infobox athletic conference/doc"

From blackwiki
Jump to navigation Jump to search
imported>ArsenalFan700
(→‎Example: fixed.)
imported>Zyxw
(add Parameter names example, add missing parameters to blank template and parameters sections, misc formatting)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 +
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 +
 
This template is designed to be put on general athletics conference pages. It should be placed as the very first item in an article.
 
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 ==
 
== Blank template ==
<pre>
+
{{Parameter names example | color= | font_color= | name | short_name | logo | logo_size | established | dissolved | association | division | divisions | subdivision | subdivisions | members | sports | mens | womens | coed | region | former_names | hq_city | hq_state | headquarters | commissioner | since | titles_label= | titles | champions | most_titles | website | map | map_size | map_caption }}
 +
 
 +
<pre style="overflow:auto">
 
{{Infobox athletic conference
 
{{Infobox athletic conference
 
| name        =  
 
| name        =  
 
| short_name  =  
 
| short_name  =  
 +
| logo        =
 +
| logo_size    =
 
| established  =  
 
| established  =  
 
| dissolved    =  
 
| dissolved    =  
| logo        =
 
| logo_size    =
 
 
| association  =  
 
| association  =  
 
| division    =  
 
| division    =  
Line 26: Line 30:
 
| commissioner =  
 
| commissioner =  
 
| since        =  
 
| since        =  
 +
| titles      =
 +
| titles_label =
 
| champions    =  
 
| champions    =  
| most successful team =  
+
| most_titles  =  
 
| website      =  
 
| website      =  
 
| color        =  
 
| color        =  
Line 33: Line 39:
 
| map          =  
 
| map          =  
 
| map_size    =  
 
| map_size    =  
 +
| map_caption  =
 
}}
 
}}
 
</pre>
 
</pre>
 +
{{clear}}
  
 
== Required parameters ==
 
== Required parameters ==
Line 51: Line 59:
 
;hq_city
 
;hq_city
 
;hq_state
 
;hq_state
;commissioner  
+
;commissioner
 
;website
 
;website
  
Line 59: Line 67:
 
;short_name
 
;short_name
 
:Conference short name (e.g., "C-USA")
 
:Conference short name (e.g., "C-USA")
 +
;logo_size
 +
:The size in pixels at which the logo should be displayed (defaults to ''100x150'')
 
;established
 
;established
 
:Year conference was founded
 
:Year conference was founded
 
;dissolved
 
;dissolved
 
:Year conference was dissolved
 
:Year conference was dissolved
;logo_size
 
:The size in pixels at which the logo should be displayed (defaults to ''100x150'')
 
 
;association
 
;association
 
:e.g. [[National Collegiate Athletic Association|NCAA]], [[National Association of Intercollegiate Athletics|NAIA]]
 
:e.g. [[National Collegiate Athletic Association|NCAA]], [[National Association of Intercollegiate Athletics|NAIA]]
Line 74: Line 82:
 
;since
 
;since
 
:Year the commissioner took office
 
:Year the commissioner took office
 +
;titles
 +
;titles_label
 
;champions
 
;champions
 
:Most recent champions (Applies to single sport conferences)
 
:Most recent champions (Applies to single sport conferences)
;most successful team
+
;most_titles
 
:The team with the most championships in the conference's history (Mostly applies to single sport conferences)
 
:The team with the most championships in the conference's history (Mostly applies to single sport conferences)
 
;color
 
;color
Line 83: Line 93:
 
:The size in pixels at which the map should be displayed (defaults to ''100x300'')
 
:The size in pixels at which the map should be displayed (defaults to ''100x300'')
 
;map_size
 
;map_size
 +
;map_caption
  
 
== Example ==
 
== Example ==
Line 88: Line 99:
 
| name        = Atlantic Coast Conference
 
| name        = Atlantic Coast Conference
 
| short_name  = ACC
 
| short_name  = ACC
| established  = 1953
 
 
| logo        = Wikipedia.png
 
| logo        = Wikipedia.png
 
| logo_size    = 150
 
| logo_size    = 150
 +
| established  = 1953
 
| association  = [[National Collegiate Athletic Association|NCAA]]
 
| association  = [[National Collegiate Athletic Association|NCAA]]
 
| division    = [[NCAA Division I|Division I]]
 
| division    = [[NCAA Division I|Division I]]
Line 105: Line 116:
 
| since        = 1997
 
| since        = 1997
 
| champions    = [[Clemson Tigers football|Clemson Tigers]] ([[2018 NCAA Division I FBS football season|2018]])
 
| champions    = [[Clemson Tigers football|Clemson Tigers]] ([[2018 NCAA Division I FBS football season|2018]])
| most_successful_team = [[Clemson Tigers football|Clemson Tigers]] (18 titles)
+
| most_titles = [[Clemson Tigers football|Clemson Tigers]] (18 titles)
 
| website      = {{URL|http://theacc.com}}
 
| website      = {{URL|http://theacc.com}}
 
| color        = #193980
 
| color        = #193980
Line 117: Line 128:
 
| name        = Atlantic Coast Conference
 
| name        = Atlantic Coast Conference
 
| short_name  = ACC
 
| short_name  = ACC
| established  = 1953
 
 
| logo        = Wikipedia.png
 
| logo        = Wikipedia.png
 
| logo_size    = 150
 
| logo_size    = 150
 +
| established  = 1953
 
| association  = [[National Collegiate Athletic Association|NCAA]]
 
| association  = [[National Collegiate Athletic Association|NCAA]]
 
| division    = [[NCAA Division I|Division I]]
 
| division    = [[NCAA Division I|Division I]]
Line 134: Line 145:
 
| since        = 1997
 
| since        = 1997
 
| champions    = [[Clemson Tigers Football|Clemson Tigers]] ([[2018 NCAA Division I FBS football season|2018]])
 
| champions    = [[Clemson Tigers Football|Clemson Tigers]] ([[2018 NCAA Division I FBS football season|2018]])
| most successful team = [[Clemson Tigers Football|Clemson Tigers]] (18 titles)
+
| most_titles  = [[Clemson Tigers Football|Clemson Tigers]] (18 titles)
 
| website      = {{URL|http://theacc.com}}
 
| website      = {{URL|http://theacc.com}}
 
| color        = #193980
 
| color        = #193980
Line 140: Line 151:
 
| map          = ACC-USA-states (1).PNG
 
| map          = ACC-USA-states (1).PNG
 
| map_size    = 300
 
| map_size    = 300
}}</pre>
+
}}
<includeonly>
+
</pre>
 +
{{clear}}
 +
 
 +
== Tracking category ==
 +
* {{clc|Pages using infobox athletic conference with unknown parameters}}
 +
 
 +
<includeonly>{{sandbox other||
 +
<!-- Categories below this line and interwikis at Wikidata -->
 
[[Category:College athletics conferences|*]]
 
[[Category:College athletics conferences|*]]
 
[[Category:American college sports infobox templates|Athletics Conferences]]
 
[[Category:American college sports infobox templates|Athletics Conferences]]
</includeonly>
+
[[Category:Templates that add a tracking category|{{PAGENAME}}]]
 +
}}</includeonly>

Latest revision as of 13:02, 10 February 2019

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
Atlantic Coast Conference logo
Established1953
AssociationNCAA
DivisionScript error: No such module "If empty".
SubdivisionScript error: No such module "If empty".
Members12
Sports fielded
  • 23
    • men's: 12
    • women's: 11
RegionAtlantic Coast
Former namesA Former Name
Another Former Name
HeadquartersGreensboro, North Carolina
CommissionerJohn Swofford (since 1997)
ChampionsClemson Tigers (2018)
Most titlesClemson Tigers (18 titles)
WebsiteTemplate:URL
Locations
Atlantic Coast Conference 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