Jump to content

Template:DriverDB championship year/doc

From Wikipedia, the free encyclopedia

Usage[edit]

First parameter is the championship's ID as it appears in the DriverDB.com url, e.g. 1 in http://www.driverdb.com/standings/1-2009/. To find the ID parameter, go to https://www.driverdb.com/championships, click on the required championship, scroll to the "champions" table, and use the number before the dash in the URL for any of the years (at the left of the table).

Second parameter is the year as it appears in the DriverDB.com url, e.g. 2009 in http://www.driverdb.com/standings/1-2009/.

Third parameter is the championship year name as it should appear in the visible text of the link, e.g. "2009 Formula One season". It defaults to the article title if not supplied.

The first and second parameters are mandatory. The third parameter is not needed if the article title is the actual championship year's name.

Examples[edit]

When used on the article 2009 Formula One season: Produces:
{{DriverDB championship year|id=1|year=2009}} 2009 Formula One season – championship year summary at DriverDB.com

When used on the article 2009 Formula One season: Produces:
{{DriverDB championship year|id=1|year=2009|name=Formula One 2009 season}} Formula One 2009 season – championship year summary at DriverDB.com

See also[edit]

External links[edit]