Difference between revisions of "Template:IR Ishikawa Railway"

From blackwiki
Jump to navigation Jump to search
imported>Ibicdlcod
imported>Ibicdlcod
(revert self. known issues)
Line 1: Line 1:
{{Hokuriku_Main_Line_(undivided)|mode=3}}
+
{{navbox
[[Category:Japan railway unified lines templates]]
+
| name  = IR Ishikawa Railway
 +
| title = Stations of the [[IR Ishikawa Railway Line]]
 +
| state = {{{state|autocollapse}}}
 +
| titlestyle = {{rail navbox titlestyle|DeepSkyBlue}}
 +
| listclass = hlist
 +
| list1 =
 +
* {{STN|Kanazawa}}
 +
* {{STN|Higashi-Kanazawa}}
 +
* {{STN|Morimoto}}
 +
* {{STN|Tsubata}}
 +
* {{STN|Kurikara}}
 +
}}
 +
<includeonly>
 +
[[Category:Stations of IR Ishikawa Railway]]
 +
</includeonly><noinclude>
 +
{{collapsible option}}
 +
[[Category:Japan railway line templates]]
 +
</noinclude>

Revision as of 08:45, 17 November 2019

Initial visibility: currently defaults to autocollapse

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

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