Jump to content

Template:Infobox university/doc

From bestpressey
Revision as of 20:20, 2 August 2026 by imported>Zackmann08
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

__EXPECTED_UNCONNECTED_PAGE__

{{{name}}}
{{{native_name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright={{{image_upright}}}]]
{{{caption}}}
Latin: {{{latin_name}}}
Other name
{{{other_names}}}
Former name
{{{former_names}}}
Motto
{{{motto}}}
Motto in English
{{{motto_eng}}}
{{{top_free_label}}}{{{top_free}}}
{{{top_free_label1}}}{{{top_free1}}}
{{{top_free_label2}}}{{{top_free2}}}
Type{{{type}}}
Active{{{established}}}–{{{closed}}}
Founder{{{founders}}}
Parent institution
{{{parent}}}
Accreditation{{{accreditation}}}
Affiliations{{{affiliations}}}
Religious affiliation
{{{religious_affiliation}}}
Academic affiliations
{{{academic_affiliations}}}
Endowment{{{endowment}}}
Budget{{{budget}}}
Officer in charge
{{{officer_in_charge}}}
Chair{{{chair}}}
Chairman{{{chairman}}}
Chairperson{{{chairperson}}}
Visitor{{{visitor}}}
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}}}
Faculty{{{faculty}}}
Administrative staff
{{{administrative_staff}}}
Total staff
{{{total_staff}}}
Students{{{students}}}
Undergraduates{{{undergrad}}}
Postgraduates{{{postgrad}}}
{{{doctoral}}}
Other students
{{{other_students}}}
Location
{{{location}}}
,
{{{address}}}
,
{{{city}}}
,
{{{canton}}}, {{{prefecture}}}, {{{province}}}, {{{region}}}, {{{state}}}
,
{{{postal_code}}}
,
{{{country}}}

Lua error: callParserFunction: function "#coordinates" was not found.
Campus
  • {{{campus_size}}}
  • {{{campus_type}}}
  • {{{campus}}}
Language{{{language}}}
{{{free_label}}}{{{free}}}
{{{free_label1}}}{{{free1}}}
{{{free_label2}}}{{{free2}}}
Colors{{{colors}}} or {{{colours}}}
Nickname{{{sports_nickname}}}
Sporting affiliations
{{{sporting_affiliations}}}
Mascot{{{mascot}}}
{{{sports_free_label}}}{{{sports_free}}}
{{{sports_free_label1}}}{{{sports_free1}}}
{{{sports_free_label2}}}{{{sports_free2}}}
{{{sports_free_label3}}}{{{sports_free3}}}
Website{{{website}}}
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}|upright={{{logo_upright}}}|class={{{logo_class}}}]]
{{{nrhp}}}
{{{embedded}}}
{{{module}}}
Lua error in Module:Location_map at line 417: Malformed coordinates value.
{{{footnotes}}}

{{Infobox university}} is an infobox for articles about universities and colleges; see Wikipedia:College and university article guideline.

Parameters

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.

Full syntax

<syntaxhighlight lang="wikitext" style="overflow: auto;">

Infobox university/doc
Lua error in Module:Infobox_mapframe at line 198: attempt to index field 'wikibase' (a nil value).

</syntaxhighlight>

