قالب:Country data Ireland/doc
From Wikipedia, the free encyclopedia
This template is intended to be used for all-Ireland instances, usually resulting in a wikilink to Ireland (article about the island) instead of Republic of Ireland (article about the sovereign nation).
هذه صفحة توثيق الفرعية، لشرح القالب وتصنيفه، وهي لا تدخل في استخدامه. |
However, it is often convenient to use {{flagicon|Ireland}} and {{علم|Ireland}} instead of {{flagicon|Republic of Ireland}} and {{علم|Republic of Ireland}} respectively, so this template differs from the standard format in order to accommodate that usage. The alias parameter changes depending on whether or not a flag variant is used by the parent template call:
alias = {{#if:{{{variant|}}}|Ireland|Ireland (state)}}
This results in
- {{علم|Ireland|1783}} → قالب:بيانات بلد Ireland (use for Ireland as part of United Kingdom of Great Britain and Ireland)
- {{علم|Ireland}} → قالب:بيانات بلد Ireland (use for current state)