Difference between revisions of "Template:Foreign relations of South America"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
m (updating category using AWB)
imported>Sardanaphalus
(cross-browser-compliant linewrap handling, updating categorization)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name       = Foreign relations in South America
+
|name = Foreign relations in South America
|state     = {{#if:{{{state|}}}|<!--then:-->|<!--else:-->autocollapse}}
+
|state = {{{state|autocollapse}}}
|title     = Foreign relations in South America
+
|title = Foreign relations in [[South America]]
|image     = [[Image:South America.svg|35px]]
+
|image = [[Image:South America.svg|35px|South America]]
 +
|liststyle = padding:0.25em 0; line-height:1.4em; <!--otherwise lists can appear to form continuous whole-->
  
|groupstyle = text-align:right; 
+
|group1 = [[List of sovereign states|Sovereign states]]
|liststyle  = font-size:0.95em;
+
|list1 = {{nowrap begin}} [[Foreign relations of Argentina|Argentina]]{{·w}} [[Foreign relations of Bolivia|Bolivia]]{{·w}} [[Foreign relations of Brazil|Brazil]]{{·w}} [[Foreign relations of Chile|Chile]]{{·w}} [[Foreign relations of Colombia|Colombia]]{{·w}} [[Foreign relations of Ecuador|Ecuador]]{{·w}} [[Foreign relations of Guyana|Guyana]]{{·w}} [[Foreign relations of Panama|Panama]]{{·w}} [[Foreign relations of Paraguay|Paraguay]]{{·w}} [[Foreign relations of Peru|Peru]]{{·w}} [[Foreign relations of Suriname|Suriname]]{{·w}} [[Foreign relations of Trinidad and Tobago|Trinidad and Tobago]]{{·w}} [[Foreign relations of Uruguay|Uruguay]]{{·w}} [[Foreign relations of Venezuela|Venezuela]] {{nowrap end}}
|above      =
 
|below      =
 
 
 
| group1 = [[List of sovereign states|Sovereign states]]
 
| list1   = [[Foreign relations of Argentina|Argentina]]{{·}} [[Foreign relations of Bolivia|Bolivia]]{{·}} [[Foreign relations of Brazil|Brazil]]{{·}} [[Foreign relations of Chile|Chile]]{{·}} [[Foreign relations of Colombia|Colombia]]{{·}} [[Foreign relations of Ecuador|Ecuador]]{{·}} [[Foreign relations of Guyana|Guyana]]{{·}} [[Foreign relations of Panama|Panama]]*{{·}} [[Foreign relations of Paraguay|Paraguay]]{{·}} [[Foreign relations of Peru|Peru]]{{·}} [[Foreign relations of Suriname|Suriname]]{{·}} [[Foreign relations of Trinidad and Tobago|Trinidad&nbsp;and&nbsp;Tobago]]*{{·}} [[Foreign relations of Uruguay|Uruguay]]{{·}} [[Foreign relations of Venezuela|Venezuela]]
 
  
 
|group2 = [[Dependent territory|Dependencies]]
 
|group2 = [[Dependent territory|Dependencies]]
|list2 = [[Foreign relations of Aruba|Aruba]]* <small>([[Netherlands]])</small>{{·}} [[Foreign relations of the Falkland Islands|Falkland Islands]] <small>([[United Kingdom|UK]])</small>{{·}} [[Foreign relations of French Guiana|French&nbsp;Guiana]] <small>([[France]])</small>{{·}} [[Foreign relations of the Netherlands Antilles|Netherlands Antilles]]* <small>([[Netherlands]])</small>{{·}} [[Foreign relations of South Georgia and the South Sandwich Islands|South&nbsp;Georgia and the South&nbsp;Sandwich&nbsp;Islands]] <small>([[United Kingdom|UK]])</small>
+
|list2 = {{nowrap begin}} [[Foreign relations of Aruba|Aruba]] <small>([[Netherlands]])</small>{{·w}} [[Foreign relations of the Falkland Islands|Falkland Islands]] <small>([[United Kingdom|UK]])</small>{{·w}} [[Foreign relations of French Guiana|French Guiana]] <small>([[France]])</small>{{·w}} [[Foreign relations of the Netherlands Antilles|Netherlands Antilles]] <small>([[Netherlands]])</small>{{·w}} [[Foreign relations of South Georgia and the South Sandwich Islands|South Georgia and the South Sandwich Islands]] <small>([[United Kingdom|UK]])</small> {{nowrap end}}
 
}}<noinclude>
 
}}<noinclude>
 +
<br/>{{collapsible option}}
  
[[Category:South America templates|{{PAGENAME}}]]
+
[[Category:South America politics and government templates|Foreign relations]]
[[Category:Foreign relations by country navbox templates|South America]]
+
[[Category:Foreign relations navbox templates|South America]]
 
</noinclude>
 
</noinclude>

Revision as of 12:41, 3 August 2008


Initial visibility: currently defaults to autocollapse

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

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