Template:The-Sports
{{{name}}} at The-Sports.org
This template uses Lua: |
Template:The-Sports displays an external link to a athlete's profile at the The-Sports.org website. It is intended for use in the external links section of an article.
Usage
Unnamed parameters:
{{The-Sports | ID }}
{{The-Sports | ID | NAME }}
Named parameters:
{{The-Sports | id= ID }}
{{The-Sports | id= ID | name= NAME }}
Using Wikidata property The-Sports.org athlete ID (P4391):
{{The-Sports}}
{{The-Sports | name= NAME }}
Examples
Unnamed parameters
Usage:
* {{The-Sports | 357544 | Baruch Shmailov }}
Output:
- Baruch Shmailov at The-Sports.org
URL generated by template:
URL from website search:
Named parameters
Usage:
* {{The-Sports | id= 591938 |name= Abishag Semberg }}
Output:
- Abishag Semberg at The-Sports.org
URL generated by template:
URL from website search:
No parameters and Wikidata property not defined
Usage:
* {{The-Sports}}
Output:
- {{The-Sports}} template missing ID and not present in Wikidata.
TemplateData
TemplateData for The-Sports
This template displays an external link to a athlete's profile at the The-Sports.org website. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 357544 is the ID portion of https://www.the-sports.org/t-spf357544.html or https://www.the-sports.org/baruch-shmailov-judo-spf357544.html. This parameter is optional if Wikidata property P4391 exists, but required if not.
| Number | optional |
Name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".
| String | optional |
Tracking categories
- ID parameter exists
- Category:The-Sports template with ID not in Wikidata (0)
- Category:The-Sports template with ID different from Wikidata (5)
- ID parameter does not exist