Template:Institution/documentation: Difference between revisions

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Content deleted Content added
No edit summary
Tag: Reverted
m Reverted edits by 194.214.199.133 (talk) to last revision by Tacsipacsi
Tag: Rollback
 
(24 intermediate revisions by 14 users not shown)
Line 2: Line 2:
|1 = 1
|1 = 1
|1label = option
|1label = option
|1d-en = Set to “collapse” to collapse the table by default. More options may come in the future
|1d-en = Set to "collapse" to collapse the table by default. More options may come in the future
|1sv = collapse
|1stat = optional-
|1stat = optional-
|1type = string/line
|1type = string/line


|name = {{FULLPAGENAME}}
|name = {{FULLPAGENAME}}
|desc-en = [[Template:Institution|Institution]] page template, intended for use in “institution” field of {{tl|Artwork}}, {{tl|Map}} and {{tl|Photograph}} template to provide additional information and links for [[:en:GLAM (industry sector)|GLAM]] ([[:en:Art museum|Galleries]], [[:en:Library|Libraries]], [[:en:Archive|Archive]]s, and [[:en:Museum|Museum]]s) institutions which hold the artworks. May also be added to Wikidata, using {{P|1612}}.
|desc-en = [[Template:Institution|Institution]] page template, intended for use in the "institution" field of the {{tl|Artwork}}, {{tl|Map}} and {{tl|Photograph}} templates to provide additional information and links for [[:en:GLAM (industry sector)|GLAM]] ([[:en:Art museum|Galleries]], [[:en:Library|Libraries]], [[:en:Archive|Archive]]s, and [[:en:Museum|Museum]]s) institutions which hold the artworks. May also be added to Wikidata, using {{P|1612}}.
|desc-de = Vorlage [[Template:Institution|Institution]] für die Verwendung im Parameter „institution“ ''(Momentaner Standort)'' in der Vorlage {{tl|Artwork}}
|desc-de = Vorlage [[Template:Institution|Institution]] für die Verwendung im Parameter „institution“ ''(Momentaner Standort)'' in der Vorlage {{tl|Artwork}}
|desc-fr = Modèle [[Template:Institution|Institution]], prévu pour être utilisé dans le champ « institution » des modèles {{tl|Artwork}}, {{tl|Map}}, et {{tl|Photograph}}
|desc-fr = Modèle [[Template:Institution|Institution]], prévu pour être utilisé dans le champ « institution » des modèles {{tl|Artwork}}, {{tl|Map}}, et {{tl|Photograph}}
|desc-pl = Szablon [[Template:Institution|Institution]], został utworzony w celu użycia w polu "institution" szablonu {{tl|Artwork}}. Dostarcza on dodatkowych informacji i odwołań w przestrzeni [[:en:GLAM (industry sector)|GLAM]] ([[:en:Art museum|Galleries]], [[:en:Library|Libraries]], [[:en:Archive|Archive]]s, and [[:en:Museum|Museum]]s - Galerie, Biblioteki, Archiwa, Muzea) do wskazania instytucji przechowujących dane dzieło.
|desc-pl = Szablon [[Template:Institution|Institution]], został utworzony w celu użycia w polu "institution" szablonu {{tl|Artwork}}. Dostarcza on dodatkowych informacji i odwołań w przestrzeni [[:en:GLAM (industry sector)|GLAM]] ([[:en:Art museum|Galleries]], [[:en:Library|Libraries]], [[:en:Archive|Archive]]s, and [[:en:Museum|Museum]]s - Galerie, Biblioteki, Archiwa, Muzea) do wskazania instytucji przechowujących dane dzieło.
|desc-zh-hans= [[Template:Institution|机构]]页面模板,本意用于{{tl|Artwork}}、{{tl|Map}}和{{tl|Photograph}}模板的“机构”字段,以提供额外信息及用于[[:en:GLAM (industry sector)|GLAM]]([[:en:Art museum|图库]]、[[:en:Library|图书馆]]、[[:en:Archive|档案]]、及[[:en:Museum|博物馆]])机构的链接,这些机构保有艺术作品。也可以添加到维基数据,使用{{P|1612}}。
|desc-zh-hans= [[Template:Institution|机构]]页面模板,本意用于{{tl|Artwork}}、{{tl|Map}}和{{tl|Photograph}}模板的“机构”字段,以提供额外信息及用于[[:en:GLAM (industry sector)|GLAM]]([[:en:Art museum|图库]]、[[:en:Library|图书馆]]、[[:en:Archive|档案]]、及[[:en:Museum|博物馆]])机构的链接,这些机构保有艺术作品。也可以添加到维基数据,使用{{P|1612}}。
|desc-td = <nowiki>Institution page template, intended for use in “institution” ield of {{Artwork}} and {{Photograph}} template to provide additional information and links for GLAM (Galleries, Libraries, Archives, and Museums) institutions which hold the artworks. May also be added to Wikidata, using P1612.</nowiki>
|desc-td = <nowiki>Institution page template, intended for use in the "institution" field of the {{Artwork}} and {{Photograph}} templates to provide additional information and links for GLAM (Galleries, Libraries, Archives, and Museums) institutions which hold the artworks. May also be added to Wikidata, using P1612.</nowiki>
|desc-td-de= <nowiki>Vorlage Institution für die Verwendung im Parameter „institution“ (Momentaner Standort) in der Vorlage {{Artwork}}</nowiki>
|desc-td-de= <nowiki>Vorlage Institution für die Verwendung im Parameter „institution“ (Momentaner Standort) in der Vorlage {{Artwork}}</nowiki>
|desc-td-fr= <nowiki>Modèle Institution, prévu pour être utilisé dans le champ « institution » du modèle {{Artwork}}</nowiki>
|desc-td-fr= <nowiki>Modèle Institution, prévu pour être utilisé dans le champ « institution » du modèle {{Artwork}}</nowiki>

Latest revision as of 20:40, 29 February 2024

Institution page template, intended for use in the "institution" field of the {{Artwork}}, {{Map}} and {{Photograph}} templates to provide additional information and links for GLAM (Galleries, Libraries, Archives, and Museums) institutions which hold the artworks. May also be added to Wikidata, using Commons Institution page (P1612).

Usage

{{Template:Institution/documentation}}

Template parameters

<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

Institution page template, intended for use in the "institution" field of the {{Artwork}} and {{Photograph}} templates to provide additional information and links for GLAM (Galleries, Libraries, Archives, and Museums) institutions which hold the artworks. May also be added to Wikidata, using P1612.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
option1

Set to "collapse" to collapse the table by default. More options may come in the future

Suggested values
collapse
Lineoptional

Additional information

The template is intended to be used in the following namespaces: all namespaces

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

Relies on:
{{Institution}} and Module:Institution

Internationalized on Module:I18n/institution, partly using Wikidata items.