Template:Channel Four Television Corporation: Difference between revisions
No edit summary |
No edit summary Tag: Reverted |
||
Line 13: | Line 13: | ||
| state = {{{state|autocollapse}}} |
| state = {{{state|autocollapse}}} |
||
| image = {{#if:{{{sidebar|}}}|[[ |
| image = {{#if:{{{sidebar|}}}|[[https://upload.wikimedia.org/wikipedia/en/thumb/9/9b/Channel_4_%28On_Demand%29_2023.svg/800px-Channel_4_%28On_Demand%29_2023.svg.png]]|<!-- none -->}} |
||
| caption = {{#if:{{{sidebar|}}}|Channel 4 Logo|<!-- none -->}} |
| caption = {{#if:{{{sidebar|}}}|Channel 4 Logo|<!-- none -->}} |
||
Revision as of 12:41, 18 April 2024
Usage
If this template is used without any parameters in the format,
{{Channel Four Television Corporation}}
, the navbox displays as displayed above.
If the parameter |sidebar=
is set to any value, then the template displays as a sidebar across the length of the page on its right, depending on the use of the parameters in § Additional parameters below. This is the format to use as a sidebar at the right-hand side of an article.
- For example:
{{Channel Four Television Corporation|sidebar=yes}}
- would display as a sidebar to the right of the screen:
Channel 4 |
---|
[[1]] |
Television channels |
Online services |
Other |
If, as in the latter case above, |sidebar=
is set to any value, then the § Additional parameters section would not apply and the visibility parameters would be ignored. If |sidebar=
is not used, then these parameters function as described.
Additional parameters
This template's initial visibility currently defaults to autocollapse
, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.
To change this template's initial visibility, the |state=
parameter may be used:
{{Channel Four Television Corporation|state=collapsed}}
will show the template collapsed, i.e. hidden apart from its title bar.{{Channel Four Television Corporation|state=expanded}}
will show the template expanded, i.e. fully visible.