• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:World Sailing/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:World Sailing
This is the template sandbox page for Template:World Sailing (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
This template tracks and uses Wikidata properties:
  • World Sailing sailor ID (P11616) (see uses)
  • World Sailing member ID (archived) (P2804) (see uses)

Template:World Sailing 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.

Contents

  • 1 Usage
    • 1.1 id parameter
    • 1.2 unnamed or www parameter
    • 1.3 Wikidata property
  • 2 Examples
    • 2.1 Using page name as link text
    • 2.2 Using name parameter as link text
    • 2.3 No parameters and Wikidata property not defined
  • 3 TemplateData
  • 4 Tracking categories
  • 5 See also
  • 6 External links

Usage

edit

id parameter

edit

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
{{World Sailing | id= }}
Using name parameter as link text
{{World Sailing | id= | name= }}
Examples of URLs with Sailor ID at current website (www.sailing.org)
https://www.sailing.org/sailor/?ref=ESPFE (archive)
https://www.sailing.org/sailor/?ref=AUSER1 (archive)
Examples of URLs with Member ID at former website (members.sailing.org)
http://members.sailing.org/biog.php?id=ESPFE (archive)
http://members.sailing.org/biog.php?id=AUSER1 (archive)
Examples of URLs with Member ID at former website (data-isaf.soticcloud.net)
https://data-isaf.soticcloud.net/biog.php?id=ESPFE (archive)
https://data-isaf.soticcloud.net/biog.php?id=AUSER1 (archive)

unnamed or www parameter

edit

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
{{World Sailing | WWW }}
{{World Sailing | www= }}
Using name parameter as link text
{{World Sailing | WWW | NAME }}
{{World Sailing | www= | name= }}
Examples of short URL (can use unnamed or www parameter)
https://www.sailing.org/sailor/fernando-echvarri-erasun (archive)
https://www.sailing.org/sailor/elise-rechichi (archive)
Examples of full URL (requires www parameter)
https://www.sailing.org/sailor/fernando-echvarri-erasun?ref=ESPFE (archive)
https://www.sailing.org/sailor/elise-rechichi?ref=AUSER1 (archive)

Wikidata property

edit

Using Wikidata property World Sailing sailor ID (P11616) or World Sailing member ID (archived) (P2804).

Using page name as link text
{{World Sailing}}
Using name parameter as link text
{{World Sailing | name= }}
Examples of URLs with Member ID at former website (members.sailing.org)
http://members.sailing.org/biog.php?memberid=29777 (archive)
http://members.sailing.org/biog.php?memberid=38836 (archive)
Examples of URLs with Member ID at former website (data-isaf.soticcloud.net)
https://data-isaf.soticcloud.net/biog.php?memberid=29777 (archive)
https://data-isaf.soticcloud.net/biog.php?memberid=38836 (archive)

Examples

edit

Using page name as link text

edit
Usage in the article Peter Burling (sailor)
* {{World Sailing | id= NZLPB2 }}
* {{World Sailing | peter-burling }}
* {{World Sailing | peter-burling | id= NZLPB2 }}
* {{World Sailing | www= peter-burling | id= NZLPB2 }}
* {{World Sailing | www= peter-burling?ref=NZLPB2 }}
Output
  • Peter Burling at World Sailing (archive)
  • Peter Burling at World Sailing (archive)
  • Peter Burling at World Sailing (archive)
  • Peter Burling at World Sailing (archive)
  • Peter Burling at World Sailing (archive)
URLs in template
https://www.sailing.org/sailor/?ref=NZLPB2 (archive)
https://www.sailing.org/sailor/peter-burling (archive)
https://www.sailing.org/sailor/peter-burling?ref=NZLPB2 (archive)

Using name parameter as link text

edit
Usage
* {{World Sailing | id= GBRHM15 | name= Hannah Mills }}
* {{World Sailing | hannah-mills | Hannah Mills }}
* {{World Sailing | hannah-mills | Hannah Mills | id= GBRHM15 }}
* {{World Sailing | www= hannah-mills | id= GBRHM15 | name= Hannah Mills }}
* {{World Sailing | www= hannah-mills?ref=GBRHM15 | name= Hannah Mills }}
Output
  • Hannah Mills at World Sailing (archive)
  • Hannah Mills at World Sailing (archive)
  • Hannah Mills at World Sailing (archive)
  • Hannah Mills at World Sailing (archive)
  • Hannah Mills at World Sailing (archive)
URLs in template
https://www.sailing.org/sailor/?ref=GBRHM15 (archive)
https://www.sailing.org/sailor/hannah-mills (archive)
https://www.sailing.org/sailor/hannah-mills?ref=GBRHM15 (archive)

No parameters and Wikidata property not defined

edit
Usage
* {{World Sailing}}
Output
  • {{World Sailing}} 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:World Sailing in articles based on its TemplateData.

TemplateData for World Sailing

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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
idid

Sailor ID, such as GBRHM15.

Default
Wikidata property P11616
Stringoptional
wwwwww 1

Everything following https://www.sailing.org/sailor/, such as hannah-mills or hannah-mills?ref=GBRHM15.

Stringoptional
namename 2

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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

edit
  • Category:World Sailing template using Wikidata property P11616 (15)
  • Category:World Sailing template using Wikidata property P2804 (0)
  • Category:World Sailing template missing ID and not in Wikidata (0)
  • Category:Pages using World Sailing with unknown parameters (0)

See also

edit
  • {{World Sailing regatta}}

External links

edit
  • World Sailing - Athlete Profiles
The above documentation is transcluded from Template:World Sailing/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:World_Sailing/sandbox&oldid=1214433662"
Last edited on 18 March 2024, at 23:00

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 18 March 2024, at 23:00 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop