Difference between revisions of "Template:Hesketh Racing"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(adding {{collapsible option}} and/or {{{state}}})
imported>Mitzikarl
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name      = Hesketh Racing
 
| name      = Hesketh Racing
| title      = {{flagicon|UK}} [[Hesketh Racing|{{color|red|Hesketh Racing}}]]
+
| title      = {{flagicon|UK}} [[Hesketh Racing|{{color|#CF091F|Hesketh Racing}}]]
 
| listclass  = hlist
 
| listclass  = hlist
| titlestyle = background:white; color:blue;
+
| titlestyle = background:#FFFFFF; color:#000000; border:1px solid #11232F; {{box-shadow border|a|#CF091F|1px}}
 
| state      = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state      = {{{state<includeonly>|collapsed</includeonly>}}}
  
Line 29: Line 29:
 
[[Category:Formula One constructor templates]]
 
[[Category:Formula One constructor templates]]
  
[[ja:Template:ヘスケス]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 01:00, 15 December 2020

Initial visibility: currently defaults to autocollapse

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

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