Difference between revisions of "Template:Governors General of Canada"

From blackwiki
Jump to navigation Jump to search
imported>Miesianiacal
(restpre consistent w/ all other Can navboxes; this look was decided on by consensus; editor should seek new consensus)
imported>Frietjes
m (copyedit)
Line 1: Line 1:
{{Navbox
+
{{Navbox Canada
|name       = CanGG
+
| name     = Governors General of Canada
|state     = <includeonly>{{{state|collapsed}}}</includeonly>
+
| state     = {{{state<includeonly>|collapsed</includeonly>}}}
|selected  = {{{1|}}}
+
| title     = [[Governor General of Canada|Governors General of Canada]]
|titlestyle = color:black; background-color:white;
+
| leaf     = yes
|title     = <span style="vertical-align:1px;">[[Image:Maple Leaf (from roundel).svg|20x20px]]</span>&nbsp;&nbsp;'''&nbsp;[[Governor General of Canada|Governors General of Canada]]'''
+
| listclass = hlist
|listclass  = hlist
 
|style     = background:white;color:black;
 
|liststyle  = border-top: 1px solid #CC0000;
 
  
|list1     =
+
| list1 =
 
* [[Charles Monck, 4th Viscount Monck|Monck]]
 
* [[Charles Monck, 4th Viscount Monck|Monck]]
 
* [[John Young, 1st Baron Lisgar|Lisgar]]
 
* [[John Young, 1st Baron Lisgar|Lisgar]]

Revision as of 22:34, 8 April 2013

Template:Navbox Canada Initial visibility: currently defaults to autocollapse

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

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