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

From blackwiki
Jump to navigation Jump to search
imported>Circeus
(new template to allow for unlinked title)
 
imported>Sawol
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name       = Foreign relations in South America
+
|name = Foreign relations of South America
|state     = {{#if:{{{state|}}}|<!--then:-->|<!--else:-->autocollapse}}
+
|title = Foreign relations of South America
|title      = Foreign relations in South America
+
|state = {{{state<includeonly>|autocollapse</includeonly>}}}
|image     = [[Image:South America.png|35px]]
+
|listclass = hlist
 +
|image = [[File:South America.svg|35px|South America]]
  
|groupstyle = text-align:right; 
+
|group1 = [[List of sovereign states|Sovereign states]]
|liststyle = font-size:0.95em;
+
|list1 =  
|above      =
+
* [[Foreign relations of Argentina|Argentina]]
|below      =
+
* [[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 and Tobago]]
 +
* [[Foreign relations of Uruguay|Uruguay]]
 +
* [[Foreign relations of Venezuela|Venezuela]]
  
| group1  = [[List of sovereign states|Sovereign states]]
+
|group2 = [[Dependent territory|Dependencies]]
| 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]]
+
|list2  =  
 +
* [[Foreign relations of Aruba|Aruba]] <small>(Netherlands)</small>
 +
* [[Foreign relations of the Falkland Islands|Falkland Islands]] <small>(UK)</small>
 +
* [[Foreign relations of French Guiana|French 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 Georgia and the South Sandwich Islands]] <small>(UK)</small>
 +
}}<noinclude>
 +
{{collapsible option}}
 +
{{Continent topic|prefix=Template:Foreign relations of|title=Foreign relations by continent}}
  
|group2 = [[Dependent territory|Dependencies]]
+
[[Category:South America politics and government templates]]
|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>
+
[[Category:Foreign relations templates|South America]]
}}<noinclude>[[Category:South American navigational boxes|{{PAGENAME}}]]</noinclude>
+
</noinclude>

Latest revision as of 03:59, 19 August 2015

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.