Difference between revisions of "Template:American broadcasting templates"

From blackwiki
Jump to navigation Jump to search
(example proper capitalization (I don't feel up to fixing the entire collection manually--maybe some with a bot or at least a semi-automated tool can swing thru them) also EG "Other South Dakota Radio Regions" shd be "Other South Dakota radio regions")
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
  | name = BroadcastTemplateCategories
 
  | name = BroadcastTemplateCategories
  | state = uncollapsed
+
  | state = {{{state|uncollapsed}}}
 
  | title = Broadcast template categories
 
  | title = Broadcast template categories
 
  | listclass = hlist
 
  | listclass = hlist
Line 51: Line 51:
  
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Radio templates]]
 
[[Category:Radio templates]]
 
[[Category:Television navigational boxes]]
 
[[Category:Television navigational boxes]]
 
</noinclude>
 
</noinclude>

Revision as of 03:59, 18 July 2012

Initial visibility: currently defaults to autocollapse

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

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