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

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Frietjes
m (copyedit)
Line 1: Line 1:
{{Navbox  
+
{{Navbox Canada
|name       = Governor General of Canada
+
| name     = Governor General of Canada
| state     = <includeonly>{{{state|collapsed}}}</includeonly>
+
| state     = {{{state<includeonly>|collapsed</includeonly>}}}
| selected    = {{{1|}}}
+
| title     = [[Governor 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>  '''<font color=#00006E>[[Governor General of Canada]]</font><font color=#00006E></font>'''
+
| bodyclass = hlist
|listclass = hlist
 
|style      = width:100%;
 
|groupstyle  = padding:0.35em 1.0em; line-height:1.1em;background:white;color:black;border: 1px solid #CC0000;
 
|list1style  = padding:0.35em 0; line-height:1.5em;background:white;color:black;border-top: 1px solid #CC0000;
 
|liststyle  = padding:0.35em 0; line-height:1.5em;background:white;color:black;
 
  
|group1 = Main
+
| group1 = Main
|list1  =
+
| list1  =
 
* [[Governor General of Canada]]
 
* [[Governor General of Canada]]
 
* [[Template:Governors General of Canada timeline|Timeline]]
 
* [[Template:Governors General of Canada timeline|Timeline]]
 
* [[List of Governors General of Canada]]
 
* [[List of Governors General of Canada]]
  
|group2 = Related Offices
+
| group2 = Related Offices
|list2  =
+
| list2  =
 
* [[Deputy of the Governor General of Canada]]
 
* [[Deputy of the Governor General of Canada]]
 
* [[Administrator of the Government#Canada|Administrator of the Government]]
 
* [[Administrator of the Government#Canada|Administrator of the Government]]
Line 24: Line 19:
 
* [[Secretary to the Governor General of Canada]]
 
* [[Secretary to the Governor General of Canada]]
  
|group3 = Residences
+
| group3 = Residences
|list3  =  
+
| list3  =
 
* [[Rideau Hall]]
 
* [[Rideau Hall]]
 
* [[Citadelle of Quebec]]
 
* [[Citadelle of Quebec]]
  
|group4 = Awards
+
| group4 = Awards
|list4  =  
+
| list4  =
 
* [[List of awards named after Governors General of Canada]]
 
* [[List of awards named after Governors General of Canada]]
 
* [[List of awards presented by the Governor General of Canada]] ([[Chief Scout's Award (Scouts Canada)|Chief Scout's Award]]
 
* [[List of awards presented by the Governor General of Canada]] ([[Chief Scout's Award (Scouts Canada)|Chief Scout's Award]]
Line 37: Line 32:
 
* [[Queen's Venturer Award]])
 
* [[Queen's Venturer Award]])
  
|group5 = Other
+
| group5 = Other
|list5  =  
+
| list5  =
 
* [[Flag of the Governor General of Canada]]
 
* [[Flag of the Governor General of Canada]]
 
* [[Viceregal eponyms in Canada]]
 
* [[Viceregal eponyms in Canada]]
  
|belowclass = hlist
+
| below =
|below =  
 
 
* '''{{Icon|Book}} [[Book:Governors General of Canada|Book]]'''
 
* '''{{Icon|Book}} [[Book:Governors General of Canada|Book]]'''
 
* '''{{Icon|Category}} [[:Category:Governors General of Canada|Category]]'''
 
* '''{{Icon|Category}} [[:Category:Governors General of Canada|Category]]'''
|belowstyle = color:black; background-color:white;
+
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Canada viceroys navigational boxes|Governor General]]
 
[[Category:Canada viceroys navigational boxes|Governor General]]
 
</noinclude>
 
</noinclude>

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