Difference between revisions of "Template:Economy of Ghana"

From blackwiki
Jump to navigation Jump to search
imported>MarkMysoe
(Added flag and coat of arms)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name      = Economy of Ghana
 
| name      = Economy of Ghana
| title    = [[File:Flag of Ghana.svg|20px]] [[Economy of Ghana]]
+
| title    = [[Economy of Ghana]]
 
| bodyclass = hlist
 
| bodyclass = hlist
 
| above    = Currency: [[Ghana cedi|Ghanaian cedi]]
 
| above    = Currency: [[Ghana cedi|Ghanaian cedi]]
| state      = uncollapsed  
+
| state      = {{{state<includeonly>|uncollapsed </includeonly>}}}
 
| image    = [[File:Flag of Ghana.svg|border|100px|Flag of the Republic of Ghana]]<br /><br />[[File:Ghana COA.jpg|100px|Coat of arms of the Republic of Ghana]]
 
| image    = [[File:Flag of Ghana.svg|border|100px|Flag of the Republic of Ghana]]<br /><br />[[File:Ghana COA.jpg|100px|Coat of arms of the Republic of Ghana]]
  
Line 95: Line 95:
 
* '''{{Icon|Template}} [[Template:Ghana topics|Ghana]] topics'''
 
* '''{{Icon|Template}} [[Template:Ghana topics|Ghana]] topics'''
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Ghana templates]]
 
[[Category:Ghana templates]]
 
[[Category:African economy templates]]
 
[[Category:African economy templates]]
 
</noinclude>
 
</noinclude>

Revision as of 18:51, 29 March 2012

Initial visibility: currently defaults to autocollapse

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

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