Difference between revisions of "Template:Foreign relations of Sri Lanka"

From blackwiki
Jump to navigation Jump to search
imported>K2qh243
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
Line 2: Line 2:
 
| name  = Foreign relations of Sri Lanka
 
| name  = Foreign relations of Sri Lanka
 
| title = {{flagicon|Sri Lanka}} [[Foreign relations of Sri Lanka]]  
 
| title = {{flagicon|Sri Lanka}} [[Foreign relations of Sri Lanka]]  
 +
|listclass = hlist
 
| titlestyle = background:lightsteelblue;
 
| titlestyle = background:lightsteelblue;
 
| image = [[Image:Coat_of_arms_of_Sri_Lanka.svg|52px|Coat of arms of SriLanka]]
 
| image = [[Image:Coat_of_arms_of_Sri_Lanka.svg|52px|Coat of arms of SriLanka]]
 
| groupstyle = background:lightsteelblue;
 
| groupstyle = background:lightsteelblue;
| liststyle  = padding:0.25em 0; line-height:1.4em; <!--otherwise lists can appear to form continuous whole-->
 
 
| evenodd    = swap
 
| evenodd    = swap
 
| sect1 = [[Bilateralism|Bilateral]] relations  
 
| sect1 = [[Bilateralism|Bilateral]] relations  
Line 11: Line 11:
  
 
| group1 = Asia  
 
