Difference between revisions of "Template:Formula One"

From blackwiki
Jump to navigation Jump to search
(Sidebar (bit simpler))
imported>DH85868993
 
(96 intermediate revisions by 33 users not shown)
Line 1: Line 1:
{{Sidebar
+
{{Sidebar with collapsible lists
|name = Formula One
+
| name = Formula One
|style = width:16.0em;line-height:1.75em;white-space:nowrap;
+
| class = plainlist
|titlestyle = padding:0.4em;background:peachpuff;font-size:150%;
+
| title = [[Formula One]]
|title = [[Formula One]]
+
| navbarstyle = padding-top:0
|headingstyle = padding:0.2em;background:antiquewhite;font-size:110%;
 
|contentstyle = padding-top:0.3em;padding-bottom:0.7em;font-size:110%;
 
  
|heading1 = Season summary
+
| expanded = {{lc:{{{expanded|{{{1|<noinclude>all</noinclude>}}}}}}}} <!-- displays a specific list -->
|content1 = [[2011 Formula One season]]
 
  
|heading2 = Related articles
+
| list1title = Current season
|content2 = [[History of Formula One]]<br/>[[Formula One regulations]]<br/>[[Formula One car]]s<br/>[[Formula One racing]]
+
| list1name  = {{#ifeq:{{lc:{{{expanded|{{{1|}}}}}}}}|all|all|current}}
 +
| list1 =
 +
* [[2021 Formula One World Championship]]
  
|heading3 = Lists
+
| list2title = Related articles
|content3 = {{longlink|[[List of Formula One drivers|Drivers]]<br/><small>([[List of Formula One Grand Prix winners|GP winners]]{{•}}[[List of Formula One World Drivers' Champions|Champions]]{{•}}[[List of Formula One World Drivers' Championship runners-up|Runners-up]])</small>}}<!--
+
| list2name  = {{#ifeq:{{lc:{{{expanded|{{{1|}}}}}}}}|all|all|related}}
-->{{longlink|[[List of Formula One constructors|Constructors]]<br/><small>([[List of Formula One Grand Prix winners (constructors)|GP winners]]{{•}}[[List of Formula One World Constructors' Champions|Champions]]{{•}}[[List of Formula One World Constructors' Championship runners-up|Runners-up]])</small>}}<!--
+
| list2 =
-->{{longlink|[[List of Formula One seasons|Seasons]]{{·}}[[List of Formula One Grands Prix|Grands Prix]]{{·}}[[List of Formula One circuits|Circuits]]<br/><small>[[List of Formula One Promotional Trophy winners|Race Promoters' Trophy winners]]</small>}}<!--
+
* [[History of Formula One]]
-->[[List of Formula One World Championship points scoring systems|Points scoring systems]]<br/>[[Formula One engines|Engines]]{{·}}[[Formula One tyres|Tyres]]{{·}}[[List of international auto racing colors|Natinal colors]]<br/>[[Formula One sponsorship liveries|Sponsorship liveries]]<br/>[[Racing flags]]{{·}}[[List of red-flagged Formula One races|Red-flagged GPs]]<br/>[[List of Formula One people|People]]{{·}}[[List of Formula One fatal accidents|Fatal accidents]]<br/>[[List of Formula One drivers who never qualified for a race|Drivers who never qualified]]<br/>[[List of female Formula One drivers|Female drivers]]<br/>[[List of Formula One broadcasters|TV broadcasters]]
+
* [[Formula One racing]]
 +
* [[Formula One regulations]]
 +
* [[Formula One car]]s
 +
* [[Formula One engines]]
 +
* [[Formula One tyres]]
 +
 
 +
| list3title = Lists
 +
| list3name  = {{#ifeq:{{lc:{{{expanded|{{{1|}}}}}}}}|all|all|lists}}
 +
| list3 =  
 +
* {{longlink |[[List of Formula One drivers|Drivers]] {{hlist |([[List of Formula One Grand Prix winners|GP winners]] |[[List of Formula One polesitters|Polesitters]] |[[List of Formula One drivers who set a fastest lap|Fastest laps]]}} {{hlist |[[List of Formula One World Drivers' Champions|Champions]] |[[List of Formula One driver numbers|Numbers]])}}}}
 +
* {{longlink |[[List of Formula One constructors|Constructors]] {{hlist |([[List of Formula One Grand Prix winners (constructors)|GP winners]] |[[List of Formula One World Constructors' Champions|Champions]])}}}}
 +
* {{hlist |[[List of Formula One seasons|Seasons]] |[[List of Formula One Grands Prix|Grands Prix]] |[[List of Formula One circuits|Circuits]]}}
 +
* [[List of Formula One Promotional Trophy winners|Race Promoters' Trophy winners]]
 +
* [[List of Formula One World Championship points scoring systems|Points scoring systems]]
 +
* {{hlist |[[List of international auto racing colours|National colours]] |[[Formula One sponsorship liveries|Sponsorship liveries]]}}
 +
* {{hlist |[[Racing flags]] |[[List of red-flagged Formula One races|Red-flagged races]]}}
 +
* {{hlist |[[List of female Formula One drivers|Female drivers]] |[[List of Formula One broadcasters|TV broadcasters]]}}
 +
* {{hlist |[[List of Formula One fatalities|Fatalities]] |[[Formula One video games|Video games]]}}
 +
 
 +
| list4title = Records
 +
| list4name  = {{#ifeq:{{lc:{{{expanded|{{{1|}}}}}}}}|all|all|records}}
 +
| list4 =<div class="hlist">
 +
* [[List of Formula One driver records|Drivers]]
 +
* [[List of Formula One constructor records|Constructors]]
 +
* [[Formula One engines#Records|Engines]]
 +
* [[Formula One tyres#Records|Tyres]]
 +
* [[List of Formula One race records|Races]]
 
</div>
 
</div>
  
|heading4 = Records
+
| list5title = Organisations
|content4 = {{longlink|[[List of Formula One driver records|Drivers]]<br/><small>([[List of Formula One Grand Prix winners|Wins]]{{}}[[List of Formula One polesitters|Poles]]{{•}}[[List of Formula One drivers who set a fastest lap|Fastest laps]])</small>}}<!--
+
| list5name  = {{#ifeq:{{lc:{{{expanded|{{{1|}}}}}}}}|all|all|orgs}}
-->[[List of Formula One records#Constructor records|Constructors]]&nbsp;<small>([[List of Formula One Grand Prix winners (constructors)|Wins]])</small><br/>[[List of Formula One records#Engines records|Engines]]{{·}}[[List of Formula One records#Tyres records|Tyres]]{{·}}[[List of Formula One records#Race records|Races]]
+
| list5 = <div class="hlist">
 
+
* [[Fédération Internationale de l'Automobile|FIA]]
|heading5 = Organisations
+
* [[FIA World Motor Sport Council]]
|content5style = line-height:1.65em;font-size:100%;white-space:nowrap;
+
* [[Formula One Group]]
|content5 = {{longlink|[[Fédération Internationale de l'Automobile|Fédération Internationale<br/>de l'Automobile (FIA)]]}} [[FIA World Motor Sport Council]]<br/>[[Formula One Group]]<br/>[[Formula One Constructors Association]]<br/>[[Formula One Teams Association]]<br/>[[Grand Prix Drivers' Association]]
+
* [[Liberty Media]]
 +
* [[Formula One Constructors' Association]]
 +
* [[Formula One Teams Association]]
 +
* [[Grand Prix Drivers' Association]]
 +
</div>
 
}}<noinclude>
 
}}<noinclude>
 
+
{{Collapsible lists option
[[Category:Formula One infobox templates| ]]
+
|listnames = current, related, lists, records, orgs, or all
 
+
|example = orgs
[[cs:Šablona:F1]]
+
}}
[[gl:Modelo:Fórmula 1]]
+
[[Category:Formula One templates| ]]
[[id:Templat:Formula Satu]]
 
[[hu:Sablon:Formula–1]]
 
[[ja:Template:F1記事]]
 
[[ka:თარგი:ფორმულა ერთი]]
 
[[no:Mal:Formel 1]]
 
[[nn:Mal:Formel 1]]
 
[[pt:Predefinição:F1]]
 
[[simple:Template:Formula One]]
 
[[sl:Predloga:Formula 1]]
 
[[sv:Mall:Formel 1]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 02:24, 1 January 2021

This template includes collapsible lists.

  • To set it to display all lists when it appears (i.e. all lists expanded), use:
  •  {{Formula One |expanded=all}} or, if enabled, {{Formula One |all}}  (i.e. omitting "expanded=").
  • To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
  •  {{Formula One |expanded=listname}} or, if enabled, {{Formula One |listname}}
  • …where listname is one of the following (do not include any quotemarks):
  • current, related, lists, records, orgs, or all
  • For example, {{Formula One |expanded=orgs}} or, if enabled, {{Formula One |orgs}}