Difference between revisions of "Template:CAP"

From blackwiki
Jump to navigation Jump to search
imported>Etamni
(updated WA link to skip redirect)
imported>A876
(+parameter for nice link for NY. +parameter to templatize DC.)
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<includeonly>|autocollapse</includeonly>}}}
+
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
| listclass = hlist
+
| listclass = hlist
  
| titlestyle = background: lightsteelblue;
+
| titlestyle = background: lightsteelblue;
| 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]]
+
| group5 = [[Insular areas]]
| list5 =
+
| list5 =
* [[National Capitol Wing Civil Air Patrol|National Capitol Wing]]
+
*[[Puerto Rico Wing Civil Air Patrol|Puerto Rico]]
* [[Puerto Rico Wing Civil Air Patrol|Puerto Rico]]
 
  
 
<!-- specific to Template:United States topic -->
 
<!-- specific to Template:United States topic -->
| suffix = _Wing Civil Air Patrol
+
| suffix = _Wing Civil Air Patrol
| GA = Georgia
+
| exclude-ter = y
| WA = Washington
+
| exclude-isl = y
| exclude-wdc = y
+
| GA = Georgia
| exclude-ter = y
+
| NY = New York
| exclude-isl = y
+
| WA = Washington
 
+
| DC = National Capitol
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Revision as of 04:00, 7 November 2016

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.