Template:Wp-Bosnia and Herzegovina
Renders a link to the "Bosnia and Herzegovina" article in Wikipedia
Usage
{{Wp-Bosnia and Herzegovina |1= |2= |lang= }}
Links to the Wikipedia article on "Bosnia and Herzegovina" 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
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.
Wikipedia's help about TemplateData • Commons-specific information
Renders a link to the "Bosnia and Herzegovina" article in Wikipedia
Parameter | Description | Type | Status | |
---|---|---|---|---|
link text | 1 | Name to display in the link
| Line | optional |
no translation warning | 2 | 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. | Line | optional |
language | lang | Language to link Wikipedia in (and show label in, if not overridden)
| Line | optional |
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-Bosnia and Herzegovina}}
|
Bosnia and Herzegovina |
{{Wp-Bosnia and Herzegovina|ABC}}
|
ABC |
{{Wp-Bosnia and Herzegovina|lang=ar}}
|
البوسنة والهرسك |
{{Wp-Bosnia and Herzegovina|lang=de|ABC}}
|
ABC |
{{Wp-Bosnia and Herzegovina|lang=fr}}
|
Bosnie-Herzégovine |
{{Wp-Bosnia and Herzegovina|lang=ko}}
|
보스니아 헤르체고비나 |
{{Wp-Bosnia and Herzegovina|lang=zh}}
|
波斯尼亚和黑塞哥维那 |
{{Wp-Bosnia and Herzegovina|ABC|in English|lang=en}}
|
ABC |
{{Wp-Bosnia and Herzegovina|ABC|in English|lang=xyz}}
|
ABC [in English] |