Template:ISSF/sandbox
{{{name}}} at the International Shooting Sport Federation
This is the template sandbox page for Template:ISSF (diff). |
This template uses Lua: |
Template:ISSF displays an external link to a shooting sport athlete's page at ISSF-sports.org, the official website of the International Shooting Sport Federation (ISSF). It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{ISSF | ID }}
{{ISSF | ID | NAME }}
- Named parameters
{{ISSF | id= ID }}
{{ISSF | id= ID | name= NAME }}
- Using Wikidata property
{{ISSF}}
{{ISSF | name= NAME }}
Instructions
[edit]- Go to ISSF-sports.org and search for an athlete
- Click on the correct link to go to the athlete's page
- The page URL should look like
http://www.issf-sports.org/athletes/athlete.ashx?personissfid=AAAAAAnnnnnnnnnn
- where "AAAAAAnnnnnnnnnn" indicates the alphanumeric ID string for a specific athlete.
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{ISSF | SHUSAM1912198501 | Joshua Richmond }}
- Output
Named parameters
[edit]- Usage
* {{ISSF |id= SHCHNW0605198901 |name= Yi Siling }}
- Output
No parameters and Wikidata property not defined
[edit]- Usage
* {{ISSF}}
- Output
-
- {{ISSF}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for ISSF
This template displays an external link to a shooting sport athlete's page at ISSF-sports.org, the official website of the International Shooting Sport Federation (ISSF). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The ID portion of the URL, such as SHCHNW0605198901 in http://www.issf-sports.org/athletes/athlete.ashx?personissfid=SHCHNW0605198901. This parameter is optional if Wikidata property P2730 exists, but required if not.
| String | required |
Name | name 2 | The link text, which should be the name of the shooting sport athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(sport shooter)".
| String | optional |
Tracking categories
[edit]- ID parameter exists
- Category:ISSF template with ID different from Wikidata (0)
- Category:ISSF template with ID not in Wikidata (4)
- ID parameter does not exist