Difference between revisions of "Template:Infobox racing car/statstable"
Jump to navigation
Jump to search
imported>Primefac m (Protected "Template:Infobox racing car/statstable": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or co...) |
imported>Pelmeen10 |
||
| Line 53: | Line 53: | ||
|h4=[[Pole position|Poles]]|d4={{{Poles|}}} | |h4=[[Pole position|Poles]]|d4={{{Poles|}}} | ||
|h5=[[Fastest lap|F.Laps]]|d5={{{Fastest_laps|}}} | |h5=[[Fastest lap|F.Laps]]|d5={{{Fastest_laps|}}} | ||
| − | |h6=[[Podium# | + | |h6=[[Podium#In motorsport|Podiums]]|d6={{{Podiums|}}} |
|h7=Titles|d7={{{Titles|}}} | |h7=Titles|d7={{{Titles|}}} | ||
}}</pre> | }}</pre> | ||
| Line 71: | Line 71: | ||
|h4=[[Pole position|Poles]]|d4={{{Poles|4}}} | |h4=[[Pole position|Poles]]|d4={{{Poles|4}}} | ||
|h5=[[Fastest lap|F.Laps]]|d5={{{Fastest_laps|5}}} | |h5=[[Fastest lap|F.Laps]]|d5={{{Fastest_laps|5}}} | ||
| − | |h6=[[Podium# | + | |h6=[[Podium#In motorsport|Podiums]]|d6={{{Podiums|}}} |
|h7=Titles|d7={{{Titles|}}} | |h7=Titles|d7={{{Titles|}}} | ||
}} | }} | ||
| Line 89: | Line 89: | ||
|h4=[[Pole position|Poles]]|d4={{{Poles|4}}} | |h4=[[Pole position|Poles]]|d4={{{Poles|4}}} | ||
|h5=[[Fastest lap|F.Laps]]|d5={{{Fastest_laps|5}}} | |h5=[[Fastest lap|F.Laps]]|d5={{{Fastest_laps|5}}} | ||
| − | |h6=[[Podium# | + | |h6=[[Podium#In motorsport|Podiums]]|d6={{{Podiums|6}}} |
|h7=Titles|d7={{{Titles|7}}} | |h7=Titles|d7={{{Titles|7}}} | ||
}} | }} | ||
| Line 107: | Line 107: | ||
|h4=[[Pole position|Poles]]|d4={{{Poles|4}}} | |h4=[[Pole position|Poles]]|d4={{{Poles|4}}} | ||
|h5=[[Fastest lap|F.Laps]]|d5={{{Fastest_laps|5}}} | |h5=[[Fastest lap|F.Laps]]|d5={{{Fastest_laps|5}}} | ||
| − | |h6=[[Podium# | + | |h6=[[Podium#In motorsport|Podiums]]|d6={{{Podiums|6}}} |
|h7=Titles|d7={{{Titles|7}}} | |h7=Titles|d7={{{Titles|7}}} | ||
}} | }} | ||
}} | }} | ||
}}</noinclude> | }}</noinclude> | ||
Latest revision as of 02:40, 17 March 2018
50px Template documentation
This is a subtemplate of Template:Infobox racing car, which is used to generate the statistics table. It should not be used directly.
Usage
{{Infobox racing car/statstable
|count={{#expr:
{{#if:{{{Entries|}}}|1|0}}+{{#if:{{{Races|}}}|1|0}}
+{{#if:{{{Wins|}}}|1|0}}+{{#if:{{{Poles|}}}|1|0}}
+{{#if:{{{Fastest_laps|}}}|1|0}}+{{#if:{{{Podiums|}}}|1|0}}
+{{#if:{{{Titles|}}}|1|0}}}}
|h1=Entries|d1={{{Entries|}}}
|h2=Races|d2={{{Races|}}}
|h3=Wins|d3={{{Wins|}}}
|h4=[[Pole position|Poles]]|d4={{{Poles|}}}
|h5=[[Fastest lap|F.Laps]]|d5={{{Fastest_laps|}}}
|h6=[[Podium#In motorsport|Podiums]]|d6={{{Podiums|}}}
|h7=Titles|d7={{{Titles|}}}
}}
Tests
| Test 1 | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| |||||||||
| Test 2 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
| Test 3 | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |