Template:Infobox motorsport championship/doc

From IxWiki
Revision as of 15:18, 25 April 2020 by >Vanisaac (→‎Example: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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. See a monthly parameter usage report for Template:Infobox motorsport championship in articles based on its TemplateData.

TemplateData for Infobox motorsport championship

No description.

Template parameters

ParameterDescriptionTypeStatus
sectionsection

no description

Unknownoptional
childchild

no description

Unknownoptional
namename

no description

Unknownoptional
logologo

no description

Unknownoptional
imagesizeimagesize

no description

Unknownoptional
image-sizeimage-size

no description

Unknownoptional
pixelspixels

no description

Unknownoptional
captioncaption

no description

Unknownoptional
categorycategory

no description

Unknownoptional
headquartersheadquarters

no description

Unknownoptional
countrycountry

no description

Unknownoptional
country/regioncountry/region

no description

Unknownoptional
regionregion

no description

Unknownoptional
affiliationsaffiliations

no description

Unknownoptional
ownerowner

no description

Unknownoptional
inauguralinaugural

no description

Unknownoptional
inaugural2inaugural2

no description

Unknownoptional
foldedfolded

no description

Unknownoptional
classesclasses

no description

Unknownoptional
LMP classesLMP classes

no description

Unknownoptional
GT classesGT classes

no description

Unknownoptional
manufacturersmanufacturers

no description

Unknownoptional
tv partnertv partner

no description

Unknownoptional
driversdrivers

no description

Unknownoptional
ridersriders

no description

Unknownoptional
teamsteams

no description

Unknownoptional
constructorsconstructors

no description

Unknownoptional
enginesengines

no description

Unknownoptional
tyrestyres

no description

Unknownoptional
tirestires

no description

Unknownoptional
current_championscurrent_champions

no description

Unknownoptional
champion driverchampion driver

no description

Unknownoptional
champion codriverchampion codriver

no description

Unknownoptional
champion riderchampion rider

no description

Unknownoptional
champion teamchampion team

no description

Unknownoptional
manufacturermanufacturer

no description

Unknownoptional
constructorconstructor

no description

Unknownoptional
websitewebsite

no description

Unknownoptional
section1section1

no description

Unknownoptional
section2section2

no description

Unknownoptional
section3section3

no description

Unknownoptional
section4section4

no description

Unknownoptional
section5section5

no description

Unknownoptional
current_seasoncurrent_season

no description

Unknownoptional

Example

Formula One
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
Current season
{{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}}
}}