Difference between revisions of "Template:Kōbe Line"

From blackwiki
Jump to navigation Jump to search
imported>Redrose64
(fix v-t-e links)
imported>DAJF
(Higashi-Himeji and Maya stations now in use)
Line 2: Line 2:
 
| name      = Kōbe Line
 
| name      = Kōbe Line
 
| title      = Stations of the [[JR West]] [[JR Kobe Line]] ([[Tokaido Main Line]], [[Sanyo Main Line]])
 
| title      = Stations of the [[JR West]] [[JR Kobe Line]] ([[Tokaido Main Line]], [[Sanyo Main Line]])
| state        = {{{state|autocollapse}}}
+
| state        = autocollapse
 
| listclass  = hlist
 
| listclass  = hlist
 
| titlestyle = {{rail navbox titlestyle|#0072bc}}
 
| titlestyle = {{rail navbox titlestyle|#0072bc}}
Line 19: Line 19:
 
* {{ja-stalink|Sumiyoshi||JR West}}
 
* {{ja-stalink|Sumiyoshi||JR West}}
 
* {{ja-stalink|Rokkōmichi}}
 
* {{ja-stalink|Rokkōmichi}}
* ({{ja-stalink|Maya}})
+
* {{ja-stalink|Maya}}
 
* {{ja-stalink|Nada}}
 
* {{ja-stalink|Nada}}
 
* {{ja-stalink|Sannomiya||JR West}}
 
* {{ja-stalink|Sannomiya||JR West}}
Line 47: Line 47:
 
* {{ja-stalink|Himeji-Bessho}}
 
* {{ja-stalink|Himeji-Bessho}}
 
* {{ja-stalink|Gochaku}}
 
* {{ja-stalink|Gochaku}}
* ({{ja-stalink|Higashi-Himeji}})
+
* {{ja-stalink|Higashi-Himeji}}
 
* {{ja-stalink|Himeji}}
 
* {{ja-stalink|Himeji}}
 
| group3 = Wadamisaki Line<br />(Sanyo Main Line)
 
| group3 = Wadamisaki Line<br />(Sanyo Main Line)

Revision as of 01:12, 1 October 2016

Initial visibility: currently defaults to autocollapse

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

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