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

From blackwiki
Jump to navigation Jump to search
imported>Gunkarta
(add Indonesia)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
|name  = Foreign relations of Portugal
 
|name  = Foreign relations of Portugal
 
|title = {{flagicon|Portugal}} [[Foreign relations of Portugal]]
 
|title = {{flagicon|Portugal}} [[Foreign relations of Portugal]]
 +
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
|titlestyle = background:lightsteelblue;
 
|titlestyle = background:lightsteelblue;
Line 44: Line 45:
 
|belowstyle = background:lightsteelblue;
 
|belowstyle = background:lightsteelblue;
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Foreign relations of Portugal|τ]]
 
[[Category:Foreign relations of Portugal|τ]]
 
[[Category:Portugal politics and government templates]]
 
[[Category:Portugal politics and government templates]]
 
[[Category:Foreign relations by country templates|Portugal]]
 
[[Category:Foreign relations by country templates|Portugal]]
 
</noinclude>
 
</noinclude>

Revision as of 02:34, 26 March 2013

Initial visibility: currently defaults to autocollapse

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

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