Template:CQ Ranking/doc

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

Usage

 * Unnamed parameters


 * Named parameters


 * Using Wikidata property P1541 (men) or P2709 (women)

Unnamed parameters

 * URLs
 * https://cqranking.com/men/asp/gen/rider.asp?riderid=1
 * https://cqranking.com/women/asp/gen/rider.asp?riderid=1


 * Usage


 * Output

Named parameters

 * URLs
 * https://cqranking.com/men/asp/gen/rider.asp?riderid=10000
 * https://cqranking.com/women/asp/gen/rider.asp?riderid=10000


 * Usage


 * Output

No parameters and Wikidata property not defined

 * Usage


 * Output

Parameters

 * 1) The   parameter (or unnamed parameter  ) should contain the letter "m" for men or "w" for women (without the quotation marks). This parameter is required when using the   parameter (or unnamed parameter  ) because the CQ Ranking website uses a different URL for male and female cyclists.
 * 2) The   parameter (or unnamed parameter  ) should contain the ID portion the URL for the cyclist's page at the CQ Ranking web site. This parameter is optional if Wikidata property P1541 (men) or P2709 (women) exists, but required if not. Examples:
 * 3) * The ID for male cyclist Paolo Bettini is 1 and the URL is https://cqranking.com/men/asp/gen/rider.asp?riderid=1.
 * 4) * The ID for female cyclist Judith Arndt is 1 and the URL is https://cqranking.com/women/asp/gen/rider.asp?riderid=1.
 * 5) The   parameter (or unnamed parameter  ) may be used to specify the link text, which should be the name of the cyclist. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(cyclist)".

TemplateData
{ "description": "This template displays an external link to a cyclist's page at the CQ Ranking web site (cqranking.com). It is intended for use in the External links section of an article.", "params": { "gender": { "label": "Gender", "aliases": ["1"], "description": "The letter \"m\" for men or \"w\" for women (without the quotation marks). This parameter is required when using the \"id\" parameter (or unnamed parameter \"2\") because the CQ Ranking website uses a different URL for male and female cyclists.", "default": "m", "type": "string", "required": false },   "id": { "label": "ID", "aliases": ["2"], "description": "The ID portion of the URL. This parameter is optional if Wikidata property P1541 (men) or P2709 (women) exists, but required if not. Examples: The ID for male cyclist Paolo Bettini is 1 and the URL is https://cqranking.com/men/asp/gen/rider.asp?riderid=1. The ID for female cyclist Judith Arndt is 1 and the URL is https://cqranking.com/women/asp/gen/rider.asp?riderid=1.", "default": "Wikidata property P1541 (men) or P2709 (women).", "type": "number", "required": false },   "name": { "label": "Name", "aliases": ["3"], "description": "The link text, which should be the name of the person. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as \"(cyclist)\".", "default": "", "type": "string", "required": false } },  "paramOrder": [ "gender", "id", "name" ] }

Tracking categories

 * "id" parameter exists
 * "id" parameter does not exist
 * "id" parameter does not exist
 * "id" parameter does not exist
 * "id" parameter does not exist