Difference between revisions of "Template:Keihan Main Line"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
m (copyedit)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
| name      = Keihan Main Line
 
| name      = Keihan Main Line
 
| title      = Stations of the [[Keihan Main Line]] / [[Keihan Ōtō Line|Ōtō Line]]
 
| title      = Stations of the [[Keihan Main Line]] / [[Keihan Ōtō Line|Ōtō Line]]
 +
| state        = {{{state|autocollapse}}}
 
| listclass  = hlist
 
| listclass  = hlist
 
| titlestyle = {{rail navbox titlestyle|#66cc33}}
 
| titlestyle = {{rail navbox titlestyle|#66cc33}}
Line 58: Line 59:
 
[[Category:Stations of Keihan Electric Railway]]
 
[[Category:Stations of Keihan Electric Railway]]
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 +
{{collapsible option}}
 
[[Category:Japan railway line templates]]
 
[[Category:Japan railway line templates]]
 
[[ja:Template:京阪本線・鴨東線]]
 
[[ja:Template:京阪本線・鴨東線]]

Revision as of 03:13, 27 February 2013

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Keihan Main Line|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Keihan Main Line|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Keihan Main 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. ja:Template:京阪本線・鴨東線 ko:틀:게이한 전기 철도 본선 zh:Template:京阪本線、鴨東線