قالب:Country data PR Croatia/doc

Usage

Rather than redirecting {{Country data PR 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 "PR 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 "PR 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

Template SR Croatia output PR Croatia output
{{flag|SR Croatia}}  كرواتيا  كرواتيا
{{flag country|SR Croatia}} Flag of جمهورية كرواتيا الاشتراكية كرواتيا Flag of جمهورية كرواتيا الاشتراكية كرواتيا
{{flag icon|SR Croatia}} جمهورية كرواتيا الاشتراكية جمهورية كرواتيا الاشتراكية
{{fb|SR Croatia}}  [[كرواتيا الاشتراكية {{{altlink}}}|كرواتيا]]  [[كرواتيا الاشتراكية {{{altlink}}}|كرواتيا]]