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>GoodDay
 
(9 intermediate revisions by 6 users not shown)
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]]
Line 24: Line 21:
 
* [[Freeman Freeman-Thomas, 1st Marquess of Willingdon|Willingdon]]
 
* [[Freeman Freeman-Thomas, 1st Marquess of Willingdon|Willingdon]]
 
* [[Vere Ponsonby, 9th Earl of Bessborough|Bessborough]]
 
* [[Vere Ponsonby, 9th Earl of Bessborough|Bessborough]]
* [[John Buchan, 1st Baron Tweedsmuir|Tweedsmuir]]
+
* [[John Buchan|Tweedsmuir]]
 
* [[Alexander Cambridge, 1st Earl of Athlone|Athlone]]
 
* [[Alexander Cambridge, 1st Earl of Athlone|Athlone]]
 
* [[Harold Alexander, 1st Earl Alexander of Tunis|Alexander]]
 
* [[Harold Alexander, 1st Earl Alexander of Tunis|Alexander]]
Line 38: Line 35:
 
* [[Michaëlle Jean|Jean]]
 
* [[Michaëlle Jean|Jean]]
 
* [[David Johnston|Johnston]]
 
* [[David Johnston|Johnston]]
 +
* [[Julie Payette|Payette]]
 +
* TBD
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Canada viceroys navigational boxes]]
 
[[Category:Canada viceroys navigational boxes]]
 
</noinclude>
 
</noinclude>

Latest revision as of 04:55, 22 January 2021

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.