Difference between revisions of "Template:G20"

From blackwiki
Jump to navigation Jump to search
imported>Rippiffy
(Element had been added to template that overlaid entire page with an image that linked to a completely unrelated Youtube video.)
Line 1: Line 1:
 
+
{{navbox
 +
| name = G20
 +
| title = [[G20|G20 major economies]]
 +
| listclass = hlist
 +
| state      = {{{state|}}}
 +
| list1 =
 +
* {{flagicon|Argentina}} [[Argentina]]
 +
* {{flagicon|Australia}} [[Australia]]
 +
* {{flagicon|Brazil}} [[Brazil]]
 +
* {{flagicon|Canada}} [[Canada]]
 +
* {{flagicon|China}} [[China]]
 +
* {{flagicon|European Union}} [[European Union]]
 +
* {{flagicon|France}} [[France]]
 +
* {{flagicon|Germany}} [[Germany]]
 +
* {{flagicon|India}} [[India]]
 +
* {{flagicon|Indonesia}} [[Indonesia]]
 +
* {{flagicon|Italy}} [[Italy]]
 +
* {{flagicon|Japan}} [[Japan]]
 +
* {{flagicon|Mexico}} [[Mexico]]
 +
* {{flagicon|Russia}} [[Russia]]
 +
* {{flagicon|Saudi Arabia}} [[Saudi Arabia]]
 +
* {{flagicon|South Africa}} [[South Africa]]
 +
* {{flagicon|South Korea}} [[South Korea|Republic of Korea]]
 +
* {{flagicon|Turkey}} [[Turkey]]
 +
* {{flagicon|United Kingdom}} [[United Kingdom]]
 +
* {{flagicon|United States}} [[United States]]
 +
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:G20 templates]]
 +
</noinclude>

Revision as of 03:47, 13 January 2018

Initial visibility: currently defaults to autocollapse

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

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