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

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>MirkoS18
 
(28 intermediate revisions by 22 users not shown)
Line 4: Line 4:
 
| state    = {{{state|autocollapse}}}
 
| state    = {{{state|autocollapse}}}
 
| bodyclass = hlist
 
| bodyclass = hlist
 +
| titlestyle = background:lightsteelblue;
 +
| groupstyle = background:lightsteelblue;
  
| image = [[File:Afghanistan COA Transparent.svg|60px|Emblem of Afghanistan]]
+
| image = [[File:National emblem of Afghanistan.svg|80px|Emblem of Afghanistan]]
  
|group1 = Asia
+
|group1 = Americas
 
|list1 =
 
|list1 =
* [[Afghanistan–People's Republic of China relations|China]]
+
* [[Afghanistan–Canada relations|Canada]]
 +
* [[Afghanistan–Mexico relations|Mexico]]
 +
* [[Afghanistan–United States relations|United States]]
 +
 
 +
|group2 = Asia
 +
|list2 =
 +
* [[Afghanistan–Bangladesh relations|Bangladesh]]
 +
* [[Afghanistan–China relations|China]]
 
* [[Afghanistan–India relations|India]]
 
* [[Afghanistan–India relations|India]]
 +
* [[Afghanistan–Indonesia relations|Indonesia]]
 
* [[Afghanistan–Iran relations|Iran]]
 
* [[Afghanistan–Iran relations|Iran]]
 
* [[Afghanistan–Israel relations|Israel]]
 
* [[Afghanistan–Israel relations|Israel]]
Line 18: Line 28:
 
* [[Afghanistan–Tajikistan relations|Tajikistan]]
 
* [[Afghanistan–Tajikistan relations|Tajikistan]]
 
* [[Afghanistan–Turkey relations|Turkey]]
 
* [[Afghanistan–Turkey relations|Turkey]]
 +
* [[Afghanistan–Turkmenistan relations|Turkmenistan]]
 
* [[Afghanistan–United Arab Emirates relations|United Arab Emirates]]
 
* [[Afghanistan–United Arab Emirates relations|United Arab Emirates]]
 
|group2 = Americas
 
|list2 =
 
* [[Afghanistan–Canada relations|Canada]]
 
* [[Afghanistan–United States relations|United States]]
 
  
 
|group3 = Europe
 
|group3 = Europe
 
|list3 =  
 
|list3 =  
 
* [[Afghanistan–Denmark relations|Denmark]]
 
* [[Afghanistan–Denmark relations|Denmark]]
 +
* [[Afghanistan–France relations|France]]
 
* [[Afghanistan–Germany relations|Germany]]
 
* [[Afghanistan–Germany relations|Germany]]
 +
* [[Afghanistan–Greece relations|Greece]]
 
* [[Afghanistan–Norway relations|Norway]]
 
* [[Afghanistan–Norway relations|Norway]]
 +
* [[Afghanistan–Poland relations|Poland]]
 
* [[Afghanistan–Russia relations|Russia]]
 
* [[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
 
|group4 = Missions

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.