Jump to content

Template:WSBK/doc

From Wikipedia, the free encyclopedia

Template:WSBK displays an external link to a motorcycle racer's page at WorldSBK.com, a website dedicated to superbike racing. It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
* {{WSBK | account_name }}
* {{WSBK | account_name | Displayed Name }}
Named parameters
* {{WSBK | id= account_name }}
* {{WSBK | id= account_name | name= Displayed Name }}
Using Wikidata property P4076
* {{WSBK}}
* {{WSBK | name= Displayed Name }}

Examples

[edit]

Unnamed parameters

[edit]
Usage
* {{WSBK | Jeffrey+Buis | Jeffrey Buis}}
* {{WSBK | Jeffrey+Buis/8496 | Jeffrey Buis}}
Output
URLs
https://www.worldsbk.com/en/rider/Jeffrey+Buis (redirect to URL below)
https://www.worldsbk.com/en/rider/Jeffrey+Buis/8496

Named parameters

[edit]
Usage
* {{WSBK | id= Alejandro+Medina+Mayo | name= Alejandro Medina Mayo }}
* {{WSBK | id= Alejandro+Medina+Mayo/8253 | name= Alejandro Medina Mayo }}
Output
URLs
https://www.worldsbk.com/en/rider/Alejandro+Medina+Mayo (redirect to URL below)
https://www.worldsbk.com/en/rider/Alejandro+Medina+Mayo/8253

No parameters and Wikidata property not defined

[edit]
Usage
* {{WSBK}}
Output
  • {{WSBK}} template missing ID and not present in Wikidata.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:WSBK in articles based on its TemplateData.

TemplateData for WSBK

This template displays an external link to a motorcycle racer's page at WorldSBK.com, a website dedicated to superbike racing. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID portion of the URL, such as Jeffrey+Buis in https://www.worldsbk.com/en/rider/Jeffrey+Buis or Jeffrey+Buis/8496 in https://www.worldsbk.com/en/rider/Jeffrey+Buis/8496. This parameter is optional if Wikidata property P4076 exists, but required if not.

Default
Wikidata property P4076
Stringoptional
Namename 2

The link text, which should be the name of the motorcycle racer. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(motorcyclist)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking category

[edit]
[edit]