Difference between revisions of "Template:BC Ferries"

From blackwiki
Jump to navigation Jump to search
imported>MuzikMachine
(Updated links.)
imported>Joeyconnick
(remove retired ships; set default expanded for template page)
Line 1: Line 1:
 
{{Navbox with collapsible groups
 
{{Navbox with collapsible groups
 
| name = BC Ferries
 
| name = BC Ferries
| state = {{{state|}}}
+
| state = <includeonly>{{{state|autocollapse}}}</includeonly><noinclude>expanded</noinclude>
 
| titlestyle = background:#184983; color:white
 
| titlestyle = background:#184983; color:white
 
| title = [[BC Ferries|<span style="color:white">BC Ferries</span>]]
 
| title = [[BC Ferries|<span style="color:white">BC Ferries</span>]]
Line 7: Line 7:
 
| listclass = hlist
 
| listclass = hlist
 
| selected = {{{selected|{{{1|}}}}}}
 
| selected = {{{selected|{{{1|}}}}}}
 
+
| navbar = 2
  
 
| abbr1 = ferry_terminals
 
| abbr1 = ferry_terminals
Line 14: Line 14:
 
| abbr = ferry_terminals
 
| abbr = ferry_terminals
  
|state      = {{#ifeq:{{{1|}}}|fleet|uncollapsed|collapsed}}
+
|state      = <includeonly>{{#ifeq:{{{1|}}}|fleet|expanded|collapsed}}</includeonly><noinclude>expanded</noinclude>
 
|titlestyle = background#
 
|titlestyle = background#
 
|groupstyle = background:lavender;
 
|groupstyle = background:lavender;
Line 86: Line 86:
 
| abbr  = current_fleet
 
| abbr  = current_fleet
  
|state      = {{#ifeq:{{{1|}}}|retired|uncollapsed|collapsed}}
+
|state      = <includeonly>{{#ifeq:{{{1|}}}|retired|expanded|collapsed}}</includeonly><noinclude>expanded</noinclude>
 
|titlestyle = background#
 
|titlestyle = background#
 
|groupstyle = background:lavender;
 
|groupstyle = background:lavender;
Line 109: Line 109:
 
* {{MV|Queen of Surrey||2}}
 
* {{MV|Queen of Surrey||2}}
  
| group4 = {{sclass2-|Burnaby|ferry|4}}
+
| group4 = {{sclass2-|I|ferry|4}}
 
|  list4 =
 
|  list4 =
* {{MV|Queen of Nanaimo||2}}
 
* [[Burnaby-class ferry|''Queen of Burnaby'']]
 
 
| group5 = {{sclass2-|I|ferry|4}}
 
|  list5 =
 
 
* {{MV|Island Sky||2}}
 
* {{MV|Island Sky||2}}
 
* [[I-class ferry|''Queen of Cumberland'']]
 
* [[I-class ferry|''Queen of Cumberland'']]
 
* [[I-class ferry|''Queen of Capilano'']]
 
* [[I-class ferry|''Queen of Capilano'']]
  
| group6 = {{sclass2-|Powell River|ferry|4}}
+
| group5 = {{sclass2-|Powell River|ferry|4}}
list6 =
+
list5 =
 
* [[Powell River-class ferry|''Bowen Queen'']]
 
* [[Powell River-class ferry|''Bowen Queen'']]
 
* [[Powell River-class ferry|''Mayne Queen'']]
 
* [[Powell River-class ferry|''Mayne Queen'']]
 
* [[Powell River-class ferry|''Powell River Queen'']]
 
* [[Powell River-class ferry|''Powell River Queen'']]
  
| group7 = {{sclass2-|Century|ferry|4}}
+
| group6 = {{sclass2-|Century|ferry|4}}
list7 = [[Century-class ferry|''Skeena Queen'']]
+
list6 = [[Century-class ferry|''Skeena Queen'']]
  
| group8 = {{sclass2-|K|ferry|4}}
+
| group7 = {{sclass2-|K|ferry|4}}
list8 =
+
list7 =
 
* [[K-class ferry|''Kahloke'']]
 
* [[K-class ferry|''Kahloke'']]
 
* [[K-class ferry|''Klitsa'']]
 
* [[K-class ferry|''Klitsa'']]

Revision as of 18:28, 11 July 2018

Initial visibility: currently defaults to autocollapse

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

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