This page is protected against editing.

Template:Institution

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
missing name
Native name
Parent institution
Location
Coordinates
Established
Website
Authority file


Template documentation[view·edit·history·purge]
This documentation istranscludedfromTemplate:Institution/doc.

Syntax #1: for institutions with pages on Wikidata

{{Institution}} creates an infobox forGLAM(Galleries,Libraries,Archives,andMuseums) or other institutions to be customized in Institution: namespace pages and used in the|Institution=parameter of{{Artwork}},{{Photograph}},{{Art Photo}},{{Book}}or{{Map}}in File description pages. The purpose of the field is to indicate the physical permanent location for the subject of a photograph. For example,Mona Lisaresides in Louvre so images of Mona Lisa will listInstitution:Louvrein the "Institution" field.

This template will categorize intoCategory:Institution templates.

This template will categorize categories transcluding it and matching "Homecat" field intoCategory:Institution template home categories.
This template will categorize problematic institution infobox pages into subcategories ofCategory:Institution template maintenance.

Creation of new Institution templates

When creating a new Institution page use the following box:


Usage

{{Institution |wikidata= }}

Template parameters

ParameterDescriptionDefaultStatus
wikidataWikidata item ID of the institution, likeQ1.emptyrequired

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

Syntax #2: for institutions without pages on Wikidata

_

The template automatically sets the following categories:

Usage

{{Institution
|name =
|native name =
|location =
|latitude =
|longitude =
|established =
|website =
|image =
|homecat =
|linkback =
|wikidata =
|option =
}}

Template parameters

ParameterDescriptionDefaultStatus
nameName of the institution, museum, gallery or collection, which will be shown in the uncollapsed part of the template (most of the time name should be the same as page name):
  • Provide links to Wikipedia articles and/or Commons galleries - this is important to avoid disambiguation problems and to allow users to easily find more information.
  • Best solution is to use{{LangSwitch}}to show the name in user's own language and provide link to an article in user's wikipedia. Seeherefor more info.
  • Avoid usingLanguage templatesin this section.
  • Corresponds to the Wikidata label and sitelink
