Difference between revisions of "Template:Brabham"

From blackwiki
Jump to navigation Jump to search
imported>Lommaren
(added championship-winning seasons to template + driver category)
(standard Navbox layout (easier to use), missing World Championship link (Piquet))
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name       = Brabham
+
| name = Brabham
| title     = {{flagicon|GBR}} [[Brabham|{{color|gold|Motor Racing Developments}}]]
+
| title = {{flagicon|GBR}} [[Brabham|{{color|gold|Motor Racing Developments (Brabham)}}]]
| state     = {{{state|autocollapse}}}
+
| state = <includeonly>{{{state|autocollapse}}}</includeonly><noinclude>expanded</noinclude>
 
| titlestyle = background:#004626; color:gold;
 
| titlestyle = background:#004626; color:gold;
| listclass = hlist
+
| listclass = hlist
| list1      =  
+
| groupstyle = background:#004626; color:gold;
;Founders
+
 
 +
| group1 = Founders
 +
| list1 =
 
: [[Jack Brabham]]
 
: [[Jack Brabham]]
 
: [[Ron Tauranac]]
 
: [[Ron Tauranac]]
  
;Personnel
+
| group2 = Personnel
 +
| list2 =
 
: [[Bernie Ecclestone]]
 
: [[Bernie Ecclestone]]
 
: [[Gordon Murray]]
 
: [[Gordon Murray]]
Line 16: Line 19:
 
: [[Charlie Whiting]]
 
: [[Charlie Whiting]]
  
;World Champions
+
| group3 = [[Formula One|{{color|gold|F1}}]] [[List of Formula One World Drivers' Champions|{{color|gold|World Champions}}]]
: {{flagicon|AUS}} [[Jack Brabham]]
+
| list3 =
: {{flagicon|NZL}} [[Denny Hulme]]
+
: {{flagicon|AUS}} [[Jack Brabham]] {{Smaller|({{f1|1966}})}}
: {{flagicon|BRA}} [[Nelson Piquet]]
+
: {{flagicon|NZL}} [[Denny Hulme]] {{Smaller|({{f1|1967}})}}
 
+
: {{flagicon|BRA}} [[Nelson Piquet]] {{Smaller|({{f1|1981}} / {{f1|1983}} / {{f1|1987}})}}
;[[:Category:Brabham Formula One drivers|Other drivers]]
 
:[[:Category:Brabham Formula One drivers|''See category'']]
 
  
;[[List of Formula One World Drivers' Champions|Drivers' titles]]
+
| group4 = [[Formula One|{{color|gold|F1}}]] [[List of Formula One World Constructors' Champions|{{color|gold|Constructors' titles}}]]
 +
| list4 =
 
: {{f1|1966}}
 
: {{f1|1966}}
 
: {{f1|1967}}
 
: {{f1|1967}}
: {{f1|1981}}
 
: {{f1|1983}}
 
  
;[[List of Formula One World Constructors' Champions|Constructors' titles]]
+
| list5 =
: {{f1|1966}}
+
  {{Navbox|child
: {{f1|1967}}
+
  | state = <includeonly>{{{state|collapsed}}}</includeonly><noinclude>expanded</noinclude>
 +
  | title = Cars
 +
  | titlestyle = background:#004626; color:gold;
 +
  | groupstyle = background:#004626; color:gold;
  
| list3      =
+
  | group1 = [[Formula One|{{color|gold|Formula 1}}]]
  {{navbox|subgroup
+
   | list1 =
  | abovestyle = background:transparent;
 
 
 
  | above = '''Cars:'''
 
   | list1 =  
 
;Formula One
 
 
: [[Brabham BT3|BT3]]
 
: [[Brabham BT3|BT3]]
 
: [[Brabham BT7|BT7]]
 
: [[Brabham BT7|BT7]]
Line 69: Line 67:
 
: [[Brabham BT60|BT60Y/B]]
 
: [[Brabham BT60|BT60Y/B]]
  
;Indianapolis 500/USAC
+
  | group2 = [[Indianapolis 500/USAC|{{color|gold|Indianapolis 500/USAC}}]]
 +
  | list2 =
 
: [[Brabham BT12|BT12]]
 
: [[Brabham BT12|BT12]]
 
: [[Brabham BT25|BT25]]
 
: [[Brabham BT25|BT25]]
 
: [[Brabham BT32|BT32]]
 
: [[Brabham BT32|BT32]]
  
;Formula Two
+
  | group3 = [[Formula Two|{{color|gold|Formula 2}}]]
 +
  | list3 =
 
: [[Brabham BT10|BT10]]
 
: [[Brabham BT10|BT10]]
 
: [[Brabham BT16|BT16]]
 
: [[Brabham BT16|BT16]]
Line 85: Line 85:
 
: [[Brabham BT40|BT40]]
 
: [[Brabham BT40|BT40]]
  
;Formula Atlantic
+
  | group4 = [[Formula Atlantic|{{color|gold|Formula Atlantic}}]]
 +
  | list4 =
 
: [[Brabham BT23|BT23F/G]]
 
: [[Brabham BT23|BT23F/G]]
 
: [[Brabham BT29|BT29]]
 
: [[Brabham BT29|BT29]]
Line 92: Line 93:
 
: [[Brabham BT40|BT40]]
 
: [[Brabham BT40|BT40]]
  
;Formula Three
+
  | group5 = [[Formula Three|{{color|gold|Formula 3}}]]
 +
  | list5 =
 
: [[Brabham BT9|BT9]]
 
: [[Brabham BT9|BT9]]
 
: [[Brabham BT15|BT15]]
 
: [[Brabham BT15|BT15]]
Line 105: Line 107:
 
: [[Brabham BT41|BT41]]
 
: [[Brabham BT41|BT41]]
  
;Formula Junior
+
  | group6 = [[Formula Junior|{{color|gold|Formula Junior}}]]
 +
  | list6 =
 
: [[Brabham BT1|BT1]]
 
: [[Brabham BT1|BT1]]
 
: [[Brabham BT2|BT2]]
 
: [[Brabham BT2|BT2]]
 
: [[Brabham BT6|BT6]]
 
: [[Brabham BT6|BT6]]
  
;Other single seaters
+
  | group7 = Other single-seaters
 +
  | list7 =
 
: [[Brabham BT4|BT4]]
 
: [[Brabham BT4|BT4]]
 
: [[Brabham BT7|BT7A]]
 
: [[Brabham BT7|BT7A]]
Line 129: Line 133:
 
: [[Brabham BT43|BT43]]
 
: [[Brabham BT43|BT43]]
  
;Sportscars
+
  | group8 = [[Sports car|{{color|gold|Sportscars}}]]
 +
  | list8 =
 
: [[Brabham BT5|BT5]]
 
: [[Brabham BT5|BT5]]
 
: [[Brabham BT8|BT8A]]
 
: [[Brabham BT8|BT8A]]
 
: [[Brabham BT17|BT17]]
 
: [[Brabham BT17|BT17]]
 
   }}
 
   }}
 +
 +
| belowstyle = background:#004626; color:gold;
 +
| below = {{Icon|Category}} [[:Category:Brabham Formula One drivers|{{color|gold|Brabham Formula One drivers}}]]
 +
 
}}<noinclude>
 
}}<noinclude>
{{collapsible option}}
+
<br />{{collapsible option}}
  
 
[[Category:Formula One constructor templates]]
 
[[Category:Formula One constructor templates]]
  
 
</noinclude>
 
</noinclude>

Revision as of 18:17, 20 November 2015


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.