Template:DriverDB driver/doc

It is intended for use in the external links section of an article.

Usage

 * Unnamed parameters


 * Named parameters


 * Using Wikidata property

First parameter is the driver's ID as it appears in the DriverDB.com url, e.g. michael-schumacher in https://www.driverdb.com/drivers/michael-schumacher/. Note that the ID of the driver (as used on DriverDB.com) can also be used. For example, 1 in https://www.driverdb.com/drivers/1/ will also link to Michael Schumacher's page at DriverDB.com.

Second parameter is the driver's name as it should appear in the visible text of the link, e.g. "John Taylor" from the article John Taylor (racing driver). If not supplied it defaults to the article title, without any disambiguation such as (racing driver).

The first parameter is required unless the driver's ID is in Wikidata. The second parameter is not needed if the article title is the actual driver's name.

Unnamed parameters

 * Usage in Michael Schumacher


 * Output


 * Current URL
 * https://www.driverdb.com/drivers/michael-schumacher


 * Former URLs (previously redirected to current URL)
 * https:// www.driverdb.com/drivers/1/ (archive)
 * https:// www.driverdb.com/racingdriver1.html (archive)

Named parameters

 * Usage in Andrew Thompson (racing driver)


 * Output


 * Current URL
 * https://www.driverdb.com/drivers/andrew-thompson-4789


 * Former URLs (previously redirected to current URL)
 * https:// www.driverdb.com/drivers/4789/ (archive)
 * https:// www.driverdb.com/racingdriver4789.html (archive)

No parameters and Wikidata property not defined

 * Usage


 * Output

TemplateData
{ "description": "This template displays an external link to a racing driver's profile at DriverDB.com. It is intended for use in the external links section of an article.", "params": { "id": { "label": "id", "aliases": ["1"], "description": "The ID portion of the URL, such as michael-schumacher in https://www.driverdb.com/drivers/michael-schumacher. This parameter is optional if Wikidata property P3684 exists, but required if not.", "default": "Wikidata property P3684", "type": "string", "required": false },   "name": { "label": "name", "aliases": ["2"], "description": "The link text, which should be the name of the driver. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as \"(racing driver)\".", "default": "", "type": "string", "required": false } },  "paramOrder": [ "id", "name" ] }