Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:MotoGP.com/doc

From Wikipedia, the free encyclopedia

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 }}
Using Wikidata property P3928
* {{MotoGP.com}}
* {{MotoGP.com | 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]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:MotoGP.com in articles based on its TemplateData.

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.

Template parameters

ParameterDescriptionTypeStatus
IDid 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.

Default
Wikidata property P3928
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]