Difference between revisions of "Template:E.dams Formula E"

From blackwiki
Jump to navigation Jump to search
imported>Mitzikarl
imported>Mitzikarl
 
Line 4: Line 4:
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
| basestyle = background:#000000; color:#CD1E1E; {{box-shadow border|a|#CD1E1E|1px}}
+
| basestyle = background:#000000; color:#FFFFFF; {{box-shadow border|a|#CD1E1E|1px}}
  
  
Line 29: Line 29:
 
{{{!}}width=100%
 
{{{!}}width=100%
 
{{!}}-
 
{{!}}-
{{!}}width=100% style="background:#00B6ED;color:#FFFFFF; {{box-shadow border|a|#FFD511|1px}}" align=center{{!}} [[Renault Sport|{{color|#FFFFFF|Renault}}]] e.dams (2014–2018)
+
{{!}}width=100% style="background:#00B6ED;color:#FFFFFF; border:1px solid #000000; {{box-shadow border|a|#FFD511|1px}}" align=center{{!}} [[Renault Sport|{{color|#FFFFFF|Renault}}]] e.dams (2014–2018)
 
{{!}}-
 
{{!}}-
 
{{!}}}
 
{{!}}}

Latest revision as of 00:32, 17 December 2020


Initial visibility: currently defaults to autocollapse

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

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