Template:Country data FD Serbia/doc
Jump to navigation
Jump to search
| This is a documentation subpage for Template:Country data FD Serbia. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit source]Rather than redirecting {{Country data FD Serbia}} to {{Country data SR Serbia}}, the former template transcludes the latter and passes through all parameters. The linked article will always be "Socialist Republic of Serbia", but the displayed name is either "PD Serbia" or "SR Serbia" 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 Serbia" to be used in historical contexts without having to also set |name=. The variants from {{Country data SR Serbia}} can be used with both templates.
Examples
[edit source]| Template | FD Serbia output |
FD Serbia output
|
|---|---|---|
{{flag|FD Serbia}} |
File:Flag of SR Serbia.svg FD Serbia | File:Flag of SR Serbia.svg FD Serbia |
{{flag country|FD Serbia}} |
File:Flag of SR Serbia.svg SR Serbia | File:Flag of SR Serbia.svg SR Serbia |
{{flag icon|FD Serbia}} |
Socialist Republic of Serbia | Socialist Republic of Serbia |
{{fb|FD Serbia}} |
File:Flag of SR Serbia.svg FD Serbia | File:Flag of SR Serbia.svg FD Serbia |