Difference between revisions of "Template:Governor General's Literary Awards"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name    = Governor General's Literary Awards
 
|name    = Governor General's Literary Awards
|state  = autocollapse
+
|state  = {{{state|autocollapse}}}
 
|titlestyle = color:black; background-color:white;
 
|titlestyle = color:black; background-color:white;
 
|title  = <span style="vertical-align:1px;">[[Image:Maple Leaf (from roundel).svg|20x20px]]</span>&nbsp;&nbsp;'''[[Governor General's Awards|Governor General's Award]]s for Literary Merit'''
 
|title  = <span style="vertical-align:1px;">[[Image:Maple Leaf (from roundel).svg|20x20px]]</span>&nbsp;&nbsp;'''[[Governor General's Awards|Governor General's Award]]s for Literary Merit'''
Line 111: Line 111:
  
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Book award templates]]
 
[[Category:Book award templates]]
 
[[Category:Canada arts and culture templates]]
 
[[Category:Canada arts and culture templates]]
 
[[Category:Governor General's Awards]]
 
[[Category:Governor General's Awards]]
 
</noinclude>
 
</noinclude>

Revision as of 02:57, 25 September 2012

Initial visibility: currently defaults to autocollapse

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

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