Template:Comedy footer: Difference between revisions
From Good Old TV Fan Wiki
Adminpeter (talk | contribs) m (1 revision imported) |
Adminpeter (talk | contribs) m (1 revision imported) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
| name = Comedy footer | | name = Comedy footer | ||
| title = [[Comedy]] | | title = [[Comedy]] | ||
| | | bodyclass = hlist | ||
| state = {{{state<includeonly>|autocollapse</includeonly>}}} | | state = {{{state<includeonly>|autocollapse</includeonly>}}} | ||
| Line 26: | Line 26: | ||
| group3 = [[Comedy film|Film]] | | group3 = [[Comedy film|Film]] | ||
| list3 = {{Navbox subgroup | | list3 = {{Navbox|subgroup | ||
| | | groupwidth = 70px | ||
| liststyle = text-align:left; | | liststyle = text-align:left; | ||
| group1 = Country | | group1 = Country | ||
| Line 51: | Line 51: | ||
| group4 = [[Comedy (drama)|Theatre]] | | group4 = [[Comedy (drama)|Theatre]] | ||
| list4 = {{Navbox subgroup | | list4 = {{Navbox|subgroup | ||
| | | groupwidth = 70px | ||
| liststyle = text-align:left; | | liststyle = text-align:left; | ||
| group1 = Country | | group1 = Country | ||
| list1 = {{Navbox subgroup | | list1 = {{Navbox|subgroup | ||
| | | groupwidth = 70px | ||
| liststyle = text-align:left; | | liststyle = text-align:left; | ||
| group1 = Europe | | group1 = Europe | ||
| Line 68: | Line 68: | ||
| list2 = <!--Alphabetical:--> | | list2 = <!--Alphabetical:--> | ||
* China | * China | ||
** [[ | ** [[Xiangsheng]] | ||
** [[Mo lei tau]] | ** [[Mo lei tau]] | ||
* Japan | * Japan | ||
| Line 156: | Line 156: | ||
* [[Zombie comedy|Zombie]] | * [[Zombie comedy|Zombie]] | ||
| below = | | below = | ||
* {{Icon|Category}} [[:Category:Comedy|Category]] | * {{Icon|Category}} [[:Category:Comedy|Category]] | ||
Latest revision as of 12:29, 11 October 2017
Initial visibility
To set the template's initial visibility, the |state= parameter may be used:
|state=collapsed: {{Comedy footer|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar|state=expanded: {{Comedy footer|state=expanded}} to show the template expanded, i.e., fully visible|state=autocollapse: {{Comedy footer|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 is not set, the template's initial visibility is taken from the |default= parameter in the template. For this template, that currently evaluates to autocollapse.