Difference between revisions of "Template:Foreign relations of Afghanistan"

From blackwiki
Jump to navigation Jump to search
imported>PakistaniNisar
imported>MirkoS18
 
(75 intermediate revisions by 49 users not shown)
Line 1: Line 1:
{{Navbox
+
{{navbox
|name  = Foreign relations of Afghanistan
+
| name  = Foreign relations of Afghanistan
|title = {{flagicon|Afghanistan}} [[Foreign relations of Afghanistan]]
+
| title = {{flagicon|Afghanistan}} [[Foreign relations of Afghanistan]]
|titlestyle = background:lightsteelblue;
+
| state    = {{{state|autocollapse}}}
|image = [[Image:Coat of arms of Afghanistan.svg|90px|Emblem of Afghanistan]]
+
| bodyclass = hlist
|groupstyle = background:lightsteelblue;
+
| titlestyle = background:lightsteelblue;
|liststyle  = padding:0.25em 0; line-height:1.4em; <!--otherwise lists can appear to form continuous whole-->
+
| groupstyle = background:lightsteelblue;
|evenodd    = swap
 
|group1 = Africa
 
|list1  = [[Afghanistan–Egypt relations|Egypt]]{{•}} [[Afghanistan–Libya relations|Libya]]
 
  
|group2 = Americas
+
| image = [[File:National emblem of Afghanistan.svg|80px|Emblem of Afghanistan]]
|list2  = [[Afghanistan–Canada relations|Canada]]{{•w}} [[Afghanistan–United States relations|United States]]  
 
  
|group3 = Asia
+
|group1 = Americas
|list3style = padding:0;<!--subgroups in use-->
+
|list1 =
|list3  =
+
* [[Afghanistan–Canada relations|Canada]]
{{Navbox subgroups |groupstyle=background:transparent; font-weight:normal; |liststyle=padding:0.15em 0; line-height:1.4em; <!--per above-->
+
* [[Afghanistan–Mexico relations|Mexico]]
  |group1 = West Asia
+
* [[Afghanistan–United States relations|United States]]
  |list1 = [[Afghanistan–Iran relations|Iran]]{{•w}} [[Afghanistan–Saudi Arabia relations|Saudi Arabia]]
 
  |group2style = background:#f7f7f7;
 
  |group2 = South Asia
 
  |list2  = [[Afghanistan–India relations|India]]{{·}} [[Afghanistan–Pakistan relations|Pakistan]]
 
}}
 
  
|group4 = Europe
+
|group2 = Asia
|list4  = [[Afghanistan–Germany relations|Germany]]{{•w}} [[Afghanistan–Greece relations|Greece]]{{•w}} [[Afghanistan–Russia relations|Russia]]{{•w}} [[Afghanistan–Turkey relations|Turkey]]
+
|list2 =
 +
* [[Afghanistan–Bangladesh relations|Bangladesh]]
 +
* [[Afghanistan–China relations|China]]
 +
* [[Afghanistan–India relations|India]]
 +
* [[Afghanistan–Indonesia relations|Indonesia]]
 +
* [[Afghanistan–Iran relations|Iran]]
 +
* [[Afghanistan–Israel relations|Israel]]
 +
* [[Afghanistan–Japan relations|Japan]]
 +
* [[Afghanistan–Pakistan relations|Pakistan]]
 +
* [[Afghanistan–South Korea relations|South Korea]]
 +
* [[Afghanistan–Tajikistan relations|Tajikistan]]
 +
* [[Afghanistan–Turkey relations|Turkey]]
 +
* [[Afghanistan–Turkmenistan relations|Turkmenistan]]
 +
* [[Afghanistan–United Arab Emirates relations|United Arab Emirates]]
  
|group5 = Oceania
+
|group3 = Europe
|list5  = [[Afghanistan–Australia relations|Australia]]
+
|list3 =  
 +
* [[Afghanistan–Denmark relations|Denmark]]
 +
* [[Afghanistan–France relations|France]]
 +
* [[Afghanistan–Germany relations|Germany]]
 +
* [[Afghanistan–Greece relations|Greece]]
 +
* [[Afghanistan–Norway relations|Norway]]
 +
* [[Afghanistan–Poland relations|Poland]]
 +
* [[Afghanistan–Russia relations|Russia]]
 +
* [[Afghanistan–Spain relations|Spain]]
 +
* [[Afghanistan–United Kingdom relations|United Kingdom]]
 +
{{Navbox|subgroup
 +
  |group1 = Historical
 +
  |list1 =
 +
*[[Afghanistan–Yugoslavia relations|Yugoslavia]]
 +
}}
 +
 
 +
|group4 = Missions
 +
|list4 =
 +
* [[List of diplomatic missions of Afghanistan|Diplomatic missions of]] / [[List of diplomatic missions in Afghanistan|in Afghanistan]]
  
|group6 = Missions
 
|list6  = [[Diplomatic missions of Afghanistan|Diplomatic missions of]]{{\}} [[List of diplomatic missions in Afghanistan|in Afghanistan]]
 
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
  
[[Category:Afghanistan templates|Foreign relations]]
+
[[Category:Foreign relations of Afghanistan|τ]]
 +
[[Category:Afghanistan politics and government templates|Foreign relations]]
 
[[Category:Foreign relations by country templates|Afghanistan]]
 
[[Category:Foreign relations by country templates|Afghanistan]]
[[Category:Foreign relations of Afghanistan|τ]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 17:18, 1 September 2020

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Foreign relations of Afghanistan|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Foreign relations of Afghanistan|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Foreign relations of Afghanistan|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.