Usage
editRather than redirecting {{Country data PR Bosnia and Herzegovina}} to {{Country data SR Bosnia and Herzegovina}}, the former template transcludes the latter and passes through all parameters. The linked article will always be "Socialist Republic of Bosnia and Herzegovina", but the displayed name is either "PR Bosnia and Herzegovina" or "SR Bosnia and Herzegovina" based on which of the two templates is used, even in templates that usually have a fixed default display name (such as {{flag country}} and {{fb}}). This allows for "PR Bosnia and Herzegovina" to be used in historical contexts without having to also set |name=
. The variants from {{Country data SR Bosnia and Herzegovina}} can be used with both templates.
Examples
editTemplate | SR Bosnia and Herzegovina output |
PR Bosnia and Herzegovina output
|
---|---|---|
{{flag|SR Bosnia and Herzegovina}} |
SR Bosnia and Herzegovina | PR Bosnia and Herzegovina |
{{flag country|SR Bosnia and Herzegovina}} |
Bosnia and Herzegovina | Bosnia and Herzegovina |
{{flag icon|SR Bosnia and Herzegovina}} |
||
{{fb|SR Bosnia and Herzegovina}} |
Bosnia and Herzegovina | PR Bosnia and Herzegovina |