Template:WSL profile
Appearance
{{{name}}} at the World Surf League
This template uses the Wikidata property:
This template uses Lua: |
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
-
- Carissa Moore at the World Surf League
- 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
-
- Italo Ferreira at the World Surf League
- 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The ID number in the URL, such as 1737 in https://www.worldsurfleague.com/athletes/1737/italo-ferreira.
| Number | optional |
Name | name 2 | The link text for the profile associated with "id" parameter. It defaults to the Wikipedia article name, without any disambiguation such as "(surfer)".
| String | optional |