Template:Infobox university/doc: Difference between revisions
m (Reverted edits by 2600:1005:B166:CBA5:22D4:868E:EDA6:B20D (talk) to last version by Zyxw) |
Ozycaevias (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 21:29, 21 January 2019
This is a documentation subpage for Template:Infobox university. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 26,000 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.
Transclusion count updated automatically (see documentation). |
This template uses Lua: |
{{{native_name}}} | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright=1]] | |
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}}} |
Vice-Chancellor | {{{vice_chancellor}}} |
Provost | {{{provost}}} |
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}}} |
Nickname | {{{sports_nickname}}} |
Sporting affiliations | {{{sporting_affiliations}}} |
Sports | {{{sports}}} |
Mascot | {{{mascot}}} or {{{mascots}}} |
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.
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_upright = | image_alt = | caption = | latin_name = | other_name = <!--or, other_names--> | former_name = <!--or, former_names--> | motto = | motto_lang = | mottoeng = | top_free_label = | top_free = | 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 = | vice_chancellor = | provost = | 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 = | free_label2 = | free2 = | colors = <!--or, colours= --> | athletics = | sports = | athletics_nickname = <!--or, sports_nickname= --> | sporting_affiliations = | mascot = <!--or, mascots= --> | sports_free_label = | sports_free = | sports_free_label2 = | sports_free2 = | website = <!-- {{URL|example.com}} --> | logo = | logo_size = | logo_alt = | footnotes = }}
Example
Universiti von 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 | , , Lua error: callParserFunction: function "#coordinates" was not found. |
Campus | Rural |
Colours | Red and Blue |
Nickname | The Nematodes |
Sporting affiliations | Utopian Athletic League |
Sports | |
Mascot | Nobby the Nematode |
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_upright = 0.7 | 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 = | vice_chancellor = | provost = | 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. }}
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 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.
Parameter descriptions
TemplateData for Infobox university
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name (in English) | name | Official name in English. | Line | required |
Native Name | native_name | Name in its native language. | Line | optional |
Native Name Language | native_name_lang | ISO 639-2 code e.g. 'fr' for French. | String | optional |
Current alternative names | other_name other_names | For any alternative current names by which the university is known, such as acronyms and abbreviations. | Line | optional |
Former names | former_name former_names | Any former name or names of the institution. | Line | optional |
Image Name | image image_name | 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). | File | optional |
Image scaling ("upright") | image_upright | Scaling factor for the image, such as 0.7. The actual size is the scaling factor multiplied by the user's thumbnail size.
| Number | optional |
Image Size | image_size | Use in conjunction with image. Allows editors to specify an image width rather than use the default.
| String | optional |
Alternative Text for Image | image_alt | Alt text for image, for visually impaired readers. This should not contain wiki syntax, and should not duplicate the caption. See WP:ALT. | String | optional |
Caption | caption | Caption text for the infobox image. May include wiki syntax. | Content | optional |
Latin Name | latin_name | University name in Latin. | Line | optional |
Motto | motto | University's motto; usually in Latin. | String | optional |
Motto Language | 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. | String | optional |
Motto (in English) | mottoeng | University's motto in English if another language is used above. | String | optional |
Top free label | top_free_label | First custom special label of upper infobox. The data for this field goes in parameter top_free. | Line | optional |
Top free | top_free | First custom data field of upper infobox. The name of this field goes in parameter top_free_label. | String | optional |
Top free label1 | top_free_label1 | Next custom special label1 of upper infobox. The data for this field goes in parameter top_free1. | Line | optional |
Top free1 data | top_free1 | Next custom data1 field of upper infobox. The name of this field goes in parameter top_free_label1. | String | optional |
Top free label2 | top_free_label2 | Next custom label2 of upper infobox. The data for this field goes in parameter top_free2. | Line | optional |
Top free2 data | top_free2 | Next custom data2 field of upper infobox. The name of this field goes in parameter top_free_label2. | String | optional |
Year Established | established | Date of establishment/founding. Give year if no exact date is available. Use the template {{Start date}}. | Line | required |
closed | closed | For former universities, provide the date of closure. Give year if no exact date is available. Use the template {{End date}}. | Line | optional |
type | type | Public, private, four year, undergraduate, graduate, etc. | Line | optional |
Parent institution | parent | Name of any parent institution (e.g. for some colleges, a university). | Line | optional |
Affiliation | affiliation | The institute's affiliation (if not specifically religious or academic). | Line | optional |
Affiliation | religious_affiliation | Use if the institution has a religious affiliation. | Line | optional |
academic affiliation | academic_affiliation academic_affiliations | Use if the institution has an academic affiliation. | Line | optional |
Endowment | endowment | Financial endowment value. | Line | optional |
Budget | budget | Total budget / income. | Line | optional |
Rector | rector | Rector of the institution. | Line | optional |
Officer in Charge | officer_in_charge | Officer in Charge of the institution. | Line | optional |
Chairman | chairman | Chairman of the institution. | Line | optional |
Chairperson | chairperson | Chairperson of the institution. | Line | optional |
Chancellor | chancellor | Chancellor of the institution. | Line | optional |
President | president | President of the institution. | Line | optional |
Vice President | vice-president | Vice President of the institution. | Line | optional |
Superintendent | superintendent | Superintendent of the institution. | Line | optional |
Vice Chancellor | vice_chancellor | Vice Chancellor of the institution. | Line | optional |
Provost | provost | Provost of the institution. | Line | optional |
Principal | principal | Principal of the institution. | Line | optional |
Dean | dean | Dean of the institution. | Line | optional |
Director | director | Director of the institution. | Line | optional |
Head Label | head_label | Another officer title. Use with the Head Name field. | Line | optional |
Head Name | head | The name of the officer that goes with the Head Label. | Line | optional |
# of Academic Staff | academic_staff | Number of faculty / academic staff members. (include number formatting e.g. 1,234,567,890) | Line | optional |
# of Administrative Staff | administrative_staff | Number of administrative / support staff. (include number formatting e.g. 1,234,567,890) | Line | optional |
# of Students | students | Total student count. Use undergrad, postgrad, doctoral and other for additional detail. (format amount, as 1,234,567,890 instead of 1234567890) | Line | optional |
# of Undergrads | undergrad | Total undergraduate enrollment. (include number formatting e.g. 1,234,567,890 instead of 1234567890) | Line | optional |
# of Postgrads | postgrad | Total postgraduate enrollment. (include number formatting e.g. 1,234,567,890 instead of 1234567890) | Line | optional |
# of Doctorals | doctoral | Total doctoral enrollment. (include number formatting e.g. 1,234,567,890 instead of 1234567890) | Line | optional |
Other enrollment | other | Other student enrollment. Specify a category if possible. (include number formatting e.g. 1,234,567,890 instead of 1234567890) | String | optional |
Address | address | 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. | Line | optional |
City | city | City the university is located in. Provide wikilink if possible. | Line | required |
State | state | 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. | Line | optional |
Province | province | For all other administrative subdivisions; use as an alternative to the State field in conjunction with the Country field. | Line | optional |
Postal code | postalcode postcode zipcode | 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. | String | optional |
Country | country | Country in which the university is based. Use in conjunction with city and, optionally, state or province. Provide wikilink if possible. | Line | optional |
Coordinates | coordinates coor | Displays coordinates, in parentheses, after the location fields. Use the template {{Coord}} with type:edu and display=inline,title. | Line | optional |
Campus type | campus | Type/nature of the institution's campus (e.g. urban, rural, multiple sites). | Line | optional |
Former Names | former_names | Previous names the university was known by. | Line | optional |
Instruction Language | language | Language commonly used for instruction | Line | optional |
Free label | free_label | A special field title; use with the Free data field. | Line | optional |
Free data | free | Related data that goes with the Free label field. | Line | optional |
Free label 1 | free_label1 | Next middle custom specialty field label; labels the free data 1 field. | Line | optional |
Free data 1 | free1 | Data by Free label 1 field. | String | optional |
Free label 2 | free_label2 | Next middle custom specialty field label. | Line | optional |
Free data2 | free2 | Data by Free Label2 field. | String | optional |
Athletics | athletics | Primary university sports. Use Athletics or Sports, whichever is appropriate. | String | optional |
Official colo(u)rs | colours colors | Official university colors. Your choice of parameter name (color or colour) will appear in the table; use the one appropriate to the university's location. | String | optional |
Sports | sports athletics | Primary university sports. Use Athletics or Sports, whichever is appropriate. | String | optional |
Athletic nickname | nickname athletics_nicknames sports_nicknames athletics_nickname sports_nickname | University's athletic nickname or moniker. | String | optional |
Mascot | mascot mascots | University's athletic mascot. | String | optional |
Sporting Affiliations | sporting_affiliations | String | optional | |
Sports Free label | sports_free_label | First custom field label title near bottom of infobox; use with Sports-Free field. | Line | optional |
Sports Free data | sports_free | First bottom custom data field; use with Sports Free label field. | String | optional |
Sports Free1 label | sports_free_label1 | Next bottom custom label; use with Sports-Free1 field. | Line | optional |
Sports Free1 data | sports_free1 | Next bottom custom data field; use with Sports Free1 label. | String | optional |
Sports Free2 label | sports_free_label2 | Next bottom custom label; use with Sports-Free2 field. | Line | optional |
Sports Free2 data | sports_free2 | Next custom data field; use with Sports Free2 label. | String | optional |
Sports Free3 label | sports_free_label3 | Next bottom custom label; use with Sports-Free3 field. | Line | optional |
Sports Free3 data | sports_free3 | Next custom data field; use with Sports Free3 label. | String | optional |
Website | website | Official university website. Use the template {{URL}}. | Line | optional |
Logo | logo | Use for an athletics logo, corporate emblem, or similar graphic. Omit "File:" | File | optional |
Footnotes | footnotes | Footnotes for the infobox. Useful for including references for data. | String | optional |
Format: block
Custom blank/free parameters
Note how the 10 customized free-data parameters (or blank label/data pairs) are shown in 3 parts of the infobox as upper/middle/bottom: upper (as "top_free_label=" with "top_free=" to "top_free2"), or middle (as "free_label=" with "free=" to "free2") or bottom (as "sports_free_label=" with "sports_free=" to "sports_free3"). Those 10 custom parameters allow speciality field labels and data values for 10 extra parameter label/data pairs. Also any of those 10 custom fields could be mere note labels, with text, to briefly explain nearby parameters, or link footnotes, without cluttering the other label/data pairs. A custom label can be set blank to hide as with "free_label= " to show only the data portion, with hidden label.
Tracking categories
- Category:Instances of Infobox university using both image and image name (0)
- Category:Instances of Infobox university using image_size (31)
- Category:TEMP - Infobox university with a superintendent parameter value (4)
- Category:Pages using infobox university with unknown parameters (9)