Template:Infobox university/sandbox2
| Location | Script error: No such module "If empty". |
|---|---|
| Nickname | Script error: No such module "If empty". |
| 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: |
Template:Parameter names example
{{Infobox university}} is an infobox for articles about universities and colleges; see Wikipedia:College and university article guideline.
Contents
Blank syntax
All fields are optional. Remove hidden notes (including both the <!-- and --> characters) that surround certain entries, in order for the data you enter to appear in the published article. All parameter names must be lowercase.
{{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 = <!-- up to |top_free_label2= -->
| top_free = <!-- up to |top_free2= -->
| type =
| established = <!-- {{start date|YYYY|MM|DD}} -->
| closed = <!-- {{end date|YYYY|MM|DD}} -->
| founder = <!-- or |founders= -->
| parent =
| affiliation =
| religious_affiliation =
| academic_affiliation = <!-- or |academic_affiliations= -->
| endowment =
| budget =
| officer_in_charge =
| chairman =
| chairperson =
| chancellor =
| president =
| vice-president =
| superintendent =
| vice_chancellor =
| provost =
| rector =
| principal =
| director =
| dean =
| head_label =
| head =
| academic_staff =
| administrative_staff =
| students = <!-- or |enrollment= -->
| undergrad =
| postgrad =
| doctoral =
| alumni =
| other_students = <!-- or |other= -->
| address = <!-- Please discuss before using -->
| city =
| state =
| province =
| country =
| postalcode = <!-- or |zipcode= or |postcode= -->
| coordinates = <!-- {{coord|LAT|LON|type:edu|display=inline,title}} -->
| campus =
| language =
| free_label = <!-- up to |free_label2= -->
| free = <!-- up to |free2= -->
| colors = <!--or |colours= -->
| athletics =
| sports =
| sports_nickname = <!--or |athletics_nickname= -->
| sporting_affiliations =
| mascot = <!--or |mascots= -->
| sports_free_label = <!-- up to |sports_free_label3= -->
| sports_free = <!-- up to |sports_free3= -->
| symbol =
| website = <!-- {{URL|example.com}} -->
| logo =
| logo_size =
| logo_upright =
| logo_alt =
| footnotes =
| embedded = <!-- or |nrhp= or |module= -->
}}
Example
Universiti von Illyria | |
| Script error: No such module "If empty". Seal of University of Illyria | |
| Latin: Universitas Illyriensis | |
Other name | Script error: No such module "If empty". |
|---|---|
Former name | Script error: No such module "If empty". |
| 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 |
| Founder | Script error: No such module "If empty". |
Religious affiliation | Church of Illyria |
Academic affiliation | Script error: No such module "If empty". |
| Endowment | US$ 123,456,789 |
| Chancellor | Jane Doe |
| Vice-Chancellor | John Doe |
| Rector | Fr. Doe |
| Visitor | Archbishop Doe |
Academic staff | 300 |
Administrative staff | 600 |
| Students | 10,000 |
| Undergraduates | 5,000 |
| Postgraduates | 1,000 |
| 100 | |
Other students | Script error: No such module "If empty". |
| Location | , , Script error: No such module "If empty". |
| Campus | Rural |
| Colours | Red and blue |
| Nickname | Script error: No such module "If empty". |
Sporting affiliations | Script error: No such module "If empty". |
| Sports | |
| Mascot | Script error: No such module "If empty". |
| Website | Template:URL |
| Script error: No such module "If empty". | |
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]]
| religious_affiliation = Church of Illyria
| endowment = US$ 123,456,789
| chancellor = [[Jane Doe]]
| vice_chancellor = John Doe
| rector = Fr. Doe
| 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]]
| country = [[Utopia]]
| coordinates = {{coord|12.34|-98.76|type:edu|display=inline}}
| campus = Rural
| colours = {{color box|red}}{{color box|blue}} Red and blue
| 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
Parameter descriptions
TemplateData for Infobox university
An infobox for articles about universities and colleges.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name (in English) | name | Official name in English. | Line | suggested |
| 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 |
| 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 Size | image_size | Use in conjunction with image. Allows editors to specify an image width rather than use the default.
| String | 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 |
| 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 |
| 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 |
| 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 {{tl|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 |
| Type | type | Public, private, four year, undergraduate, graduate, etc. | Line | optional |
| Year Established | established | Date of establishment/founding. Give year if no exact date is available. Use the template {{tl|Start date}}. | Line | suggested |
| Closed | closed | For former universities, provide the date of closure. Give year if no exact date is available. Use the template {{tl|End date}}. | Line | optional |
| Founder | founder founders | Name of the person who founded the university. | 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 |
| Religious 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 |
| 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 |
| Rector | rector | Rector of the institution. | Line | optional |
| Principal | principal | Principal of the institution. | Line | optional |
| Director | director | Director of the institution. | Line | optional |
| Dean | dean | Dean 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 faculty | Number of [[Faculty (academic staff)|faculty]] / academic staff members. (include number formatting e.g. 1,234,567,890) | Line | optional |
| # of Administrative Staff | administrative_staff staff | Number of administrative / support staff. (include number formatting e.g. 1,234,567,890) | Line | optional |
| # of Students | students enrollment | 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 |
| alumni | alumni | Number of alumni of the institution | Number | deprecated |
| Other enrollment | other other_students | 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 | suggested |
| 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 {{tl|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 |
| Instruction language | language | Language commonly used for instruction
| Line | optional |
| Former Names | former_names | Previous names the university was known by. | 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 |
| 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 | Primary university sports. Use Athletics or Sports, whichever is appropriate. | String | optional |
| Athletics | athletics | Primary university sports. Use Athletics or Sports, whichever is appropriate. | String | optional |
| Sporting Affiliations | sporting_affiliations | List of sporting affiliations and memberships. Provide wikilink if possible; (use {{tl|plainlist}} or {{tl|ublist}}). | 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 |
| 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 |
| symbol | symbol | no description | String | optional |
| Logo | logo | Use for an athletics logo, corporate emblem, or similar graphic. Omit "File:" | File | optional |
| logo_upright | logo_upright | no description | Number | optional |
| logo_alt | logo_alt | no description | String | optional |
| logo_size | logo_size | no description | String | optional |
| Website | website | Official university website. Use the template {{tl|URL}}. | Line | optional |
| Footnotes | footnotes | Footnotes for the infobox. Useful for including references for data. | String | optional |
| nrhp | nrhp | no description | String | optional |
| embedded | embedded | no description | String | optional |
| Pushpin_map | pushpin_map | no description | Unknown | optional |
| location | location | no description | String | optional |
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 image_size (0)
- Category:Pages using infobox university with the affiliations parameter (0)
- Category:Pages using infobox university with the image name parameter (0)
- Category:Pages using infobox university with the superintendent parameter (0)
- Category:Pages using infobox university with unknown parameters (0)
- Category:Pages using infobox university with conflicting parameters (0)
Template:Organization infoboxes
| The above documentation is transcluded from Template:Infobox university/sandbox2/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. |