Template:MotoGP.com/doc
![]() | This is a documentation subpage for Template:MotoGP.com. It may contain usage information, categories and other content that is not part of the original template page. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
MotoGP racer ID (P3928) (see uses)
![]() | This template uses Lua: |
Template:MotoGP.com displays an external link to a motorcycle racer's page at MotoGP.com. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
* {{MotoGP.com | account_name }}
* {{MotoGP.com | account_name | Displayed Name }}
- Named parameters
* {{MotoGP.com | id= account_name }}
* {{MotoGP.com | id= account_name | name= Displayed Name }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{MotoGP.com | valentino-rossi/d6f009a8-5a57-49b1-8c68-a9c78349d500 | Valentino Rossi }}
- Output
- URLs
https://www.motogp.com/en/riders/valentino-rossi/d6f009a8-5a57-49b1-8c68-a9c78349d500
https://www.motogp.com/en/riders/-/d6f009a8-5a57-49b1-8c68-a9c78349d500
- URLs with former ID
https://www.motogp.com/en/riders/Valentino+Rossi
(archive 2013-02-02)https://www.motogp.com/en/riders/profile/Valentino+Rossi
Named parameters
[edit]- Usage
* {{MotoGP.com | id= ana-carrasco/e009eeea-dde2-4387-9cbc-100ff2e78578 | Ana Carrasco }}
- Output
- URLs
https://www.motogp.com/en/riders/ana-carrasco/e009eeea-dde2-4387-9cbc-100ff2e78578
https://www.motogp.com/en/riders/-/e009eeea-dde2-4387-9cbc-100ff2e78578
- URLs with former ID
https://www.motogp.com/en/riders/Ana+Carrasco
(archive 2013-02-02)https://www.motogp.com/en/riders/profile/Ana+Carrasco
No parameters and Wikidata property not defined
[edit]- Usage
* {{MotoGP.com}}
- Output
-
- {{MotoGP.com}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for MotoGP.com
This template displays an external link to a motorcycle racer's page at MotoGP.com. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The portion of the URL, such as ana-carrasco/e009eeea-dde2-4387-9cbc-100ff2e78578 in https://www.motogp.com/en/riders/ana-carrasco/e009eeea-dde2-4387-9cbc-100ff2e78578. This parameter is optional if Wikidata property P3928 exists, but required if not.
| String | optional |
Name | name 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)".
| String | optional |
Tracking category
[edit]External links
[edit]