emptyrequired
parentName of parent institution.
  • Corresponds toP749 (parent company)on Wikidata
  • parent organization(P749)optional
    native nameOfficial name of the institution in the native language
  • Corresponds toP1448 (official name)on Wikidata
  • emptyoptional
    locationInstitution location: usually a city name with a link to the location's page:
  • Template automatically places location inside {{city|city-name}} template which works as a lookup table connecting multiple spellings of cities toautotranslated city templates,its own translations or to the Commons galleries. If no suitable links are found than string is unchanged.
  • One can use one of autotranslated city templates (seeCategory:Multilingual tags: Locations). Those templates show the city name in the language of the viewer and provide links to the wikipedia pages in that language.
  • One can also use direct links to a gallery or Wikipedia article
  • Use{{RelativeLocation}}for relative locations, like "A near B".
  • Avoid usingLanguage templates,like {{de|Paris}}, or{{LangSwitch}}template.
  • In case of small little known institutions, without Wikipedia articles of website addresses, this field could be used to provide street address using{{Building address}}template.
  • Corresponds toP276 (location)with fallback toP131 (is in the administrative territorial entity)on Wikidata
  • emptyoptional
    latitudeThelatitudecoordinate of the institution.
  • Corresponds toP625 (coordinate location)on Wikidata
  • emptyoptional
    longitudeThelongitudecoordinate of the institution.
  • Corresponds toP625 (coordinate location)on Wikidata
  • emptyoptional
    OSMLink to OpenStreetMapwaypage. For example ifOSM=58975404,then clicking OpenStreetMap icon will link towww.openstreetmap.org/?way=58975404
  • Not sure what this corresponds to on Wikidata. MaybeP402orP1282
  • emptyoptional
    geopolyPolygon coordinates inlat1,lon1,height1 lat2,lon2,height2 lat3,lon3,height3format. Clicking Google icon will link to polygon drawn in Google Maps.
  • Not available on Wikidata (yet).
  • emptyoptional
    establishedDate of the institution'sestablishment.Example: 1997-03-31
  • Corresponds toP571 (date of foundation or creation)on Wikidata
  • emptyoptional
    websiteLink to the institution external website
  • Corresponds toofficial website(P856)on Wikidata
  • emptyoptional
    imageImage of the institution
  • Corresponds toimage(P18)on Wikidata
  • emptyoptional
    homecatInstitution home category - used to categorize the institution page without categorizing images using it. Institution pages should be categorized usingHomecatparameter only. Please do not add categories directly since those would be added to all the files and categories using the template.
  • Corresponds toCommons category(P373)on Wikidata
  • emptyrequired
    linkbackname ofspecialized Institution: pageused to provide a link back to it. If provided than an iconwill be shown in the top line, after the name. Clicking this icon will bring user to the proper Institution: page.
  • Corresponds toCommons Institution page(P1612)on Wikidata
  • emptyoptional
    authorityAs of May 2016 it is recommended to add "Wikidata" parameter and add any authority control parameters to wikidata instead of Institution template. Then proper authority control information will be displayed. For older templates, this field was used forAuthority controldata displayed using a call to {{Authority control|...|bare=1}}. See for exampleInstitution:Bibliothèque Municipale, Saint-Germain-en-Laye.emptydeprecated
    inventoryLink to the institution or museum inventory page, likeInventory Glyptothek (München)
  • No corresponding Wikidata property (yet).
  • emptyoptional
    wikidataLink to the Wikidata item of the institution, likeq1.
  • That's the item where we're grabbing al the Wikidata information from
  • emptyoptional
    optionTemplate{{Institution}}is mostly used to create custom templates in "Institution" namespace specific to a single institution.Optionparameter should always be set to|option = {{{1|}}}and is used to pass information from users of the custom templates to the{{Institution}}template code. For example if one calls {{Institution:Louvre|1234}}, the "1234" will be passed as argumentoptionto the{{Institution}}template. That mechanism is used extensively with{{Creator}}templates, but in case of{{Institution}}templates it is used at the moment only to pass information if template should be initially collapsed or not. The wikitext {{Institution:Louvre|collapse}} will create collapsedInstitution:Louvretemplate.emptyrequired

    Additional information

    The template is intended to be used in the following namespaces: the main or gallery namespace (unprefixed)

    The template is intended to be used by the following user groups: all users

    Relies on:
    Module:Institution

    See also

    Translations atModule:I18n/institution

    Examples

    Institution:Glyptothek (München),rendered as

    Glyptothek wikidata:Q162077(Inventory)
    Glyptothek
    Native name Glyptothek
    Location
    Coordinates 48° 08′ 48″ N, 11° 33′ 57″ ELink to OpenStreetMapLink to Google MapsEdit this at Wikidata
    Established 1830
    Website Glyptothek
    Authority file
    institution QS:P195,Q162077


    has source code:

    {{Institution
    | option = {{{1|}}} <!-- Do not modify -->
    | name = {{LangSwitch
    |ca=[[:ca:Gliptoteca de Munic|Gliptoteca de Munic]]
    |de=[[:de:Glyptothek (München)|Glyptothek, München]]
    |en=[[:en:Glyptothek|Glyptothek, Munich]]
    |es=[[:es:Gliptoteca de Múnich|Gliptoteca de Múnich]]
    |fr=[[:fr:Glyptothèque de Munich|Glyptothèque de Munich]]
    |it=[[:it:Gliptoteca (Monaco di Baviera)|Gliptoteca di Monaco di Baviera]]
    |mk=[[:mk:Глиптотека (Минхен)|Глиптотека, Минхен]]
    |pl=[[:pl:Gliptoteka monachijska|Gliptoteka monachijska]]
    |pt=[[:pt:Glyptothek|Glyptothek, Munique]]
    |ro=[[:ro:Gliptoteca de la München|Gliptoteca de la München]]
    |ru=[[:ru:Глиптотека (Мюнхен)|Мюнхенская глиптотека]]
    |sl=[[:sl:Gliptoteka v Münchnu|Gliptoteka v Münchnu]]
    }}
    | native name = Glyptothek
    | location = {{Munich}}
    | established = 1830
    | inventory = Inventory Glyptothek (München)
    | website = [http://www.antike-am-koenigsplatz.mwn.de/ Glyptothek]
    | image = Glyptothek München, April 2023.jpg
    | wikidata = Q162077
    }}

    This page is saved at "Institution:Glyptothek (München)"and used by typing {{Institution:Glyptothek (München)}}