Template:WSL profile: Difference between revisions
Appearance
Content deleted Content added
create |
Category:Sports external link templates |
||
Line 7: | Line 7: | ||
}}<noinclude> |
}}<noinclude> |
||
{{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. --> |
{{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. --> |
||
[[Category:Sports external link templates]] |
|||
</noinclude> |
</noinclude> |
Revision as of 12:59, 2 May 2023
{{{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
- 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
Unnamed parameters
- 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
- 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
- Usage
* {{WSL profile}}
- Output
-
- {{WSL profile}} template missing ID and not present in Wikidata.
TemplateData
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 |