Template:Country data FD Croatia
Jump to navigation
Jump to search
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Usage
[edit source]Rather than redirecting {{Country data FD Croatia}} to {{Country data SR Croatia}}, the former template transcludes the latter and passes through all parameters. The linked article will always be "Socialist Republic of Croatia", but the displayed name is either "PD Croatia" or "SR Croatia" 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 "PD Croatia" to be used in historical contexts without having to also set |name=. The variants from {{Country data SR Croatia}} can be used with both templates.
Examples
[edit source]| Template | SR Croatia output |
FD Croatia output
|
|---|---|---|
{{flag|SR Croatia}} |
File:Flag of the Socialist Republic of Croatia.svg SR Croatia | File:Flag of the Socialist Republic of Croatia.svg FD Croatia |
{{flag country|SR Croatia}} |
File:Flag of the Socialist Republic of Croatia.svg SR Croatia | File:Flag of the Socialist Republic of Croatia.svg FD Croatia |
{{flag icon|SR Croatia}} |
Socialist Republic of Croatia | Socialist Republic of Croatia |
{{fb|SR Croatia}} |
File:Flag of the Socialist Republic of Croatia.svg SR Croatia | File:Flag of the Socialist Republic of Croatia.svg FD Croatia |