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

From blackwiki
Jump to navigation Jump to search
imported>Nomian
(state handling, combined subgroup lists (not many links), group5name formatting, category)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name = Foreign relations of Malawi
+
|name = Foreign relations of Malawi
 +
|state = {{{state|{{{1|autocollapse}}}}}}
 
|title = {{flagicon|Malawi}} [[Foreign relations of Malawi]]
 
|title = {{flagicon|Malawi}} [[Foreign relations of Malawi]]
|state    = {{{state|autocollapse}}}
 
 
|listclass = hlist
 
|listclass = hlist
  
 
|group1 = Africa
 
|group1 = Africa
 
|list1 =
 
|list1 =
{{Navbox subgroup
 
| groupwidth  = 8em
 
| groupstyle  = text-align:center;
 
| group1      = Eastern Africa
 
| list1      =
 
 
* [[Kenya–Malawi relations|Kenya]]
 
* [[Kenya–Malawi relations|Kenya]]
 +
<!--* [[Malawi-Libya relations|Libya]]-->
 +
* [[Malawi–Morocco relations|Morocco]]
 +
* [[Malawi-Mozambique relations|Mozambique]]
 +
* [[Malawi–Nigeria relations|Nigeria]]
 
* [[Malawi–Rwanda relations|Rwanda]]
 
* [[Malawi–Rwanda relations|Rwanda]]
 +
* [[Malawi–South Africa relations|South Africa]]
 
* [[Malawi–Tanzania relations|Tanzania]]
 
* [[Malawi–Tanzania relations|Tanzania]]
 
* [[Malawi–Uganda relations|Uganda]]
 
* [[Malawi–Uganda relations|Uganda]]
 
| group2      = Northern Africa
 
| list2      =
 
* [[Malawi–Morocco relations|Morocco]]
 
* [[Malawi-Libya relations|Libya]]
 
 
| group3    = Southern Africa
 
| list3      =
 
* [[Malawi-Mozambique relations|Mozambique]]
 
* [[Malawi–South Africa relations|South Africa]]
 
 
* [[Malawi-Zambia relations|Zambia]]
 
* [[Malawi-Zambia relations|Zambia]]
 
* [[Malawi–Zimbabwe relations|Zimbabwe]]
 
* [[Malawi–Zimbabwe relations|Zimbabwe]]
 
| group4    = Western Africa
 
  | list4      =
 
* [[Malawi–Nigeria relations|Nigeria]]
 
}}
 
  
 
|group2 = Americas
 
|group2 = Americas
 
|list2 =
 
|list2 =
  {{Navbox subgroup
+
* [[Malawi–United States relations|United States]]
| groupwidth  = 8em
 
| groupstyle  = text-align:center;
 
| group1      = Caribbean
 
| list1      =
 
 
 
| group2    = North & South
 
| list2  =
 
*[[Malawi–United States relations|United States]]
 
}}
 
  
 
|group3 = Asia
 
|group3 = Asia
Line 59: Line 35:
 
* [[Malawi–United Kingdom relations|United Kingdom]]
 
* [[Malawi–United Kingdom relations|United Kingdom]]
  
|group5 = International<br/>organizations
+
|group5 = {{longitem|International<br/>organizations}}
|list5 =  
+
|list5 =
* [[Southern African Customs Union|SACU]]
+
* [[Southern African Customs Union|Southern African Customs Union (SACU)]]
* [[Southern African Development Community|SADC]]
+
* [[Southern African Development Community|Southern African Development Community (SADC)]]
 +
 
 +
|below = [[List of diplomatic missions of Malawi|Diplomatic missions of]]{{\}}[[List of diplomatic missions in Malawi|in Malawi]]
  
|below = [[List of diplomatic missions of Malawi|Diplomatic missions of]] / [[List of diplomatic missions in Malawi|in Malawi]]
 
 
}}<noinclude>
 
}}<noinclude>
{{collapsible option}}
+
 
[[Category:Foreign relations of Malawi|t]]
+
{{collapsible option |statename=optional}}
[[Category:Malawi politics and governments templates|Foreign relations]]
+
 
 +
[[Category:Malawi politics and government templates]]
 
[[Category:Foreign relations by country templates|Malawi]]
 
[[Category:Foreign relations by country templates|Malawi]]
 +
[[Category:Foreign relations of Malawi|τ]]
 
</noinclude>
 
</noinclude>

Revision as of 01:56, 10 March 2014

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Foreign relations of Malawi|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Foreign relations of Malawi|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Foreign relations of Malawi|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.