الفرق بين النسختين بتاع: «قالب:Country data Ireland/doc»

تم حذف المحتوى تمت إضافة المحتوى
استرجاع
ص بوت: تفادى تحويلات القوالب
سطر 2:
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 <tt><nowiki>{{flagicon|Ireland}}</nowiki></tt> and <tt><nowiki>{{flagعلم|Ireland}}</nowiki></tt> instead of <tt><nowiki>{{flagicon|Republic of Ireland}}</nowiki></tt> and <tt><nowiki>{{flagعلم|Republic of Ireland}}</nowiki></tt> respectively, so this template differs from the standard format in order to accommodate that usage. The <tt>alias</tt> parameter changes depending on whether or not a flag variant is used by the parent template call:
<pre>
alias = {{#if:{{{variant|}}}|Ireland|Ireland (state)}}
</pre>
This results in
*<tt><nowiki>{{flagعلم|Ireland|1783}}</nowiki></tt> → {{flagعلم|Ireland|1783}} ''(use for Ireland as part of [[United Kingdom of Great Britain and Ireland]])''
*<tt><nowiki>{{flagعلم|Ireland}}</nowiki></tt> → {{flagعلم|Ireland}} ''(use for current state)''
 
=== Sporting teams ===
سطر 40:
<tt>Country_data</tt> templates are also available for each of the four traditional [[provinces of Ireland]]:
{| style="background-color:#ecfcf4"
| [[Template:Country data Connacht]] || {{flagعلم|Connacht}}
|-
| [[Template:Country data Leinster]] || {{flagعلم|Leinster}}
|-
| [[Template:Country data Munster]] || {{flagعلم|Munster}}
|-
| [[Template:Country data Ulster]] || {{flagعلم|Ulster}}
|}