Difference between revisions of "Template:DriverDB driver/doc"
(+cat) |
m (1 revision) |
(No difference)
|
Latest revision as of 04:12, 22 March 2014
40px | This is a documentation subpage for Template:DriverDB driver. It contains usage information, categories and other content that is not part of the original template page. |
Usage
First parameter is the driver's ID as it appears in the DriverDB.com url, e.g. michael-schumacher in http://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 http://www.driverdb.com/drivers/1/ will also resolve 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". It defaults to the article title if not supplied.
The first parameter is mandatory. The second parameter is not needed if the article title is the actual driver's name.
Examples
When used on the article Michael Schumacher: | Produces: |
{{DriverDB driver|id=michael-schumacher}} | Michael Schumacher career summary at DriverDB.com |
When used on the article John Taylor (racing driver): | Produces: |
{{DriverDB driver|id=john-taylor|name=John Taylor}} | John Taylor career summary at DriverDB.com |
To-do
- None at the moment.
See also
External links