Difference between revisions of "Template:BRM"

From blackwiki
Jump to navigation Jump to search
(standard Navbox layout (easier to use))
imported>Foxerman
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name = BRM
+
| name       = BRM
| title = {{flagicon|UK}} [[British Racing Motors|{{color|orange|British Racing Motors (BRM)}}]]
+
| title     = {{flagicon|UK}} [[British Racing Motors|{{color|orange|British Racing Motors}}]]
| state = {{{state|autocollapse}}}
+
| state     = {{{state|autocollapse}}}
| listclass = hlist
+
| listclass = hlist
 
| titlestyle = background:#004225; color:orange;
 
| titlestyle = background:#004225; color:orange;
| groupstyle = background:#004225; color:orange;
+
|group1=People
 
+
| list1 =  
| group1 = Founder
+
;Founder
| list1 =
 
 
: [[Raymond Mays]]
 
: [[Raymond Mays]]
  
| group2 = Principals
+
;Principals
| list2 =
 
 
: [[Alfred Owen]]
 
: [[Alfred Owen]]
 
: [[Louis Stanley]]
 
: [[Louis Stanley]]
 
: [[Jean Stanley]]
 
: [[Jean Stanley]]
  
| group3 = Designers
+
;Designers
| list3 =
 
 
: [[Peter Berthon]]
 
: [[Peter Berthon]]
 
: [[Aubrey Woods (engineer)|Aubrey Woods]]
 
: [[Aubrey Woods (engineer)|Aubrey Woods]]
Line 26: Line 23:
 
: [[Mike Pilbeam]]
 
: [[Mike Pilbeam]]
  
| group4 = [[List of Formula One World Drivers' Champions|{{color|orange|World Champions}}]]
+
;World Champions
| list4 =
+
: {{flagicon|UK}} [[Graham Hill]]
: {{flagicon|UK}} [[Graham Hill]] {{Smaller|({{f1|1962}})}}
+
 
 +
;Drivers
 +
: [[:Category:BRM Formula One drivers|List of drivers]]
  
| group5 = [[List of Formula One World Constructors' Champions|{{color|orange|Constructors' titles}}]]
+
|group2=Titles
| list5 =
+
|list2=
 +
;[[List of Formula One World Drivers' Champions|Drivers' titles]]
 
: {{f1|1962}}
 
: {{f1|1962}}
  
| group6 = Cars
+
;[[List of Formula One World Constructors' Champions|Constructors' titles]]
| list6 =
+
: {{f1|1962}}
  {{Navbox|subgroup
 
  | groupstyle = background:#004225; color:orange;
 
  
  | group1 = [[Formula One|{{color|orange|Formula 1}}]]
+
|group3=Cars
  | list1 =
+
|list3=
: [[BRM 15]]
+
;Formula One cars
 +
: [[BRM 15|15]]
 
: [[BRM P30|P30]]
 
: [[BRM P30|P30]]
 
: [[BRM P25|P25]]
 
: [[BRM P25|P25]]
Line 63: Line 62:
 
: [[BRM P230|P230]]
 
: [[BRM P230|P230]]
  
  | group2 = [[Sports car|{{color|orange|Sportscars}}]]
+
;Sportscars
  | list2 =
 
 
: [[Rover-BRM]]
 
: [[Rover-BRM]]
: [[BRM P154]]
+
: [[BRM P154|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;
+
;Engines
| below = {{Icon|Category}} [[:Category:BRM Formula One drivers|{{color|orange|BRM Formula One drivers}}]]
+
: [[British Racing Motors V16|V16]]
 +
: [[BRM P75|P75]]
  
 
}}<noinclude>
 
}}<noinclude>
<br />{{collapsible option}}
+
{{collapsible option}}
  
 
[[Category:Formula One constructor templates]]
 
[[Category:Formula One constructor templates]]
  
 
</noinclude>
 
</noinclude>

Latest revision as of 22:26, 24 June 2020

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.