Difference between revisions of "Template:HBO/doc"

From blackwiki
Jump to navigation Jump to search
imported>Tvtonightokc
(Created page with '{{Documentation subpage}} <!-- Categories go at the bottom of this page. --> == Usage == This template is used for Nickelodeon related articles. Add {{tl|Ni...')
 
imported>Tvtonightokc
Line 3: Line 3:
  
 
== Usage ==
 
== Usage ==
This template is used for [[Nickelodeon]] related articles. Add {{tl|Nickelodeon}} to the above the external links to bottom of the categories.
+
This template is used for [[HBO]]-related articles. Add {{tl|HBO}} to the above the external links to bottom of the categories.
  
 
{{collapsible option}}
 
{{collapsible option}}
Line 34: Line 34:
  
 
<includeonly>{{Sandbox other||
 
<includeonly>{{Sandbox other||
<!-- Categories go here: -->
 
 
[[Category:WarnerMedia|*]]
 
[[Category:WarnerMedia|*]]
 
[[Category:HBO navigational boxes| ]]
 
[[Category:HBO navigational boxes| ]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 08:19, 16 November 2020

Usage

This template is used for HBO-related articles. Add {{HBO}} to the above the external links to bottom of the categories.

Initial visibility: currently defaults to autocollapse

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

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

See also

HBO original series navboxes