Template:Wp-Berne Convention

From Wikimedia Commons, the free media repository
(Redirected from Template:Berne Convention)
Jump to navigation Jump to search

Berne Convention for the Protection of Literary and Artistic Works

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:WikiLink/model.

Renders a link to the "Berne Convention" article in Wikipedia

Usage

{{Wp-Berne Convention |1= |2= |lang= }}

Links to the Wikipedia article on "Berne Convention" in the requested language if available, or in English if not. The Wikidata label in the requested language is shown if the display name is not given. Usually this is the same as the name of the article in the target Wikipedia, if it exists. If there is no translation into the requested language, the English label is used.

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

Renders a link to the "Berne Convention" article in Wikipedia

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
link text1

Name to display in the link

Default
Translated Wikidata label
Lineoptional
no translation warning2

Text to display in brackets after the display name if the article is not found in requested language. This may be useful in a "See also" entry.

Lineoptional
languagelang

Language to link Wikipedia in (and show label in, if not overridden)

Default
Current page language
Lineoptional

Additional information

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

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

Relies on:
{{WikiLink}}

See also

Localization

This template is not intended to be localized.

Examples

{{Wp-Berne Convention}} Berne Convention for the Protection of Literary and Artistic Works
{{Wp-Berne Convention|ABC}} ABC
{{Wp-Berne Convention|lang=ar}} اتفاقية برن
{{Wp-Berne Convention|lang=de|ABC}} ABC
{{Wp-Berne Convention|lang=fr}} Convention de Berne pour la protection des œuvres littéraires et artistiques
{{Wp-Berne Convention|lang=ko}} 문학·예술적 저작물의 보호를 위한 베른협약
{{Wp-Berne Convention|lang=zh}} 伯尔尼保护文学和艺术作品公约
{{Wp-Berne Convention|ABC|in English|lang=en}} ABC
{{Wp-Berne Convention|ABC|in English|lang=xyz}} ABC [in English]