Difference between revisions of "Template:Brabham"

From blackwiki
Jump to navigation Jump to search
imported>Hydrargyrum
m (avoid indirect links in template)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name      = Brabham
 
| name      = Brabham
| title      = {{flagicon|GBR}} [[Brabham|{{color|gold|Motor Racing Developments}}]]
+
| title      = {{flagicon|Great Britain}} [[Brabham|{{color|gold|Motor Racing Developments}}]]
 
| state      = {{{state|autocollapse}}}
 
| state      = {{{state|autocollapse}}}
 
| titlestyle = background:#004626; color:gold;
 
| titlestyle = background:#004626; color:gold;
Line 17: Line 17:
  
 
;World Champions
 
;World Champions
: {{flagicon|AUS}} [[Jack Brabham]]
+
: {{flagicon|Australia}} [[Jack Brabham]]
: {{flagicon|NZL}} [[Denny Hulme]]
+
: {{flagicon|New Zealand}} [[Denny Hulme]]
: {{flagicon|BRA}} [[Nelson Piquet]]
+
: {{flagicon|Brazil}} [[Nelson Piquet]]
  
 
;[[:Category:Brabham Formula One drivers|Other drivers]]
 
;[[:Category:Brabham Formula One drivers|Other drivers]]

Revision as of 21:35, 15 March 2019

Initial visibility: currently defaults to autocollapse

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

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