![](http://upload.wikimedia.org/wikipedia/commons/thumb/d/d2/Wikidata-logo-without-paddings.svg/30px-Wikidata-logo-without-paddings.svg.png)
![]() | This template uses Lua: |
Template:World Sailing regatta displays an external link to a regatta'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.
Usage
edit- Unnamed parameters
{{World Sailing regatta | ID }}
{{World Sailing regatta | ID | NAME }}
- Named parameters
{{World Sailing regatta | id= ID }}
{{World Sailing regatta | id= ID | name= NAME }}
- Using Wikidata property
{{World Sailing regatta}}
{{World Sailing regatta | name= NAME }}
Examples
editUnnamed parameters
edit- Usage
{{World Sailing regatta | 8453 | Star World Championship (2006) }}
- Output
- Star World Championship (2006) at World Sailing
- URL in template
- https://data-isaf.soticcloud.net/regattainfo.php?rgtaid=8453
- Former URLs
- https://members.sailing.org/regattainfo.php?rgtaid=8453 (archive)
- https://www.sailing.org/regattainfo.php?rgtaid=8453 (archive)
- Other URLs
- https://www.sailing.org/regatta/star-world-championship?ref=USA200609GUT
- https://www.sailing.org/regatta/star-world-championship
Named parameters
edit- Usage
{{World Sailing regatta | id= 13889 | name= 18th America's Cup }}
- Output
- 18th America's Cup at World Sailing
- URL in template
- https://data-isaf.soticcloud.net/regattainfo.php?rgtaid=13889
- Former URLs
- https://members.sailing.org/regattainfo.php?rgtaid=13889 (archive)
- https://www.sailing.org/regattainfo.php?rgtaid=13889 (archive)
No parameters and Wikidata property not defined
edit- Usage
{{World Sailing regatta}}
- Output
- {{World Sailing regatta}} template missing ID and not present in Wikidata.
TemplateData
editTemplateData for World Sailing regatta
This template displays an external link to a regatta'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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The ID number in the URL, such as 8453 in https://data-isaf.soticcloud.net/regattainfo.php?rgtaid=8453. This parameter is optional if Wikidata property P4832 exists, but required if not.
| Number | optional |
name | name 2 | The link text, which should be name of the regatta. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.
| String | optional |
Tracking categories
edit- template with ID
- Category:World Sailing regatta template with ID different from Wikidata (0)
- Category:World Sailing regatta template with ID not in Wikidata (38)
- template missing ID
See also
edit- {{World Sailing}}