Template:World Sailing/doc

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

id parameter
Used with the Sailor ID, an alphanumeric string starting with a three letter country code, followed by two letters for the sailor's initials, and sometimes followed by number to differentiate sailors in the same country with the same initials.


 * Using page name as link text


 * Using name parameter as link text


 * Examples of URLs with Sailor ID at current website
 * www.sailing.org/sailor/?ref=ESPFE – Fernando Echávarri
 * www.sailing.org/sailor/?ref=AUSER1 – Elise Rechichi


 * Examples of URLs with Member ID at former website
 * members.sailing.org/biog.php?id=ESPFE (archived)
 * members.sailing.org/biog.php?id=AUSER1 (archived)
 * data-isaf.soticcloud.net/biog.php?id=ESPFE (archive)
 * data-isaf.soticcloud.net/biog.php?id=AUSER1 (archive)

unnamed or www parameter
Used for everything after www.sailing.org/sailor/ in the URL displayed when searching for a sailor at www.sailing.org.


 * Using page name as link text


 * Using name parameter as link text


 * Examples of short URL (can use unnamed or www parameter)
 * www.sailing.org/sailor/fernando-echvarri-erasun
 * www.sailing.org/sailor/elise-rechichi


 * Examples of full URL (requires www parameter)
 * www.sailing.org/sailor/fernando-echvarri-erasun?ref=ESPFE
 * www.sailing.org/sailor/elise-rechichi?ref=AUSER1

Wikidata property
Using Wikidata property or.


 * Using page name as link text


 * Using name parameter as link text


 * Examples of URLs with Member ID at former website
 * members.sailing.org/biog.php?memberid=29777 (archived) – Fernando Echávarri
 * members.sailing.org/biog.php?memberid=38836 (archived) – Elise Rechichi
 * data-isaf.soticcloud.net/biog.php?memberid=29777 (archive)
 * data-isaf.soticcloud.net/biog.php?memberid=38836 (archive)

Using page name as link text

 * Usage in the article Peter Burling (sailor)


 * Output


 * URLs in template
 * https://www.sailing.org/sailor/?ref=NZLPB2
 * https://www.sailing.org/sailor/peter-burling
 * https://www.sailing.org/sailor/peter-burling?ref=NZLPB2

Using name parameter as link text

 * Usage


 * Output


 * URLs in template
 * https://www.sailing.org/sailor/?ref=GBRHM15
 * https://www.sailing.org/sailor/hannah-mills
 * https://www.sailing.org/sailor/hannah-mills?ref=GBRHM15

No parameters and Wikidata property not defined

 * Usage


 * Output

TemplateData
{ "description": "This template displays an external link to a sailor's profile at an official website of World Sailing (formerly the International Sailing Federation or ISAF), the international governing body for the sport of sailing. It is intended for use in the external links section of an article.", "params": { "id": { "description": "Sailor ID, such as GBRHM15.", "type": "string", "required": false, "default": "Wikidata property P11616" },   "www": { "aliases": ["1"], "description": "Everything following www.sailing.org/sailor/, such as hannah-mills or hannah-mills?ref=GBRHM15.", "type": "string", "required": false },   "name": { "aliases": ["2"], "description": "The link text, which should be the sailor's name. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as \"(sailor)\".", "type": "string", "required": false, "default": "" } },  "paramOrder": [ "id", "www", "name" ] }