Template:Infobox motorsport championship/doc

From The League Wiki
Jump to navigation Jump to search

This template is designed for most common racing series, e.g. British Formula Three Championship. For articles about the racing formula that are used by such championships, {{Motorsport formula}} may be more appropriate.

Usage

{{Infobox motorsport championship
| name              = 
| logo              = 
| image-size        = (optional; will default to 250px if left blank)
| caption           = 
| category          = [1]
| country           = 
| region            = 
| headquarters      = 
| inaugural         = 
| inaugural2        = [2]
| folded            = 
| classes           = [3]
| LMP classes       =
| GT classes        =
| drivers           = [4]
| riders            = [4]
| teams             = 
| constructors      = [5]
| affiliations      = [5]
| manufacturers     = [5]
| engines           = [5]
| tyres             = [5]
| tires             =
| current_champions =
| champion driver   = 
| champion codriver = [6]
| champion rider    = 
| champion team     = 
| manufacturer      = [7]
| constructor       = [7]
| tv partners       = [7]
| website           = <!-- use {{URL}} -->
| current_season    =
}}
  1. e.g. Single seaters.
  2. Use inaugural2 instead when no category exists for the championship's first year, or additional text is needed, such as a footnote.
  3. e.g. LMP1, LMP2, GTE
  4. The total number of drivers/riders from the current or most recent entry list.
  5. List the current chassis, engine and tyre suppliers with line breaks. If the list is very long, just enter a number.
  6. If the co-driver gets a title.
  7. Normally only applicable to championships with separate titles for teams and manufacturers/constructors, such as the BTCC.

Additional sections

This infobox may be embedded within itself to create multiple sections, using the |sectionX= parameters.

| section1 = {{Infobox motorsport championship|child=yes
  | name = Section1 Heading
  ...
  }}
| section2 = {{Infobox motorsport championship|child=yes
  | name = Section2 Heading
  ...
  }}
| section3 = {{Infobox motorsport championship|child=yes
  | name = Section3 Heading
  ...
  }}

For an example, see Grand Prix motorcycle racing.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Infobox motorsport championship

<templatedata> { "params": { "section": {}, "child": {}, "name": {}, "logo": {}, "imagesize": {}, "image-size": {}, "pixels": {}, "caption": {}, "category": {},

               "headquarters": {},

"country": {}, "country/region": {}, "region": {},

               "affiliations": {},
               "owner": {},

"inaugural": {}, "inaugural2": {}, "folded": {}, "classes": {}, "LMP classes": {}, "GT classes": {},

               "manufacturers": {},

"tv partner": {},

               "drivers": {},

"riders": {}, "teams": {}, "constructors": {}, "engines": {}, "tyres": {}, "tires": {}, "current_champions": {}, "champion driver": {}, "champion codriver": {}, "champion rider": {}, "champion team": {}, "manufacturer": {}, "constructor": {}, "website": {}, "section1": {}, "section2": {}, "section3": {}, "section4": {}, "section5": {}, "current_season": {} } } </templatedata>

Example

Formula One
Example.svg
CategorySingle seater
RegionWorldwide
Inaugural season1950
Drivers24
Teams12
Engine suppliersCosworth · Ferrari · Mercedes · Renault
Tyre suppliersPirelli
Drivers' championGermany Sebastian Vettel
(Red Bull Racing)
Constructors' championAustria Red Bull Racing
Official websitewww.formula1.com
{{Infobox motorsport championship
| name            = Formula One
| logo            = Example.svg
| image-size      = 180px
| category        = [[Open wheel car|Single seater]]
| region          = Worldwide    
| inaugural2      = 1950
| folded          = 
| drivers         = 24
| teams           = 12
| engines         = [[Cosworth]]{{·}}[[Scuderia Ferrari|Ferrari]]{{·}}[[Mercedes-Benz High Performance Engines|Mercedes]]{{·}}[[Renault F1|Renault]]
| tyres           = [[Pirelli]]
| champion driver = {{flagicon|GER}} [[Sebastian Vettel]]<br />(<small>[[Red Bull Racing]]</small>)
| constructor     = {{flagicon|AUT}} [[Red Bull Racing]]
| current_season  = 2011 Formula One season
| website         = {{URL|www.formula1.com}}
}}