Difference between revisions of "Template:Keio New Line"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
imported>AnomieBOT
m (Substing templates: {{ja-stalink}}. See User:AnomieBOT/docs/TemplateSubster for info.)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Japan Railway Line
+
{{navbox
 
| name  = Keio New Line
 
| name  = Keio New Line
 
| title = Stations of the [[Keiō New Line]]
 
| title = Stations of the [[Keiō New Line]]
|listclass = hlist
+
| state    = {{{state|autocollapse}}}
|Line_color=deeppink
+
| titlestyle = {{rail navbox titlestyle|deeppink}}
| body  =
+
| listclass = hlist
* ([[Toei Shinjuku Line]] for Moto-Yawata<<) {{ja-stalink|Shinjuku}}
+
| list1 =
* {{ja-stalink|Hatsudai}}
+
* ([[Toei Shinjuku Line]] for Moto-Yawata<<) {{STN|Shinjuku||Keio New Line Shinjuku}}
* {{ja-stalink|Hatagaya}}
+
* {{STN|Hatsudai}}
* {{ja-stalink|Sasazuka}} (>> through to Hashimoto)
+
* {{STN|Hatagaya}}
 +
* {{STN|Sasazuka}} (>> through to Hashimoto)
  
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Japan railway line templates]]
 
[[Category:Japan railway line templates]]
[[ru:Шаблон:Новая Линия Кэйо]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 14:57, 15 May 2017

Initial visibility: currently defaults to autocollapse

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

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