Difference between revisions of "Template:F1cstat/doc"
Jump to navigation
Jump to search
imported>Corvus tristis (←Created page with '{{documentation subpage}} {{notice|At the end of the season subst this template into: * List of Formula One constructors * List...') |
imported>Carfan568 (Fixed examples) |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
{{notice|At the end of the season [[Wikipedia:Substitution|subst]] this template into: | {{notice|At the end of the season [[Wikipedia:Substitution|subst]] this template into: | ||
* [[List of Formula One constructors]] | * [[List of Formula One constructors]] | ||
| − | |||
* The constructor article | * The constructor article | ||
* The engine supplier article | * The engine supplier article | ||
| Line 11: | Line 10: | ||
{| | {| | ||
|style="vertical-align:top"| | |style="vertical-align:top"| | ||
| − | === | + | ===Constructor codes=== |
{|class="wikitable" | {|class="wikitable" | ||
!Three letter code | !Three letter code | ||
| − | ! | + | !Constructor |
|- | |- | ||
|ALR | |ALR | ||
| Line 60: | Line 59: | ||
|starts | |starts | ||
|Number of races started | |Number of races started | ||
| + | |- | ||
| + | |drivers | ||
| + | |Number of drivers | ||
| + | |- | ||
| + | |totalentries | ||
| + | |Number of individual entries | ||
|- | |- | ||
|poles | |poles | ||
| Line 84: | Line 89: | ||
|Current championship position | |Current championship position | ||
|} | |} | ||
| + | Note: seasonpoints and seasonposition designed specifically for the table cells and would not work outside the tables, if you need a season points outside the table you may use <code><nowiki>{{sum|F1cstat|constructor code|totalpoints|-(total number of points prior the current season)}}</nowiki></code> | ||
===Usage=== | ===Usage=== | ||
| − | <code><nowiki>{{</nowiki> | + | <code><nowiki>{{</nowiki>F1cstat|''three letter constructor code''|''field''}}</code> |
;Examples | ;Examples | ||
| − | <code><nowiki>{{</nowiki> | + | <code><nowiki>{{</nowiki>F1cstat|FER|entries}}</code> returns the total number of races that Ferrari entered |
| − | <code><nowiki>{{</nowiki> | + | <code><nowiki>{{</nowiki>F1cstat|MRC|wins}}</code> returns the total number of wins that Mercedes has scored all-time |
| − | <code><nowiki>{{</nowiki> | + | <code><nowiki>{{</nowiki>F1cstat|MCL|seasonpoints}}</code> returns the total number of points that McLaren scored this season |
|}<includeonly>{{Sandbox other|| | |}<includeonly>{{Sandbox other|| | ||
[[Category:Formula One templates]] | [[Category:Formula One templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 16:32, 8 September 2020
| This is a documentation subpage for Template:F1cstat. It contains usage information, categories and other content that is not part of the original template page. |
At the end of the season subst this template into:
|
Constructor codes
|
Statistics available
Note: seasonpoints and seasonposition designed specifically for the table cells and would not work outside the tables, if you need a season points outside the table you may use Usage
| ||||||||||||||||||||||||||||||||||||||||||||||||||