Difference between revisions of "Template:High-speed rail"

From blackwiki
Jump to navigation Jump to search
imported>Railman2015
(+Croatia)
imported>Railman2015
Line 5: Line 5:
 
|listclass = hlist
 
|listclass = hlist
 
| above  = Part of [[Rail transport]]
 
| above  = Part of [[Rail transport]]
| group1 = [[List of high-speed trains|High-speed trains]] <br>([[:Category:High-speed trains|category]])
+
 
 +
|group1 = [[High-speed rail#Technologies|Technologies]]
 +
|list1 =
 +
* [[High-speed rail|Conventional]]
 +
* [[Hovertrain]]
 +
* [[Maglev]]
 +
* [[Vactrain]]
 +
 
 +
| group2 = [[List of high-speed trains|High-speed trains]] <br>([[:Category:High-speed trains|category]])
 
| groupstyle = text-align: left; width:20em;
 
| groupstyle = text-align: left; width:20em;
| list1 =  
+
| list2 =  
 
{{Navbox subgroup
 
{{Navbox subgroup
 
| groupstyle =  text-align: left;background-color: #eee;
 
| groupstyle =  text-align: left;background-color: #eee;
Line 84: Line 92:
 
}}
 
}}
  
| group2 = [[High-speed railway line]] <br>([[:Category:High-speed railway lines by country|category]])
+
| group3 = [[High-speed railway line]] <br>([[:Category:High-speed railway lines by country|category]])
| list2 =  
+
| list3 =  
 
*[[List of high-speed rail lines]]
 
*[[List of high-speed rail lines]]
 
|group3 = [[High-speed rail#Technologies|Technologies]]
 
|list3 =
 
* [[High-speed rail|Conventional]]
 
* [[Hovertrain]]
 
* [[Maglev]]
 
* [[Vactrain]]
 
  
 
| group4 = [[High-speed rail by country|By country]] <br /><br><small>''planned networks in italics''</small>
 
| group4 = [[High-speed rail by country|By country]] <br /><br><small>''planned networks in italics''</small>

Revision as of 16:42, 4 April 2015

Initial visibility: currently defaults to autocollapse

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

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