Difference between revisions of "Template:CAP"

From blackwiki
Jump to navigation Jump to search
imported>Jonesey95
imported>NSH002
(tidy up, remove deprecated dot templates)
Line 1: Line 1:
 
{{United States topic
 
{{United States topic
 
<!-- passed through to Template:Navbox generic -->
 
<!-- passed through to Template:Navbox generic -->
| name   = CAP
+
| name = CAP
| title = [[Wing (military aviation unit)|Wings]] of the [[Civil Air Patrol]]
+
| title = [[Wing (military aviation unit)|Wings]] of the [[Civil Air Patrol]]
| state = {{{state|autocollapse}}}
+
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
| titlestyle = background: lightsteelblue;
+
| listclass = hlist
| image =  
+
 
| group5 = [[Federal district]]<br/>and [[insular area|territories]]
+
| titlestyle = background: lightsteelblue;
| list5 = [[District of Columbia Wing Civil Air Patrol|District of Columbia]]{{·}} [[Guam Wing Civil Air Patrol|Guam]]{{·}} [[Puerto Rico Wing Civil Air Patrol|Puerto Rico]]{{·}} [[Virgin Islands Wing Civil Air Patrol|U.S.&nbsp;Virgin&nbsp;Islands]]
+
| bodystyle = text-align: left;
| bodystyle  = text-align:left;
+
  | groupstyle = text-align: right; vertical-align: top; white-space: nowrap; background: #DCDCDC;
| groupstyle = text-align:right; vertical-align:top; white-space:nowrap; background:#DCDCDC;
+
 
 +
| group5 = [[Federal district]]<br />and [[Insular area|territories]]
 +
| list5 =
 +
* [[District of Columbia Wing Civil Air Patrol|District of Columbia]]
 +
* [[Guam Wing Civil Air Patrol|Guam]]
 +
* [[Puerto Rico Wing Civil Air Patrol|Puerto Rico]]
 +
* [[Virgin Islands Wing Civil Air Patrol|U.S.&nbsp;Virgin&nbsp;Islands]]
 +
 
 
<!-- specific to Template:United States topic -->
 
<!-- specific to Template:United States topic -->
| suffix = _Wing Civil Air Patrol
+
| suffix = _Wing Civil Air Patrol
| GA = Georgia
+
| GA = Georgia
| exclude-wdc = y
+
| exclude-wdc = y
| exclude-ter = y
+
| exclude-ter = y
| exclude-isl = y
+
| exclude-isl = y
 +
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:United States Air Force navigational boxes|{{PAGENAME}}]]
+
[[Category:United States Air Force navigational boxes]]
[[Category:United States topic navigational boxes|{{PAGENAME}}]]
+
[[Category:United States topic navigational boxes]]
[[Category:Civil Air Patrol templates|{{PAGENAME}}]]
+
[[Category:Civil Air Patrol templates]]
 
</noinclude>
 
</noinclude>

Revision as of 02:54, 27 May 2015

Template:United States topic Initial visibility: currently defaults to autocollapse

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

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