Difference between revisions of "Template:Cadets Canada"

From blackwiki
Jump to navigation Jump to search
imported>K. Annoyomous
(fix)
imported>BrownHairedGirl
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{navbox
 
{{navbox
 
|name  = Cadets Canada
 
|name  = Cadets Canada
|title = <span style="vertical-align:1px;">[[Image:Maple_Leaf_(from_roundel).png|20x20px]]</span>&nbsp;&nbsp;'''<font color=#00006E>[[Canadian Cadet Organizations]]</font>'''
+
|title = <span style="vertical-align:1px;">[[Image:Maple_Leaf_(from_roundel).png|20x20px]]</span> '''[[Canadian Cadet Organizations|<span style="color:#00006E;">Canadian Cadet Organizations</span>]]'''
|list1 = [[Cadet Organizations Administration and Training Service]] {{·}} [[Cadet Instructors Cadre]]
+
|state = {{{state|autocollapse}}}
|list2 = [[Royal Canadian Sea Cadets]]{{·}} [[Royal Canadian Army Cadets]]{{·}} [[Royal Canadian Air Cadets]]
+
|listclass = hlist
|list3 = [[Navy League of Canada|Navy League]]{{·}} [[Army Cadet League of Canada|Army Cadet League]]{{·}} [[Air Cadet League of Canada|Air Cadet League]]
+
|list1 =
|below        = '''[[Portal:Canadian Armed Forces|Canadian Forces portal]]'''
+
* [[Cadet Organizations Administration and Training Service]]  
 +
* [[Cadet Instructors Cadre]]
 +
|list2 =
 +
* [[Royal Canadian Sea Cadets]]
 +
* [[Royal Canadian Army Cadets]]
 +
* [[Royal Canadian Air Cadets]]
 +
|list3 =
 +
* [[Navy League of Canada|Navy League]]
 +
* [[Army Cadet League of Canada|Army Cadet League]]
 +
* [[Air Cadet League of Canada|Air Cadet League]]
 +
|below        = {{portal-inline|Canada|size=tiny}} &bull; {{portal-inline|War|size=tiny}}
 
}}<noinclude>
 
}}<noinclude>
[[Category:Canada military templates|{{PAGENAME}}]]
+
{{collapsible option}}
 +
[[Category:Canada military templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 03:18, 27 August 2019

Initial visibility: currently defaults to autocollapse

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

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