Difference between revisions of "Template:Johnstown Radio"

From blackwiki
Jump to navigation Jump to search
imported>DrChuck68
m
imported>DrChuck68
Line 1: Line 1:
 
{{navbox
 
{{navbox
 
| name      = Johnstown Radio
 
| name      = Johnstown Radio
| title    = {{#if:{{{list only|}}}|| Radio stations in [[Johnstown, Pennsylvania|Johnstown]] and the [[Laurel Highlands]] of Pennsylvania ([[Cambria County, Pennsylvania|Cambria]], [[Somerset County, Pennsylvania|Somerset]] and Eastern [[Westmoreland County, Pennsylvania|Westmoreland]] Counties) }}
+
| title    = {{#if:{{{list only|}}}|| Radio stations in [[Johnstown, Pennsylvania|Johnstown]] and the [[Laurel Highlands]] of Pennsylvania }}
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 
| bodyclass = hlist
 
| bodyclass = hlist
Line 7: Line 7:
 
|listclass = {{#if:{{{list only|}}}| hlist |  }}
 
|listclass = {{#if:{{{list only|}}}| hlist |  }}
 
<!-- Use "list only=true" for inclusion in [[Template:Johnstown, Pennsylvania]] -->
 
<!-- Use "list only=true" for inclusion in [[Template:Johnstown, Pennsylvania]] -->
 +
 +
| above = {{#if:{{{list only|}}}|| Note: This area includes [[Cambria County, Pennsylvania|Cambria]], [[Somerset County, Pennsylvania|Somerset]], and Eastern [[Westmoreland County, Pennsylvania|Westmoreland]] Counties. }}
  
 
| group1 = By [[AM broadcasting|AM frequency]]
 
| group1 = By [[AM broadcasting|AM frequency]]

Revision as of 15:38, 20 October 2020

Initial visibility: currently defaults to autocollapse

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

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