Difference between revisions of "Template:Infobox university"
imported>Frietjes |
imported>Echarlie m (1 revision imported) |
(No difference)
|
Latest revision as of 18:17, 4 May 2017
Uses Lua: |
{{{native_name}}} | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright=1|{{{image_alt}}}]] {{{caption}}} | |
Latin: {{{latin_name}}} | |
Other name | {{{other_name}}} or {{{other_names}}} |
---|---|
Former name | {{{former_name}}} or {{{former_names}}} |
Motto | {{{motto}}} |
Motto in English | {{{mottoeng}}} |
Type | {{{type}}} |
Established |
{{{established}}} [ –{{{closed}}} ] |
Founder | {{{founder}}} or {{{founders}}} |
Parent institution | {{{parent}}} |
Affiliation | {{{affiliation}}} |
Religious affiliation | {{{religious_affiliation}}} |
Academic affiliation | {{{academic_affiliation}}} |
Endowment | {{{endowment}}} |
Budget | {{{budget}}} |
Officer in charge | {{{officer_in_charge}}} |
Chairman | {{{chairman}}} |
Chairperson | {{{chairperson}}} |
Chancellor | {{{chancellor}}} |
President | {{{president}}} |
Vice-president | {{{vice-president}}} |
Superintendent | {{{superintendent}}} |
Provost | {{{provost}}} |
Vice-Chancellor | {{{vice_chancellor}}} |
Rector | {{{rector}}} |
Principal | {{{principal}}} |
Dean | {{{dean}}} |
Director | {{{director}}} |
{{{head_label}}} | {{{head}}} |
Academic staff | {{{academic_staff}}} |
Administrative staff | {{{administrative_staff}}} |
Students |
{{{students}}} {{{enrollment}}} |
Undergraduates | {{{undergrad}}} |
Postgraduates | {{{postgrad}}} |
{{{doctoral}}} | |
Other students | {{{other_students}}} |
Location |
{{{location}}} or {{{address}}} (optional) {{{city}}}, {{{state}}}, {{{province}}}, {{{postalcode}}} or {{{zipcode}}} (optional) {{{country}}} {{{coordinates}}} |
Campus | {{{campus}}} |
Language | {{{language}}} |
{{{free_label}}} | {{{free}}} |
Colors | {{{colors}}} or {{{colours}}} |
Athletics | {{{athletics}}} |
Sports | {{{sports}}} |
Nickname | {{{sports_nickname}}} |
Mascot | {{{mascot}}} or {{{mascots}}} |
Sporting affiliations | {{{sporting_affiliations}}} |
Website | {{{website}}} |
[[File:{{{logo}}}|frameless]] | |
{{{nrhp}}} or {{{embedded}}} | |
{{{pushpin_map}}} {{{footnotes}}} |
{{Infobox university}} is an infobox for articles about universities and colleges; see Wikipedia:College and university article guidelines.
Contents
Blank syntax
All fields other than name
, established
and city
are optional. The parameter keywords, as below, must be in lower case.
{{Infobox university | name = | native_name = | native_name_lang = | image = | image_size = | image_alt = | caption = | latin_name = | other_name = <!--or, other_names--> | former_name = <!--or, former_names--> | motto = | motto_lang = | mottoeng = | type = | established = <!-- {{start date|YYYY}} --> | closed = <!-- {{end date|YYYY}} --> | founder = | parent = | affiliation = | religious_affiliation = | academic_affiliation = | endowment = | budget = | officer_in_charge = | chairman = | chairperson = | chancellor = | president = | vice-president = | superintendent = | provost = | vice_chancellor = | rector = | principal = | dean = | director = | head_label = | head = | academic_staff = | administrative_staff = | students = | undergrad = | postgrad = | doctoral = | other = | address = <!-- Please discuss before using --> | city = | state = | province = | country = | postcode = <!--or, postalcode or zipcode--> | coordinates = <!-- {{Coord}} --> | campus = | language = | free_label = | free = | colors = <!--or, colours= --> | athletics = | sports = | athletics_nickname = <!--or, sports_nickname= --> | mascot = <!--or, mascots= --> | sporting_affiliations = | website = <!-- {{URL|example.com}} --> | logo = | logo_size = | logo_alt = | footnotes = }}
Example
Universiti von Illyria | |
Seal of University of Illyria | |
Latin: Universitas Illyriensis | |
Other name | UI |
---|---|
Former name | Utopian University |
Motto | Melior a lepidus fossor quam a stultus lepor lepos |
Motto in English | "Better a witty fool than a foolish wit" |
Type | Public |
Active | 1666 | –1850
Affiliation | Church of Illyria |
Endowment | US$ 123,456,789 |
Chancellor | Jane Doe |
Visitor | Archbishop Doe |
Academic staff | 300 |
Administrative staff | 600 |
Students | 10,000 |
Undergraduates | 5,000 |
Postgraduates | 1,000 |
100 | |
Other students | 1,200a |
Location |
Illyria, Illyria, Utopia 12°20′N 98°46′W / 12.34°N 98.76°W |
Campus | Rural |
Colours | Red and Blue |
Sports | |
Nickname | The Nematodes |
Mascot | Nobby the Nematode |
Sporting affiliations | Utopian Athletic League |
Website |
www |
Note: This university is completely fictional. |
{{Infobox university | name = University of Illyria | native_name = Universiti von Illyria | native_name_lang = de | other_name = UI | image = Dabney-minimalist-vector.svg | image_size = 150px | image_alt = scroll atop shield outline | caption = Seal of University of Illyria | latin_name = Universitas Illyriensis | former_name = Utopian University | motto = ''Melior a lepidus fossor quam a stultus lepor lepos'' | motto_lang = la | mottoeng = "Better a witty fool than a foolish wit" | established = {{start date|1666}} | closed = {{end date|1850}} | type = [[Public university|Public]] | affiliation = Church of Illyria | endowment = [[US$]] 123,456,789 | officer_in_charge = | chairman = | chancellor = [[Jane Doe]] | president = | vice-president = | superintendent = | provost = | vice_chancellor = | rector = | principal = | dean = | director = | head_label = [[Visitor]] | head = [[John Doe|Archbishop Doe]] | academic_staff = 300 | administrative_staff = 600 | students = 10,000 | undergrad = 5,000 | postgrad = 1,000 | doctoral = 100 | other_students = 1,200{{sup|a}} | city = [[Illyria]] | state = [[Illyria]] | province = | country = [[Utopia]] | coordinates = {{coord|12.34|-98.76 |type:edu |display=inline}} | campus = [[Rural area|Rural]] | language = | colours = {{color box|red}}{{color box|blue}} Red and Blue | athletics = | sports = {{hlist |[[Track and field|Track]] |[[Water polo]]}} | sports_nickname = The Nematodes | mascot = Nobby the Nematode | sporting_affiliations = [[Utopian Athletic League]] | website = {{URL|www.illyria.edu}} | logo = EUSP logo lowres.jpg | logo_size = 50px | logo_alt = Spiral on stripes | footnotes = <hr/> <div style="text-align:left;"> {{sup|a}} [[Further education]].<br/> </div> Note: This university is completely fictional. }}
Parameter descriptions
Parameters whose names are italicized and underlined are required. Any examples are not intended to represent or reflect actual information or statistics.
- name
- The institution's official name in English.
- native_name
- The institution's official name in its local language or languages (if more than one, separate using {{plainlist}} or {{ublist}}).
- native_name_lang
- ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead.
- other_name
- (or other_names) For any alternative and current names by which the university is known, such as acronyms and abbreviations.
- former_name
- (or former_names) Any former name or names of the institution.
- image
- University-related graphic, preferably the university's official seal or logo. Sizes the image to the user's preference by default (200px for readers who aren't logged in). This parameter can also be specified as "image_name=".
- image_size
- width of image, as 120px. This defaults to the user's thumbnail size.
- image_alt
- Alt text describing image, for visually impaired readers. This should not contain wiki syntax and should not duplicate the caption (see WP:ALT).
- caption
- Caption text for the infobox image. May include wiki syntax.
- latin_name
- University name in Latin.
- motto
- University's motto (usually Latin).
- motto_lang
- If the motto is not in English, the ISO 639-2 code for its language (e.g. "fr" for French). If more than one, use {{lang}} instead.
- mottoeng
- University's motto in English if another language is used above.
- established
- Date of establishment/founding. Use the template {{start date}} and give year if no more exact date available.
- closed
- For former universities, provide the date of closure. Use the template {{end date}} and give year if no more exact date available.
- type
- e.g. public, private, four year, undergraduate, graduate, etc.
- parent
- Name of any parent institution (e.g. for some colleges, a university).
- affiliation
- The institute's affiliation (if not specifically religious or academic).
- religious_affiliation
- Use if the institution has a religious affiliation.
- academic_affiliation
- (or academic_affiliations) Use if the institution has an academic affiliation.
- endowment
- Financial endowment value.
- budget
- Total budget / income.
- rector, officer_in_charge, chairman, chancellor, president, vice-president, superintendent, provost, vice_chancellor, principal, dean, director
- Names of university officers. Use all that apply and wikilink where possible.
- head_label, head
- Use head_label to specify another officer title; use head for the officer's name.
- academic_staff
- Number of faculty / academic staff members.
- administrative_staff
- Number of administrative and support staff.
- students
- Total number of students of any/all types.
- undergrad
- Total undergraduate enrollment.
- postgrad
- Total postgraduate enrollment.
- doctoral
- Total doctoral enrollment.
- other
- Other student enrollment. Specify a type or types if possible.
- address
- The street address of the university. Note: consider a discussion on the talk page before using this field. In many instances, public institutions have more than one campus, and an address field is not representative.
- city
- City where the institution is located (wikilink if possible).
- state
- State or similar administrative subdivision. Use in conjunction with country and to the exclusion of province. Wikilink if possible.
- province
- For all other administrative subdivisions; use as an alternative to state in conjunction with country.
- country
- Country in which the university is located, based or registered. Use in conjunction with city and, optionally, state or province. Wikilink if possible.
- postcode / postalcode / zipcode
- Postal code or Zip Code.
- coordinates
- Displays coordinates, in parentheses, after the location fields. Use {{Coord}} with type:edu and display=inline,title.
- campus
- Type/nature of the institution's campus (e.g. urban, rural, multiple sites).
- language
- Language commonly used for instruction at the institution.
- free_label, free
- Use free_label to display any specialty field title. Use free to display the related data.
- colors / colours
- Institution's official colo(u)rs. Use the appropriate parameter based on whether the location primarily uses the spelling color or colour.
- athletics / sports
- Institution's primary or major athletics or other sporting activities.
- athletics_nickname / sports_nickname
- (or athletics_nicknames / sports_nicknames) Institution's athletics or other sports' nickname/s and/or moniker/s.
- mascot
- (or mascots) Institution's (athletics) mascot or mascots.
- sporting_affiliations
- List of institution's sporting affiliations and/or memberships (use {{plainlist}} or {{ublist}}).
- website
- Institution's official website (homepage). Specify using {{URL}}.
- logo
- For a (closely-)related athletics/sports logo, corporate emblem or similar graphic. As with image, use only the image name, without a File: or Image: prefix.
- footnotes
- Footnotes for the infobox. Useful for including references for data.
Microformat
The HTML mark-up produced by this template includes an hCard microformat that makes an organization's details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.- 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 this microformat uses 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.
TemplateData
See the monthly error report for this template.
TemplateData for Infobox university
<templatedata>
{
"description": "An infobox for articles about universities and colleges.",
"params": {
"name": {
"required": true,
"type": "string/line",
"label": "Name (in English)",
"description": "Official name in English."
},
"native_name": {
"type": "string/line",
"label": "Native Name",
"description": "Name in its native language."
},
"native_name_lang": {
"type": "string/line",
"label": "Native Name Language",
"description": "ISO 639-2 code e.g. 'fr' for French."
},
"image": {
"type": "string/line",
"label": "Image Name",
"description": "University-related graphic, preferably the university's official seal or logo. Use the image filename without File: namespace prefix. Sizes the image to the user's preference by default (200px for readers who aren't logged in).",
"aliases": [
"image_name"
]
},
"image_size": {
"type": "string/line",
"label": "Image Size",
"description": "Use in conjunction with image. Allows editors to specify an image width rather than use the default."
},
"image_alt": {
"type": "string",
"label": "Alternative Text for Image",
"description": "Alt text for image, for visually impaired readers. This should not contain wiki syntax, and should not duplicate the caption. See WP:ALT."
},
"caption": {
"type": "string",
"label": "Caption",
"description": "Caption text for the infobox image. May include wiki syntax."
},
"latin_name": {
"type": "string/line",
"label": "Latin Name",
"description": "University name in Latin."
},
"motto": {
"type": "string",
"label": "Motto",
"description": "University's motto; usually in Latin."
},
"motto_lang": {
"type": "string",
"label": "Motto Language",
"description": "If the motto is not in English, the ISO 639-2 code for its language (e.g. \"fr\" for French). If more than one, use {{{2}}} instead."
},
"mottoeng": {
"type": "string",
"label": "Motto (in English)",
"description": "University's motto in English if another language is used above."
},
"established": {
"required": true,
"type": "string/line",
"label": "Year Established",
"description": "Date of establishment/founding. Give year if no exact date is available. Use the template ."
},
"closed": {
"type": "string/line",
"description": "For former universities, provide the date of closure. Give year if no exact date is available. Use the template ."
},
"type": {
"type": "string/line",
"description": "Public, private, four year, undergraduate, graduate, etc."
},
"parent": {
"type": "string/line",
"label": "Parent institution",
"description": "Parent institution"
},
"affiliation": {
"type": "string/line",
"label": "Religious affiliation",
"description": "Chosen religion."
},
"academic_affiliation": {
"type": "string/line",
"aliases": [
""
],
"label": "academic affiliation",
"description": "Academic institution."
},
"endowment": {
"type": "string/line",
"label": "Endowment",
"description": "Financial endowment value."
},
"budget": {
"type": "string/line",
"label": "Budget",
"description": "Total budget / income."
},
"rector": {
"type": "string/line",
"label": "Rector",
"description": "Rector of the institution."
},
"officer_in_charge": {
"type": "string/line",
"label": "Officer in Charge",
"description": "Officer in Charge of the institution."
},
"chairman": {
"type": "string/line",
"label": "Chairman",
"description": "Chairman of the institution."
},
"chairperson": {
"type": "string/line",
"label": "Chairperson",
"description": "Chairperson of the institution."
},
"chancellor": {
"type": "string/line",
"label": "Chancellor",
"description": "Chancellor of the institution."
},
"president": {
"type": "string/line",
"label": "President",
"description": "President of the institution."
},
"vice-president": {
"type": "string/line",
"label": "Vice President",
"description": "Vice President of the institution."
},
"superintendent": {
"type": "string/line",
"label": "Superintendent",
"description": "Superintendent of the institution."
},
"provost": {
"type": "string/line",
"label": "Provost",
"description": "Provost of the institution."
},
"vice_chancellor": {
"type": "string/line",
"label": "Vice Chancellor",
"description": "Vice Chancellor of the institution."
},
"principal": {
"type": "string/line",
"label": "Principal",
"description": "Principal of the institution."
},
"dean": {
"type": "string/line",
"label": "Dean",
"description": "Dean of the institution."
},
"director": {
"type": "string/line",
"label": "Director",
"description": "Director of the institution."
},
"head_label": {
"type": "string/line",
"label": "Head Label",
"description": "Another officer title. Use with the Head Name field."
},
"head": {
"type": "string/line",
"label": "Head Name",
"description": "The name of the officer that goes with the Head Label."
},
"academic_staff": {
"type": "string/line",
"label": "# of Academic Staff",
"description": "Number of faculty / academic staff members. (include number formatting e.g. 1,234,567,890)"
},
"administrative_staff": {
"type": "string/line",
"label": "# of Administrative Staff",
"description": "Number of administrative / support staff. (include number formatting e.g. 1,234,567,890)"
},
"students": {
"type": "string/line",
"label": "# of Students",
"description": "Total student count. use undergrad, postgrad, doctoral and other for additional detail. (format amount, as 1,234,567,890 instead of 1234567890)"
},
"undergrad": {
"type": "string/line",
"label": "# of Undergrads",
"description": "Total undergraduate enrollment. (include number formatting e.g. 1,234,567,890 instead of 1234567890)"
},
"postgrad": {
"type": "string/line",
"label": "# of Postgrads",
"description": "Total postgraduate enrollment. (include number formatting e.g. 1,234,567,890 instead of 1234567890)"
},
"doctoral": {
"type": "string/line",
"label": "# of Doctorals",
"description": "Total doctoral enrollment. (include number formatting e.g. 1,234,567,890 instead of 1234567890)"
},
"other": {
"aliases": [
""
],
"type": "string",
"label": "Other enrollment",
"description": "Other student enrollment. Specify a category if possible. (include number formatting e.g. 1,234,567,890 instead of 1234567890)"
},
"address": {
"required": false,
"aliases": [
""
],
"type": "string/line",
"label": "Address",
"description": "Street address the university is located in. Please consider a discussion on the talk page before using this field. In many cases, public institutions have more than one campus, and a full address is not representative."
},
"city": {
"required": true,
"aliases": [
""
],
"type": "string/line",
"label": "City",
"description": "City the university is located in. Provide wikilink if possible."
},
"state": {
"type": "string/line",
"label": "State",
"description": "U.S. state or similar administrative subdivision. Use in conjunction with the Country field, and do not use with the Province field. Provide wikilink if possible."
},
"province": {
"type": "string/line",
"label": "Province",
"description": "For all other administrative subdivisions; use as an alternative to the State field in conjunction with the Country field."
},
"postalcode": {
"required": false,
"aliases": [
"zipcode"
],
"type": "string",
"label": "Postal code",
"description": "Postal code for the university. Please consider a discussion on the talk page before using this field. In many cases, public institutions have more than one campus, and a postal code may not be representative."
},
"country": {
"type": "string/line",
"label": "Country",
"description": "Country in which the university is based. Provide wikilink if possible."
},
"coordinates": {
"type": "string/line",
"label": "Coordinates",
"description": "Displays coordinates, in parentheses, after the location fields. Use the template Lua error in Module:Coordinates at line 601: attempt to index field 'wikibase' (a nil value). with type:edu and display=inline,title.",
"aliases": ["coor"]
},
"campus": {
"type": "string",
"label": "Campus(es)",
"description": "Campus(es) of the institution."
},
"former_names": {
"type": "string",
"label": "Former Names",
"description": "Previous names the university was known by."
},
"language": {
"type": "string",
"label": "Instruction Language",
"description": "Language used for instruction"
},
"free_label": {
"type": "string/line",
"label": "Free Label",
"description": "A special field title; use with the Free Content field."
},
"free": {
"type": "string",
"label": "Free Content",
"description": "Related data that goes with the Free Label field."
},
"athletics": {
"aliases": [
""
],
"type": "string",
"label": "Athletics",
"description": "Primary university sports. Use Athletics or Sports, whichever is appropriate."
},
"colours": {
"aliases": [
"colors"
],
"type": "string",
"label": "Official Colo(u)rs",
"description": "Official university colo(u)rs."
},
"sports": {
"type": "string",
"label": "Sports",
"description": "Primary university sports. Use Athletics or Sports, whichever is appropriate."
},
"nickname": {
"type": "string",
"label": "Athletic Nickname",
"description": "University's athletic nickname or moniker."
},
"mascot": {
"type": "string",
"label": "Mascot",
"description": "University's athletic mascot."
},
"sporting_affiliations": {
"type": "string",
"label": "Sporting Affiliations",
"description": "List of sporting affiliations and memberships. Provide wikilink if possible."
},
"website": {
"type": "string/line",
"label": "Website",
"description": "Official university website. Use the template {{URL|example.com|optional display text}}
."
},
"logo": {
"type": "string/line",
"label": "Logo",
"description": "Use for an athletics logo, corporate emblem, or similar graphic."
},
"footnotes": {
"type": "string",
"label": "Footnotes",
"description": "Footnotes for the infobox. Useful for including references for data."
}
},
"format": "block",
"paramOrder": [
"name",
"native_name",
"native_name_lang",
"image",
"image_size",
"image_alt",
"caption",
"latin_name",
"motto",
"motto_lang",
"mottoeng",
"established",
"closed",
"type",
"parent",
"affiliation",
"academic_affiliation",
"endowment",
"budget",
"rector",
"officer_in_charge",
"chairman",
"chairperson",
"chancellor",
"president",
"vice-president",
"superintendent",
"provost",
"vice_chancellor",
"principal",
"dean",
"director",
"head_label",
"head",
"academic_staff",
"administrative_staff",
"students",
"undergrad",
"postgrad",
"doctoral",
"other",
"address",
"city",
"state",
"province",
"postalcode",
"country",
"coordinates",
"campus",
"former_names",
"language",
"free_label",
"free",
"athletics",
"colours",
"sports",
"nickname",
"mascot",
"sporting_affiliations",
"website",
"logo",
"footnotes"
]
}
Tracking categories
- Category:Instances of Infobox university using both image and image name (0)
- Category:Instances of Infobox university using image_size (0)
- Category:TEMP - Infobox university with a superintendent parameter value (0)
- Category:Pages using infobox university with unknown parameters (1)
The above documentation is transcluded from Template:Infobox university/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
- Pages with script errors
- Lua-based templates
- TEMP - Infobox university with a superintendent parameter value
- Templates generating hCards
- TemplateData documentation
- Universities and colleges infobox templates
- Organization infobox templates
- Templates that add a tracking category
- Templates with coordinates fields
- WikiProject Universities templates