Difference between revisions of "Template:Locomotives of the CSAR"

From blackwiki
Jump to navigation Jump to search
imported>Sodacan
(vector version available (GlobalReplace v0.6.5))
imported>CommonsDelinker
(Replacing Flag_of_the_Transvaal_Colony_1904–1910.svg with File:Flag_of_the_Transvaal_Colony_(1904–1910).svg (by CommonsDelinker because: File renamed:).)
 
Line 2: Line 2:
 
|name      = Locomotives of the CSAR
 
|name      = Locomotives of the CSAR
 
|state      = {{{state|autocollapse}}}
 
|state      = {{{state|autocollapse}}}
|title      = [[File:Flag of the Transvaal Colony 1904–1910.svg|29px]] Locomotives of the [[Central South African Railways]] [[File:Flag of Orange River Colony.svg|29px]]
+
|title      = [[File:Flag of the Transvaal Colony (1904–1910).svg|29px]] Locomotives of the [[Central South African Railways]] [[File:Flag of Orange River Colony.svg|29px]]
 
|listclass  = hlist
 
|listclass  = hlist
 
|titlestyle = background:lightsteelblue;
 
|titlestyle = background:lightsteelblue;

Latest revision as of 08:02, 30 May 2018

Initial visibility: currently defaults to autocollapse

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

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