Difference between revisions of "Template:Johnstown/Altoona/State College TV"

From blackwiki
Jump to navigation Jump to search
imported>Colonies Chris
imported>Frietjes
Line 6: Line 6:
 
| border    = {{#if:{{{list only|}}}|child}}
 
| border    = {{#if:{{{list only|}}}|child}}
 
|listclass = {{#if:{{{list only|}}}| hlist |  }}
 
|listclass = {{#if:{{{list only|}}}| hlist |  }}
|basestyle = {{#if:{{{list only|}}}| background: #000099; color: white |  }}
 
  
 
<!-- Use "list only=true" for inclusion in [[Template:State College, Pennsylvania]], [[Template:Altoona, Pennsylvania]], and [[Template:Johnstown, Pennsylvania]] -->
 
<!-- Use "list only=true" for inclusion in [[Template:State College, Pennsylvania]], [[Template:Altoona, Pennsylvania]], and [[Template:Johnstown, Pennsylvania]] -->
Line 24: Line 23:
 
* {{T.V.|WKBS}} (47.1 [[Cornerstone Television|COR]])
 
* {{T.V.|WKBS}} (47.1 [[Cornerstone Television|COR]])
  
| group3 = {{#if:{{{list only|}}}|  | Local [[cable television|cable]]<br>channels }}
+
| group3 = Local [[cable television|cable]]<br>channels
 
| list3  = {{#if:{{{list only|}}}|  |
 
| list3  = {{#if:{{{list only|}}}|  |
 
* {{T.V.|IUP-TV}} ([[Independent station (North America)|Ind]])
 
* {{T.V.|IUP-TV}} ([[Independent station (North America)|Ind]])
 
}}
 
}}
  
| group4 = {{#if:{{{list only|}}}|  | Adjacent locals }}
+
| group4 = Adjacent locals
 
| list4  = {{#if:{{{list only|}}}|  |
 
| list4  = {{#if:{{{list only|}}}|  |
 
;[[Template:Pittsburgh TV|Pittsburgh, PA]]
 
;[[Template:Pittsburgh TV|Pittsburgh, PA]]
Line 41: Line 40:
 
}}
 
}}
  
| group5 = {{#if:{{{list only|}}}| <span style="color:#FFFFFF;">Defunct</span> | Defunct }}
+
| group5 = Defunct
 
| list5  =  {{#if:{{{list only|}}}| |  
 
| list5  =  {{#if:{{{list only|}}}| |  
 
* [[W41CF]] (41 [[Independent station (North America)|Ind]])
 
* [[W41CF]] (41 [[Independent station (North America)|Ind]])

Revision as of 21:06, 17 August 2015

Initial visibility: currently defaults to autocollapse

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

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