Difference between revisions of "Template:Economy of the United Kingdom"

From blackwiki
Jump to navigation Jump to search
imported>CsDix
m (groupname formatting, belowstyle)
imported>CsDix
(state handling, {{documentation}})
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name = Economy of the United Kingdom
 
|name = Economy of the United Kingdom
|state  = {{{state|collapsed}}}
+
|state  = {{{state|<includeonly>{{{1|collapsed}}}</includeonly>}}}
 
|title = {{flagicon|United Kingdom}} [[Economy of the United Kingdom]]
 
|title = {{flagicon|United Kingdom}} [[Economy of the United Kingdom]]
 
|groupstyle = text-align:left;
 
|groupstyle = text-align:left;
Line 197: Line 197:
 
* [[:Category:Industry trade groups based in the United Kingdom|Industry trade groups]]
 
* [[:Category:Industry trade groups based in the United Kingdom|Industry trade groups]]
 
* [[Institute of Directors]]
 
* [[Institute of Directors]]
* [[UK Payments Administration]] (UKPA)
+
* [[UK Payments Administration|UK Payments Administration (UKPA)]]
  
 
|belowclass = hlist
 
|belowclass = hlist
Line 206: Line 206:
  
 
}}<noinclude>
 
}}<noinclude>
 +
 +
{{documentation
 +
|content =
 +
{{collapsible option |statename=optional |default=collapsed}}
 +
}}<!--(end documentation)-->
  
 
[[Category:Economics templates by country|United Kingdom]]
 
[[Category:Economics templates by country|United Kingdom]]
 
</noinclude>
 
</noinclude>

Revision as of 02:09, 2 March 2013

Template documentation

Initial visibility: currently defaults to collapsed

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

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