Difference between revisions of "Template:BRM"

From blackwiki
Jump to navigation Jump to search
imported>Eagleash
m (Undid revision 691391298 by Eagleash (talk) undo own edit: not convinced :P)
(standard Navbox layout (easier to use))
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name       = BRM
+
| name = BRM
| title     = {{flagicon|UK}} [[British Racing Motors|{{color|orange|British Racing Motors}}]]
+
| title = {{flagicon|UK}} [[British Racing Motors|{{color|orange|British Racing Motors (BRM)}}]]
| state     = {{{state|autocollapse}}}
+
| state = {{{state|autocollapse}}}
| listclass = hlist
+
| listclass = hlist
 
| titlestyle = background:#004225; color:orange;
 
| titlestyle = background:#004225; color:orange;
| list1  =  
+
| groupstyle = background:#004225; color:orange;
;Founder
+
 
 +
| group1 = Founder
 +
| list1 =
 
: [[Raymond Mays]]
 
: [[Raymond Mays]]
  
;Principals
+
| group2 = Principals
 +
| list2 =
 
: [[Alfred Owen]]
 
: [[Alfred Owen]]
 
: [[Louis Stanley]]
 
: [[Louis Stanley]]
 
: [[Jean Stanley]]
 
: [[Jean Stanley]]
  
;Designers
+
| group3 = Designers
 +
| list3 =
 
: [[Peter Berthon]]
 
: [[Peter Berthon]]
 
: [[Aubrey Woods (engineer)|Aubrey Woods]]
 
: [[Aubrey Woods (engineer)|Aubrey Woods]]
Line 22: Line 26:
 
: [[Mike Pilbeam]]
 
: [[Mike Pilbeam]]
  
;World Champions
+
| group4 = [[List of Formula One World Drivers' Champions|{{color|orange|World Champions}}]]
: {{flagicon|UK}} [[Graham Hill]]
+
| list4 =
 +
: {{flagicon|UK}} [[Graham Hill]] {{Smaller|({{f1|1962}})}}
  
; [[:Category:BRM Formula One drivers|List of drivers]]
+
| group5 = [[List of Formula One World Constructors' Champions|{{color|orange|Constructors' titles}}]]
: [[:Category:BRM Formula One drivers|''See category'']]
+
| list5 =
 
 
;[[List of Formula One World Drivers' Champions|Drivers' titles]]
 
 
: {{f1|1962}}
 
: {{f1|1962}}
  
;[[List of Formula One World Constructors' Champions|Constructors' titles]]
+
| group6 = Cars
: {{f1|1962}}
+
| list6 =
 +
  {{Navbox|subgroup
 +
  | groupstyle = background:#004225; color:orange;
  
;Formula One cars
+
  | group1 = [[Formula One|{{color|orange|Formula 1}}]]
: [[BRM 15|15]]
+
  | list1 =
 +
: [[BRM 15]]
 
: [[BRM P30|P30]]
 
: [[BRM P30|P30]]
 
: [[BRM P25|P25]]
 
: [[BRM P25|P25]]
Line 57: Line 63:
 
: [[BRM P230|P230]]
 
: [[BRM P230|P230]]
  
;Sportscars
+
  | group2 = [[Sports car|{{color|orange|Sportscars}}]]
 +
  | list2 =
 
: [[Rover-BRM]]
 
: [[Rover-BRM]]
: [[BRM P154|P154]]
+
: [[BRM P154]]
 
: [[BRM P167|P167]]
 
: [[BRM P167|P167]]
 
: [[BRM P351|P351]]
 
: [[BRM P351|P351]]
 
: [[BRM P351|P301]]
 
: [[BRM P351|P301]]
 +
  }}
 +
 +
| group7 = Engines
 +
| list7 =
 +
: [[British Racing Motors V16|BRM V16]]
 +
 +
| belowstyle = background:#004225; color:orange;
 +
| below = {{Icon|Category}} [[:Category:BRM Formula One drivers|{{color|orange|BRM Formula One drivers}}]]
  
;Engines
 
: [[British Racing Motors V16|V16]]
 
 
}}<noinclude>
 
}}<noinclude>
{{collapsible option}}
+
<br />{{collapsible option}}
  
 
[[Category:Formula One constructor templates]]
 
[[Category:Formula One constructor templates]]
  
 
</noinclude>
 
</noinclude>

Revision as of 18:30, 20 November 2015


Initial visibility: currently defaults to autocollapse

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

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