Jump to content

Template:WSL profile/doc

From Wikipedia, the free encyclopedia

Template:WSL profile displays an external link to a surfer's page at the World Surf League. It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{WSL profile | ID }}
{{WSL profile | ID | NAME }}
Named parameters
{{WSL profile | id= ID }}
{{WSL profile | id= ID | name= NAME }}
Using Wikidata property
{{WSL profile}}
{{WSL profile | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
Usage
* {{WSL profile | 64 | Carissa Moore }}
Output
URLs
https://www.worldsurfleague.com/athletes/64/- (in template)
https://www.worldsurfleague.com/athletes/64/carissa-moore (at website)

Named parameters

[edit]
Usage
* {{WSL profile | id= 1737 | name= Italo Ferreira }}
Output
URLs
https://www.worldsurfleague.com/athletes/1737/- (in template)
https://www.worldsurfleague.com/athletes/1737/italo-ferreira (at website)

No parameters and Wikidata property not defined

[edit]
Usage
* {{WSL profile}}
Output
  • {{WSL profile}} 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:WSL profile in articles based on its TemplateData.

TemplateData for WSL profile

This template displays an external link to a surfer's page at the World Surf League. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID number in the URL, such as 1737 in https://www.worldsurfleague.com/athletes/1737/italo-ferreira.

Default
Wikidata property P3339
Example
1737
Numberoptional
Namename 2

The link text for the profile associated with "id" parameter. It defaults to the Wikipedia article name, without any disambiguation such as "(surfer)".

Default
{{PAGENAMEBASE}}
Example
Italo Ferreira
Stringoptional
[edit]