Difference between revisions of "Template:CNN"
Jump to navigation
Jump to search
imported>JayCoop (Adding) |
imported>Grapesoda22 |
||
| Line 2: | Line 2: | ||
|name = CNN | |name = CNN | ||
|title = [[CNN|{{color|white|CNN}}]] programming | |title = [[CNN|{{color|white|CNN}}]] programming | ||
| − | |basestyle = background:# | + | |basestyle = background:#B30000; color:white; border: 2px solid #1A1918 |
|state = {{{state|autocollapse}}} | |state = {{{state|autocollapse}}} | ||
|listclass = hlist | |listclass = hlist | ||
Revision as of 04:51, 21 November 2016
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{CNN|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{CNN|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{CNN|state=autocollapse}}
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.
| The above documentation is transcluded from Template:CNN/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |