Difference between revisions of "Template:Diplomatic missions of Canada"

From blackwiki
Jump to navigation Jump to search
imported>Kholodovsky
imported>AndriiDr
 
(27 intermediate revisions by 18 users not shown)
Line 1: Line 1:
{{Navbox  
+
{{Navbox Canada
|name = Diplomatic missions of Canada
+
| name     = Diplomatic missions of Canada
|state = <includeonly>{{{state|collapsed}}}</includeonly>
+
| state     = {{{state<includeonly>|collapsed</includeonly>}}}
|titlestyle = color:black; background-color:white;
+
| title     = {{flagicon|CAN}} [[Diplomatic missions of Canada]]
|title = <span style="vertical-align:1px;">[[Image:Maple_Leaf_(from_roundel).png|20x20px]]</span>&nbsp;&nbsp;'''<font color=black>[[Diplomatic missions of Canada]]</font>'''
+
| leaf      =
|style = width:100%;
+
| listclass = hlist
|groupstyle = padding:0.35em 1.0em; line-height:1.1em;background:white;color:black;border: 1px solid #CC0000;
 
|list1style = padding:0.35em 0; line-height:1.5em;background:white;color:black;border-top: 1px solid #CC0000;
 
|liststyle = padding:0.35em 0; line-height:1.5em;background:white;color:black;
 
|belowstyle = background:#DCDCDC;color:black;
 
  
|group4 = Americas
+
| group1 = Americas
|list4 = <div>
+
| list1  =
[[Canadian Consulate-General, Boston|Boston]]{{·w}}
+
* [[Canadian Consulate-General, Boston|Boston]]
[[High Commission of Canada in Bridgetown|Bridgetown]]{{·w}}
+
* [[High Commission of Canada in Bridgetown|Bridgetown]]
[[Canadian Consulate-General, Buffalo|Buffalo]]{{·w}}
+
* [[Canadian Consulate-General, Chicago|Chicago]]
[[Canadian Consulate, Houston|Houston]]{{·w}}
+
* [[Canadian Consulate, Los Angeles|Los Angeles]]
[[Consulate General of Canada in Monterrey|Monterrey]]{{·w}}
+
* [[Embassy of Canada, Mexico City|Mexico City]]
[[Embassy of Canada building (Mexico City)|Mexico City]]{{·w}}
+
* [[Canadian Consulate, New York|New York]]
[[Embassy of Canada in Washington, D.C.|Washington, D.C.]]
+
* [[Embassy of Canada, Washington, D.C.|Washington, D.C.]]
</div>
 
  
|group2= Asia
+
| group2 = Asia
|list2 = <div>
+
| list2 =
[[Embassy of Canada in Kabul|Kabul]]{{·w}}
+
* [[Embassy of Canada, Abu Dhabi|Abu Dhabi]]
[[Consulate General of Canada in Hong Kong|Hong Kong]]{{·w}}
+
* [[Embassy of Canada, Kabul|Kabul]]
[[Embassy of Canada in Seoul|Seoul]]{{·w}}
+
* [[Canadian Consulate-General, Ho Chi Minh City|Ho Chi Minh City]]
[[Canadian Trade Office in Taipei|Taipei]]{{·w}}
+
* [[Consulate General of Canada in Hong Kong and Macao|Hong Kong]]
[[Embassy of Canada to Japan in Tokyo|Tokyo]]
+
* [[High Commission of Canada in Malaysia|Kuala Lumpur]]
</div>
+
* {{illm|Consulate of Canada, Nagoya|ja|在名古屋カナダ領事館|lt=Nagoya}}
 +
* [[Canadian Trade Office in Taipei|Taipei]]
 +
* [[Embassy of Canada, Tokyo|Tokyo]]
  
|group1 = Europe
+
| group3 = Europe
|list1 = <div>
+
| list3 =
[[Canada House (Berlin)|Berlin]]{{·w}}
+
* [[Canada House (Berlin)|Berlin]]
[[Embassy of Canada in Bucharest|Bucharest]]{{·w}}
+
* [[Embassy of Canada in Bucharest|Bucharest]]
[[Embassy of Canada in Budapest|Budapest]]{{·w}}
+
* [[Embassy of Canada in Budapest|Budapest]]
[[High Commission of Canada in London|London]] ([[Canada House]], [[Macdonald House (London)|Macdonald House]]){{·w}}
+
* [[High Commission of Canada in London|London]]
[[Embassy of Canada in Kyiv|Kyiv]]{{·w}}
+
** [[Canada House]]
[[Embassy of Canada in Moscow|Moscow]]{{·w}}
+
* [[Embassy of Canada in Kyiv|Kyiv]]
[[Embassy of Canada in Oslo|Oslo]]{{·w}}
+
* [[Embassy of Canada in Moscow|Moscow]]
[[Embassy of Canada in Paris|Paris]]{{·w}}
+
* [[Embassy of Canada in Oslo|Oslo]]
[[Embassy of Canada in Prague|Prague]]{{·w}}
+
* [[Embassy of Canada in Paris|Paris]]
[[Embassy of Canada in Warsaw|Warsaw]]{{·w}}
+
* [[Embassy of Canada to Poland|Warsaw]]
[[Embassy of Canada in Zagreb|Zagreb]]
+
* [[Embassy of Canada in Zagreb|Zagreb]]
</div>
 
  
|group3 = Oceania  
+
| group4 = Oceania
|list3= <div>
+
| list4  =
[[High Commission of Canada in Canberra|Canberra]]
+
* [[High Commission of Canada in Australia|Canberra]]
</div>
 
  
|group5 = Other
+
| group5 = Other
|list5 = <div>
+
| list5 =
[[Permanent Mission of Canada to the United Nations|United Nations]]{{·w}}
+
* [[Mission of Canada to the European Union|European Union]]
[[Mission of Canada to the European Union|European Union]]
 
</div>
 
  
|group6 = Former
+
| group6 = [[Trade office]]s
|list6 = [[Embassy of Uzbekistan, Washington, D.C.|Washington, D.C. (1927-1988)]]{{·w}}  [[Strathmore (Killiney)|Dublin (residence, 1957-2008)]]
+
| list6 =
</div>
 
  
}}
+
| group7 = Former
<noinclude>
+
| list7  =
[[Category:Canada politics and government navigational boxes|{{PAGENAME}}]]  
+
* [[Canadian Consulate-General, Buffalo|Buffalo (closed 2012)]]
 +
* [[Strathmore (Killiney)|Dublin (residence, 1957–2008)]]
 +
* {{illm|Consulate of Canada, Fukuoka|ja|在福岡カナダ領事館|lt=Fukuoka (1991–2007)}}
 +
* [[Macdonald House (London)|London (Macdonald House, 1961–2014)]]
 +
* {{illm|Consulate-General of Canada, Osaka|ja|在大阪カナダ総領事館|lt=Osaka (1986–2007)}}
 +
* [[Embassy of Uzbekistan, Washington, D.C.|Washington, D.C. (1927–1988)]]
 +
 
 +
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:Canada politics and government navigational boxes]]
 
[[Category:Foreign relations templates|Canadian diplomatic missions]]
 
[[Category:Foreign relations templates|Canadian diplomatic missions]]
</noinclude>
+
</noinclude>

Latest revision as of 08:52, 26 October 2020

Template:Navbox Canada Initial visibility: currently defaults to autocollapse

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

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