Mapframe maps

  • Basic {{Infobox mapframe}} parameters:
    • mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no, but also modified by onByDefault
      • Internal onByDefault parameter: yes, unless any of these are set: <syntaxhighlight lang="wikitext" inline style="display: none;" />|pushpin_map=, and unless <syntaxhighlight lang="wikitext" inline style="display: none;" />|embedded= or <syntaxhighlight lang="wikitext" inline style="display: none;" />|module= contain a mapframe
    • mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g. <syntaxhighlight lang="wikitext" inline style="display: none;" />|coord={{Coord|12.34|N|56.78|E}}. Default: coordinates from Wikidata d:Property:P625
    • mapframe-caption – Caption for the map. Default: blank (or if <syntaxhighlight lang="wikitext" inline style="display: none;" />|mapframe-geomask= is set, "Location in geomask's label")
    • mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a {{maplink}} template, or another template that generates a mapframe map, or an image name. If used, most mapframe parameters will be ignored. Default: not specified
    • mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
    • mapframe-wikidata – Set to <syntaxhighlight lang="text" class="" style="" inline="1">yes</syntaxhighlight> to show all shape/line features from OpenStreetMap. Default: yes, unless any of these are set: <syntaxhighlight lang="wikitext" inline style="display: none;" />|mapframe-coordinates=, <syntaxhighlight lang="wikitext" inline style="display: none;" />|mapframe-coord=, <syntaxhighlight lang="wikitext" inline style="display: none;" />|coordinates=, <syntaxhighlight lang="wikitext" inline style="display: none;" />|coor=
  • Customise which features are displayed:
    • mapframe-point – Turn off display of point feature by setting to <syntaxhighlight lang="text" class="" style="" inline="1">none</syntaxhighlight>. Force point marker to be displayed by setting to <syntaxhighlight lang="text" class="" style="" inline="1">on</syntaxhighlight>. Default: not specified
    • mapframe-shape – Turn off display of shape feature by setting to <syntaxhighlight lang="text" class="" style="" inline="1">none</syntaxhighlight>. Force display of shape by setting to <syntaxhighlight lang="text" class="" style="" inline="1">on</syntaxhighlight>. Use an inverse shape (geomask) instead of a regular shape by setting to <syntaxhighlight lang="text" class="" style="" inline="1">inverse</syntaxhighlight>. Default: not specified
    • mapframe-line – Turn off display of line feature by setting to <syntaxhighlight lang="text" class="" style="" inline="1">none</syntaxhighlight>. Force display of line by setting to <syntaxhighlight lang="text" class="" style="" inline="1">on</syntaxhighlight>. Default: not specified
    • mapframe-geomask – Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g. P17 for Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P17), P131 for Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P131)). Default: not specified
    • mapframe-switcher – set to <syntaxhighlight lang="text" class="" style="" inline="1">auto</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">geomasks</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">zooms</syntaxhighlight> to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
      • <syntaxhighlight lang="text" class="" style="" inline="1">auto</syntaxhighlight> – switch geomasks found in Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P276) and Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country.
      • <syntaxhighlight lang="text" class="" style="" inline="1">geomasks</syntaxhighlight> – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter
      • <syntaxhighlight lang="text" class="" style="" inline="1">zooms</syntaxhighlight> – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of <syntaxhighlight lang="text" class="" style="" inline="1">3</syntaxhighlight>), "zoomed out" is <syntaxhighlight lang="text" class="" style="" inline="1">1</syntaxhighlight>, and "zoomed midway" is the average
  • Other optional parameters:
    • mapframe-frame-width or mapframe-width – Frame width. Default: 270
    • mapframe-frame-height or mapframe-height – Frame height. Default: 200
    • mapframe-shape-fill – Color used to fill shape features. Default: #606060
    • mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.1
    • mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
      • mapframe-line-stroke-color or mapframe-line-stroke-colour – Color of line features. Default: #ff0000
      • mapframe-shape-stroke-color or mapframe-shape-stroke-colour – Color of outlines of shape features. Default: #ff0000
    • mapframe-stroke-width – Width of line features, and outlines of shape features. Default: 2
      • mapframe-shape-stroke-width – Width of outlines of shape features. Default: 2
      • mapframe-line-stroke-width – Width of line features. Default: 5
    • mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: college
      • Can also be set to <syntaxhighlight lang="text" class="" style="" inline="1">blank</syntaxhighlight> to override any default marker symbol
    • mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #5E74F3
    • mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
    • mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 1
    • mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
    • mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.25
    • mapframe-zoom – Set the zoom level, from "1" (map of earth) to "18" (maximum zoom in), to be used if the zoom level cannot be determined automatically from object length or area. Default: 10
    • mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified / not specified / not specified / not specified
    • mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates
    • mapframe-type – Set the type of the object, with the same usage as {{coord}}. Default: landmark
    • mapframe-population – Set the population, useful with type="city", for {{Infobox dim}}. Default: not specified


Pushpin map

Below are the parameters used by Module:Location map to produce the pushpin map in this Infobox. These parameters are available for editors to set in articles that use this infobox. For the maps available, please consult available maps.

