Difference between revisions of "Template:CTV Stations"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
Line 2: Line 2:
 
| name = CTV Stations
 
| name = CTV Stations
 
| title = '''[[CTV Television Network|CTV]] stations in Canada'''
 
| title = '''[[CTV Television Network|CTV]] stations in Canada'''
 +
|listclass = hlist
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 
| group1 = Owned-and-operated stations
 
| group1 = Owned-and-operated stations
| list1 = [[CIVT-DT|CIVT Vancouver]] [[CFCN-DT|CFCN Calgary]] [[CFRN-DT|CFRN Edmonton]] [[CFQC-DT|CFQC Saskatoon]] [[CKCK-DT|CKCK Regina]] [[CICC-TV|CICC Yorkton]] [[CIPA-TV|CIPA Prince Albert]] [[CKY-DT|CKY Winnipeg]] [[CKCO-DT|CKCO Kitchener]] [[CFTO-DT|CFTO Toronto]] [[CJOH-DT|CJOH Ottawa]] [[CFCF-DT|CFCF Montreal]]
+
| list1 =
 +
* [[CIVT-DT|CIVT Vancouver]]
 +
* [[CFCN-DT|CFCN Calgary]]
 +
* [[CFRN-DT|CFRN Edmonton]]
 +
* [[CFQC-DT|CFQC Saskatoon]]
 +
* [[CKCK-DT|CKCK Regina]]
 +
* [[CICC-TV|CICC Yorkton]]
 +
* [[CIPA-TV|CIPA Prince Albert]]
 +
* [[CKY-DT|CKY Winnipeg]]
 +
* [[CKCO-DT|CKCO Kitchener]]
 +
* [[CFTO-DT|CFTO Toronto]]
 +
* [[CJOH-DT|CJOH Ottawa]]
 +
* [[CFCF-DT|CFCF Montreal]]
 
{{navbox subgroup
 
{{navbox subgroup
 
  |group1 = '''[[CTV Northern Ontario]] stations'''
 
  |group1 = '''[[CTV Northern Ontario]] stations'''
  |list1 = [[CHBX-TV|CHBX Sault Ste. Marie]] [[CICI-TV|CICI Greater Sudbury]] [[CITO-TV|CITO Timmins]] [[CKNY-TV|CKNY North Bay]]
+
  |list1 =
 +
* [[CHBX-TV|CHBX Sault Ste. Marie]]
 +
* [[CICI-TV|CICI Greater Sudbury]]
 +
* [[CITO-TV|CITO Timmins]]
 +
* [[CKNY-TV|CKNY North Bay]]
 
|group2 = [[CTV Atlantic]] stations
 
|group2 = [[CTV Atlantic]] stations
|list2 = [[CKLT-DT|CKLT Saint John]] [[CKCW-DT|CKCW Moncton]] [[CJCH-DT|CJCH Halifax]] [[CJCB-TV|CJCB Sydney]]}}
+
|list2 =
 +
* [[CKLT-DT|CKLT Saint John]]
 +
* [[CKCW-DT|CKCW Moncton]]
 +
* [[CJCH-DT|CJCH Halifax]]
 +
* [[CJCB-TV|CJCB Sydney]]}}
 
|group2 = Independently-owned affiliates
 
|group2 = Independently-owned affiliates
|list2 = [[CITL-DT|CITL Lloydminster]]
+
|list2 =
 +
* [[CITL-DT|CITL Lloydminster]]
 
|group3 = Secondary carriers
 
|group3 = Secondary carriers
|list3 = [[CJON-DT|CJON St. John's]]
+
|list3 =
 +
* [[CJON-DT|CJON St. John's]]
 
|group4 = '''See also'''
 
|group4 = '''See also'''
|list4 = [[Bell Media]] <small>([[Template:Bell Media|template]])</small> [[CP24]] [[CTV Two]] <small>([[Template:CTV Two Stations|stations]])</small>
+
|list4 =
</div>  
+
* [[Bell Media]] <small>([[Template:Bell Media|template]])</small>
 +
* [[CP24]]
 +
* [[CTV Two]] <small>([[Template:CTV Two Stations|stations]])</small>
 
|}}<noinclude>
 
|}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:Canada television navigational boxes|{{PAGENAME}}]]
+
[[Category:Canada television navigational boxes]]
 
</noinclude>
 
</noinclude>

Revision as of 07:16, 2 September 2012

Initial visibility: currently defaults to autocollapse

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

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