Difference between revisions of "Template:ITV News Nations & Regions"

From blackwiki
Jump to navigation Jump to search
imported>This is Drew
imported>Frietjes
(navbox subgroup syntax update)
Line 4: Line 4:
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
|basestyle= background: #006473; color: white; border: 2px solid white;
+
|basestyle= background: #006473; color: white;  
  
 
|col1width = 33.33%
 
|col1width = 33.33%
Line 13: Line 13:
 
|col1headercolspan = 3
 
|col1headercolspan = 3
  
|col1 = {{Navbox subgroup
+
|col1 = {{Navbox|subgroup
| groupstyle = background: white; color: white; border: 2px solid white;
+
| groupstyle = background: white; color: white;
 
| liststyle  =  
 
| liststyle  =  
 
| group1 = [[ITV Anglia]]
 
| group1 = [[ITV Anglia]]
Line 25: Line 25:
 
| list4  = ''[[ITV News Channel TV]]''
 
| list4  = ''[[ITV News Channel TV]]''
 
}}
 
}}
|col2 = {{Navbox subgroup
+
|col2 = {{Navbox|subgroup
| groupstyle = background: white; color: white; border: 2px solid white;
+
| groupstyle = background: white; color: white;  
 
| liststyle  =  
 
| liststyle  =  
 
| group1 = [[ITV Granada]]
 
| group1 = [[ITV Granada]]
Line 37: Line 37:
 
| list4  = ''[[ITV News Tyne Tees]]''
 
| list4  = ''[[ITV News Tyne Tees]]''
 
}}
 
}}
|col3 = {{Navbox subgroup
+
|col3 = {{Navbox|subgroup
| groupstyle = background: white; color: white; border: 2px solid white;
+
| groupstyle = background: white; color: white;  
 
| liststyle  =  
 
| liststyle  =  
 
| group1 = [[ITV Cymru Wales|ITV Wales]]
 
| group1 = [[ITV Cymru Wales|ITV Wales]]

Revision as of 23:52, 25 August 2017

Initial visibility: currently defaults to autocollapse

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

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