Parameter Description Default
<syntaxhighlight lang="wikitext" inline style="display: none;" />|pushpin_map= The map(s) to display. For example, specifying England will use the values for England in Module:Location map/data/England.Multiple maps can be shown by providing a list of map names separated by <syntaxhighlight lang="text" class="" style="" inline="1">#</syntaxhighlight>. For multiple maps, the first is shown by default. A reader can select the others with radio buttons. N/A
<syntaxhighlight lang="wikitext" inline style="display: none;" />|pushpin_caption= The text of a caption to be displayed below the map. If not provided a default caption will be generated. Multiple captions can be shown when separated by <syntaxhighlight lang="text" class="" style="" inline="1">##</syntaxhighlight> (that's two). Location within MAPNAME
<syntaxhighlight lang="wikitext" inline style="display: none;" />|pushpin_relief= 0/false/off will cause the template to display the map defined as <syntaxhighlight lang="text" class="" style="" inline="1">image</syntaxhighlight> (generally not a relief map). 1/true/on will cause the template to display the map defined as <syntaxhighlight lang="text" class="" style="" inline="1">image1</syntaxhighlight> (generally a relief map). Any non-zero numeric value such as <syntaxhighlight lang="text" class="" style="" inline="1">2</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">3</syntaxhighlight> will display <syntaxhighlight lang="text" class="" style="" inline="1">image2</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">image3</syntaxhighlight>, if those images are defined. Any other non-empty value will cause display of <syntaxhighlight lang="text" class="" style="" inline="1">image1</syntaxhighlight>. See the example at Location map+/relief. 0
<syntaxhighlight lang="wikitext" inline style="display: none;" />|pushpin_label= The text of the label to display next to the identifying mark; a wikilink can be used. You can enclose the label inside of {{nowrap}} if you want to make sure that it stays on a single line. N/A
<syntaxhighlight lang="wikitext" inline style="display: none;" />|pushpin_label_size= The font size to use for the label, given as a percentage of the normal font size (<100=smaller, >100=larger); the default size is 90. Do not include %. For example, use <syntaxhighlight lang="wikitext" inline style="display: none;" />|pushpin_label_size=80, not <syntaxhighlight lang="wikitext" inline style="display: none;" />|pushpin_label_size=80%. If set to <syntaxhighlight lang="text" class="" style="" inline="1">0</syntaxhighlight>, the label is only displayed when the user hovers over the mark. 90
<syntaxhighlight lang="wikitext" inline style="display: none;" />|pushpin_label_position= The position of the label relative to the identifying mark; valid values are <syntaxhighlight lang="text" class="" style="" inline="1">left</syntaxhighlight>, <syntaxhighlight lang="text" class="" style="" inline="1">right</syntaxhighlight>, <syntaxhighlight lang="text" class="" style="" inline="1">top</syntaxhighlight>, <syntaxhighlight lang="text" class="" style="" inline="1">bottom</syntaxhighlight> and <syntaxhighlight lang="text" class="" style="" inline="1">none</syntaxhighlight>. This defaults to either <syntaxhighlight lang="text" class="" style="" inline="1">left</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">right</syntaxhighlight>, depending on the coordinates of the marker and its position relative to the right border of the map image. When <syntaxhighlight lang="wikitext" inline style="display: none;" />|pushpin_label_position=none, any defined label will not be displayed with the mark, but it will be used to create the default caption. N/A
<syntaxhighlight lang="wikitext" inline style="display: none;" />|pushpin_mark= The name of an image file to display as the identifying mark; the default is Red pog.svg . See examples at Commons:Location markers and Commons:Category:Map icons. Red pog.svg
<syntaxhighlight lang="wikitext" inline style="display: none;" />|pushpin_mark_size= The size of the identifying mark in pixels. Do not include px 8
<syntaxhighlight lang="wikitext" inline style="display: none;" />|pushpin_alt= Alt text for map; used by screen readers. See WP:ALT. N/A
<syntaxhighlight lang="wikitext" inline style="display: none;" />|pushpin_background= The background color to use for the label; see Web colors. The default is no background color, which shows the map image behind the label. N/A
<syntaxhighlight lang="wikitext" inline style="display: none;" />|pushpin_map_size= Determines the width of the map in pixels, overriding any default values; do not include px. N/A

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=&nbsp;" to show only the data portion, with hidden label.

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

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
Please do not rename or remove these classes
nor collapse nested elements which use them.

Example

University of Illyria
Universiti von Illyria
scroll atop shield outline
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"
TypePublic
Active1666 (1666)–1850 (1850)
AccreditationSouthwest Illyrian Accreditation Commission
Religious affiliation
Church of Illyria
EndowmentUS$ 123,456,789
VisitorJohn Doe
ChancellorJane Doe
Vice-ChancellorJohn Doe
RectorJohn Doe
Rectrix MagnificaJane Doe
Academic staff
300
Total staff
900
Students10,000
Undergraduates5,000
Postgraduates1,000
100
Other students
1,200
Location,
Illyria
,
Utopia

Lua error: callParserFunction: function "#coordinates" was not found.
Campus
  • 47 acres (19 ha)
  • Rural
Colors   Red and blue
NicknameThe Nematodes
Sporting affiliations
Utopian Athletic League
MascotNobby the Nematode
Websitewww.illyria.edu
Spiral on stripes
Lua error in Module:Infobox_mapframe at line 198: attempt to index field 'wikibase' (a nil value).

<syntaxhighlight lang="wikitext" style="overflow: auto;">

University of Illyria
Universiti von Illyria
scroll atop shield outline
Seal of University of Illyria
Latin: Universitas Illyriensis
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"
TypePublic
Active1666 (1666)–1850 (1850)
Religious affiliation
Church of Illyria
EndowmentUS$ 123,456,789
ChancellorJane Doe
Vice-ChancellorJohn Doe
RectorDoe
VisitorArchbishop Doe
Academic staff
300
Total staff
900
Students10,000
Undergraduates5,000
Postgraduates1,000
100
Other students
1,200
Location,
Illyria
,
Utopia

Lua error: callParserFunction: function "#coordinates" was not found.
Campus
  • 47 acres (19 ha)
  • Rural
Colors   Red and blue
NicknameThe Nematodes
Sporting affiliations
Utopian Athletic League
MascotNobby the Nematode
Websitewww.illyria.edu
Spiral on stripes
Lua error in Module:Infobox_mapframe at line 198: attempt to index field 'wikibase' (a nil value).

</syntaxhighlight>

Template data

Tracking categories