Difference between revisions of "Template:Dayparting"

From blackwiki
Jump to navigation Jump to search
imported>Jdaloner
m (Replaced em dashes with en dashes.)
imported>Robevans123
(formatted time ranges to match MoS)
Line 5: Line 5:
 
| listclass = hlist
 
| listclass = hlist
 
| list1 =
 
| list1 =
* [[Graveyard slot]] (2:00 AM–6:00 AM)
+
* [[Graveyard slot]] (2:00 am{{snd}}6:00 am)
* [[Breakfast television]] (6:00 AM–10:00 AM)
+
* [[Breakfast television|Breakfast]] (6:00 am{{snd}}10:00 am)
* [[Daytime television]] (10:00 AM–7:00 PM)
+
* [[Daytime television|Daytime]] (10:00 am{{snd}}7:00 pm)
* [[Prime time]] (7:00 PM–11:00 PM)
+
* [[Prime time]] (7:00 pm{{snd}}11:00 pm)
* [[Late night television]] (11:00 PM–2:00 AM)}}<noinclude>
+
* [[Late night television|Late night]] (11:00 pm{{snd}}2:00 am)}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Radio navigational boxes]]
 
[[Category:Radio navigational boxes]]
 
[[Category:Television navigational boxes]]
 
[[Category:Television navigational boxes]]
 
</noinclude>
 
</noinclude>

Revision as of 14:30, 1 January 2018

Initial visibility: currently defaults to autocollapse

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

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