Difference between revisions of "Template:G20 leaders' summits"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
m
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
| name      = G-20 leaders' summits
 
| name      = G-20 leaders' summits
 
| title      = [[List of G-20 summits|Summits]] of the [[G-20 major economies|G-20]] leaders
 
| title      = [[List of G-20 summits|Summits]] of the [[G-20 major economies|G-20]] leaders
| state      = autocollapse
+
| state      = {{{state|autocollapse}}}
 
| listclass  = hlist
 
| listclass  = hlist
 
| list1      =
 
| list1      =
Line 17: Line 17:
 
* ''[[2016 G-20 summit|2016]]''
 
* ''[[2016 G-20 summit|2016]]''
  
}}<noinclude>[[Category:History and events navigational boxes]]
+
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:History and events navigational boxes]]
 
[[ar:قالب:قمم مجموعة العشرين]]
 
[[ar:قالب:قمم مجموعة العشرين]]
 
[[da:Skabelon:Topmøder i G-20]]
 
[[da:Skabelon:Topmøder i G-20]]

Revision as of 02:36, 18 January 2013

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{G20 leaders' summits|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{G20 leaders' summits|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{G20 leaders' summits|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. ar:قالب:قمم مجموعة العشرين da:Skabelon:Topmøder i G-20 fr:Modèle:Palette Sommets du G20 ru:Шаблон:Саммиты G-20 tr:Şablon:G20 zirveleri zh:Template:G-20 leaders' summits