Template:Institution/doc

From Wikimedia Commons, the free media repository
Jump to: navigation, search

{{Institution}} creates an infobox for GLAM (Galleries, Libraries, Archives, and Museums) institutions to be customized in Institution: namespace pages and used in Gallery" field of {{Artwork}} in File description pages. Corresponds to Wikidata property P1612

This template will categorize into Category:Institution templates.

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

Creation of new Institution templates

When creating a new Institution page use the following box :


The template automatically sets the following categories:

Usage

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

Template parameters

Parameter Description Default Status
name Name 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. See here for more info.
  • Avoid using Language templates in this section.
  • Corresponds to the Wikidata label and sitelink
empty required
parent Name of parent institution. empty optional
native name Official name of the institution in the native language empty optional
location Institution location: usually a city name with a link to the location's page: empty optional
latitude The latitude coordinate of the institution. empty optional
longitude The longitude coordinate of the institution. empty optional
OSM Link to OpenStreetMap way page. For example if OSM=58975404, then clicking OpenStreetMap icon will link to www.openstreetmap.org/?way=58975404
  • Not sure what this corresponds to on Wikidata. Maybe P402 or P1282
empty optional
geopoly Polygon coordinates in lat1,lon1,height1 lat2,lon2,height2 lat3,lon3,height3 format. Clicking Google icon will link to polygon drawn in Google Maps.
  • Not available on Wikidata (yet).
empty optional
established Date of the institution's establishment. Example: 1997-03-31 empty optional
website Link to the institution external website empty optional
image Image of the institution empty optional
homecat Institution home category - used to categorize the institution page without categorizing images using it. Institution pages should be categorized using Homecat parameter only. Please do not add categories directly since those would be added to all the files and categories using the template. empty required
linkback name of specialized Institution: page used to provide a link back to it. If provided than an icon Icons-mini-icon link.gif will be shown in the top line, after the name. Clicking this icon will bring user to the proper Institution: page.
  • Internal, nothing on Wikidata.
empty optional
authority Authority control data displayed using a call to {{Authority control|...|bare=1}}. See for example Institution:Bibliothèque Municipale, Saint-Germain-en-Laye.
  • Wikidata part is handled in the authority control template
empty optional
inventory Link to the institution or museum inventory page, like Inventory Glyptothek Munich
  • No corresponding Wikidata property (yet).
empty optional
wikidata Link to the Wikidata item of the institution, like q1.
  • That's the item where we're grabbing al the Wikidata information from
empty optional
stub Tag template as a stub by adding "stub=1". This option also moves template from Category:Institution templates to Category:Institution template stubs. See Template:Institution/stub-documentation for more info.
  • No corrosponding Wikidata property.
empty optional

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

See also

Localization

Беларуская (тарашкевіца)‎ | বাংলা | Català | Čeština | Dansk | Deutsch | Ελληνικά | English | Español | Eesti | Euskara | فارسی | Suomi | Français | Galego | Magyar | Հայերեն | Italiano | 日本語 | 한국어 | Македонски | മലയാളം | Bahasa Melayu | Plattdüütsch | Nederlands | Polski | Português | Română | Русский | Slovenščina | Српски / srpski | Svenska | Türkçe | Українська | Tiếng Việt | 中文 | 中文(简体)‎ |

This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Institution/layout.

To add your language to the list of languages supported by this template, please copy the code of Template:Institution/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.


Example usage

For example the source code of the Institution:Glyptothek Munich is:

{{Institution
 | 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]]
   |pl=[[:pl:Gliptoteka monachijska|Gliptoteka monachijska]]
   |pt=[[:pt:Glyptothek|Glyptothek, Munique]]
   |ro=[[:ro:Gliptoteca de la München|Gliptoteca de la München]]
 }}
 | native name = Glyptothek
 | location    = Munich
 | latitude    = 48.146389
 | longitude   = 11.565833
 | established = 1830
 | inventory   = Inventory Glyptothek Munich
 | homecat     = Glyptothek Munich
 | website     = [http://www.antike-am-koenigsplatz.mwn.de/ Glyptothek]
 | linkback    = Institution:Glyptothek Munich
 | image       = Glyptothek 1900.jpg
}}

This page is saved at "Institution:Glyptothek Munich" and used by typing {{Institution:Glyptothek Munich}}