| group1 = Asia  
| list1style = padding:0.25em 0; line-height:1.4em; <!--as above-->
+
| list1 =
| list1 = [[Bangladesh – Sri Lanka relations|Bangladesh]]{{·}} [[Foreign relations of Bhutan|Bhutan]]{{·}} [[People's Republic of China–Sri Lanka relations|China]]{{·}} [[India – Sri Lanka relations|India]]{{·}} [[Iran – Sri Lanka relations|Iran]]{{·}} [[Japan – Sri Lanka relations|Japan]]{{·}} [[Maldives – Sri Lanka relations|Maldives]]{{·}} [[Pakistan – Sri Lanka relations|Pakistan]]
+
* [[Bangladesh – Sri Lanka relations|Bangladesh]]
 +
* [[Foreign relations of Bhutan|Bhutan]]
 +
* [[People's Republic of China–Sri Lanka relations|China]]
 +
* [[India – Sri Lanka relations|India]]
 +
* [[Iran – Sri Lanka relations|Iran]]
 +
* [[Japan – Sri Lanka relations|Japan]]
 +
* [[Maldives – Sri Lanka relations|Maldives]]
 +
* [[Pakistan – Sri Lanka relations|Pakistan]]
  
 
| group2 = Europe  
 
| group2 = Europe  
| list2style = padding:0.25em 0; line-height:1.4em; <!--as above-->
+
| list2 =
| list2 =  [[Denmark – Sri Lanka relations|Denmark]]{{·}} [[Estonia – Sri Lanka relations|Estonia]]{{·}} [[Holy See – Sri Lanka relations|Holy See]]{{·}} [[Hungary – Sri Lanka relations|Hungary]]{{·}} [[Russia–Sri Lanka relations|Russia]]{{·}} [[Sri Lanka – Switzerland relations|Switzerland]]
+
* [[Denmark – Sri Lanka relations|Denmark]]
 +
* [[Estonia – Sri Lanka relations|Estonia]]
 +
* [[Holy See – Sri Lanka relations|Holy See]]
 +
* [[Hungary – Sri Lanka relations|Hungary]]
 +
* [[Russia–Sri Lanka relations|Russia]]
 +
* [[Sri Lanka – Switzerland relations|Switzerland]]
  
 
| group3 = North America  
 
| group3 = North America  
| list3style = padding:0.25em 0; line-height:1.4em; <!--as above-->
+
| list3 =
| list3 = [[Cuba – Sri Lanka relations|Cuba]]{{·}} [[Sri Lanka – United States relations|United States]]
+
* [[Cuba – Sri Lanka relations|Cuba]]
 +
* [[Sri Lanka – United States relations|United States]]
 
    
 
    
 
| group4 = Oceania  
 
| group4 = Oceania  
| list4style = padding:0.25em 0; line-height:1.4em; <!--as above-->
+
| list4 =
| list4 = [[Australia – Sri Lanka relations|Australia]]
+
* [[Australia – Sri Lanka relations|Australia]]
  
 
| group5 = [[Ministry of Foreign Affairs (Sri Lanka)|Ministry of Foreign Affairs]]<br>([[Minister of Foreign Affairs (Sri Lanka)|Minister]])
 
| group5 = [[Ministry of Foreign Affairs (Sri Lanka)|Ministry of Foreign Affairs]]<br>([[Minister of Foreign Affairs (Sri Lanka)|Minister]])
| list5  = [[List of diplomatic missions of Sri Lanka|Diplomatic missions of]]{{\}}[[List of diplomatic missions in Sri Lanka|in Sri Lanka]] {{·}}[[List of heads of missions from Sri Lanka]]{{·}} [[Sri Lanka Overseas Service]]{{·}} [[Bandaranaike International Diplomatic Training Institute]]{{·}} [[Lakshman Kadirgamar Institute of International Relations and Strategic Studies]]
+
| list5  =
 +
* [[List of diplomatic missions of Sri Lanka|Diplomatic missions of]]{{\}}[[List of diplomatic missions in Sri Lanka|in Sri Lanka]]  
 +
* [[List of heads of missions from Sri Lanka]]
 +
* [[Sri Lanka Overseas Service]]
 +
* [[Bandaranaike International Diplomatic Training Institute]]
 +
* [[Lakshman Kadirgamar Institute of International Relations and Strategic Studies]]
  
 
| group6 = International<br/>organizations
 
| group6 = International<br/>organizations
| list6style = padding:0.25em 0; line-height:1.4em; <!--as above-->
+
| list6 =
| list6 = [[United Nations]]{{·}} [[Group of 77|G77]]{{·}} [[International Atomic Energy Agency|IAEA]]{{·}} [[International Monetary Fund|IMF]]{{·}} [[International Organization for Standardization|ISO]]{{·}} [[Commonwealth of Nations]]{{·}} [[Non-Aligned Movement|NAM]]{{·}} [[SAARC]]{{·}} [[UNESCO]]{{·}} [[World Health Organization|WHO]]{{·}} [[World Trade Organization|WTO]]{{·}} [[South Asian Economic Union|SAEU]]{{·}} [[BIMSTEC]]
+
* [[United Nations]]
 +
* [[Group of 77|G77]]
 +
* [[International Atomic Energy Agency|IAEA]]
 +
* [[International Monetary Fund|IMF]]
 +
* [[International Organization for Standardization|ISO]]
 +
* [[Commonwealth of Nations]]
 +
* [[Non-Aligned Movement|NAM]]
 +
* [[SAARC]]
 +
* [[UNESCO]]
 +
* [[World Health Organization|WHO]]
 +
* [[World Trade Organization|WTO]]
 +
* [[South Asian Economic Union|SAEU]]
 +
* [[BIMSTEC]]
  
 
|belowstyle = background:lightsteelblue;
 
|belowstyle = background:lightsteelblue;
 
|below = [http://www.slmfa.gov.lk/ {{color|mediumblue|Foreign Affairs Ministry website}}]
 
|below = [http://www.slmfa.gov.lk/ {{color|mediumblue|Foreign Affairs Ministry website}}]
 
}}<noinclude>
 
}}<noinclude>
<br/><hr/>{{collapsible option}}<br/><hr/>{{collapsible sections option |list="Bilateral" and "Multilateral" |example=Multilateral}}
+
<br/><hr/>{{collapsible option}}<br/><hr/>{{collapsible sections option |list=
 +
* "Bilateral" and "Multilateral" |example=Multilateral}}
  
 
</noinclude>
 
</noinclude>

Revision as of 10:15, 17 March 2012



Initial visibility: currently defaults to autocollapse

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

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


How to manage this template's collapsible groups/sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name where name is one of the following words that identify the groups/sections (omit any speech or quotation marks):
  • * "Bilateral" and "Multilateral"
  • For example: {{Foreign relations of Sri Lanka |Multilateral}}