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

From blackwiki
Jump to navigation Jump to search
imported>Me-123567-Me
m
(correct plural form)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Navbox  
+
{{Navbox Canada
|titlestyle = color:black; background-color:white;
+
| name     = Auditor General of Canada
|style     = width:100%;
+
| title     = [[Auditor General of Canada|Auditors General of Canada]] (by [[Provinces and territories of Canada|province or territory]])
|groupstyle = padding:0.35em 1.0em; line-height:1.1em;background:white;color:black;border: 1px solid #CC0000;
+
| state    = {{{state|autocollapse}}}
|list1style = padding:0.35em 0; line-height:1.5em;background:white;color:black;border-top: 1px solid #CC0000;
+
| leaf      = yes
|liststyle  = padding:0.35em 0; line-height:1.5em;background:white;color:black;
+
| bodyclass = hlist
|belowstyle = color:black;background-color:white;border-top: 1px solid #CC0000;
+
 
|name      = AGC
+
| list1 =
|title     = <span style="vertical-align:1px;">[[Image:Maple Leaf (from roundel).svg|20x20px]]</span>&nbsp;&nbsp;{{#if:|<!--then:--><font color=#00006E>[[{{{2}}}]]</font>|<!--else:--><font color=#00006E>[[Auditor General of Canada]]</font>}} (by <font color=#00006E>[[Provinces and territories of Canada|province or territory]]</font>)
 
|listclass  = hlist
 
|list1     =  
 
 
* [[Auditor General of Alberta|Alberta]]
 
* [[Auditor General of Alberta|Alberta]]
 
* [[Auditor General of British Columbia|British Columbia]]
 
* [[Auditor General of British Columbia|British Columbia]]
Line 20: Line 17:
 
* [[Auditor General of Quebec|Quebec]]
 
* [[Auditor General of Quebec|Quebec]]
 
* [[Auditor General of Saskatchewan|Saskatchewan]]
 
* [[Auditor General of Saskatchewan|Saskatchewan]]
{{#if: |<!--then:--><!--nothing (i.e. omit the following) --> |<!--else:-->
 
 
* [[Auditor General of the Northwest Territories|Northwest Territories]]
 
* [[Auditor General of the Northwest Territories|Northwest Territories]]
* [[Auditor General of Nunavut|Nunavut]]  
+
* [[Auditor General of Nunavut|Nunavut]]
 
* [[Auditor General of Yukon|Yukon]]
 
* [[Auditor General of Yukon|Yukon]]
}}
 
 
|belowclass = hlist
 
|below=
 
* {{Icon|book}} '''[[Book:Canada|Book]]'''
 
* {{Icon|Category}} '''[[:Category:Canada|Category]]''' 
 
* {{Icon|Portal}} '''[[Portal:Canada|Portal]]'''
 
* {{Icon|WikiProject}} '''[[Wikipedia:WikiProject Canada|WikiProject]]'''
 
  
}}
+
| below =
 +
<!--HISTORICAL * '''{{Icon|book}} [[Book:Canada|Book]]'''-->
 +
* {{Icon|Category}} '''[[:Category:Canada|Category]]'''
 +
* {{Icon|Portal}} '''[[Portal:Canada|Portal]]'''
 +
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:Canada politics and government navigational boxes]]
 +
</noinclude>

Latest revision as of 17:31, 5 April 2020

Template:Navbox Canada Initial visibility: currently defaults to autocollapse

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

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