Template:ISSF/doc
| This is a documentation subpage for Template:ISSF. It contains usage information, categories and other content that is not part of the original template page. |
Template:Uses Wikidata Template:Tracks Wikidata
| 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
No parameters (only works if Wikidata property P2730 exists):
{{ISSF}}
One parameter:
{{ISSF | ID }}{{ISSF | id= ID }}
Two parameters:
{{ISSF | ID | NAME }}{{ISSF | id= ID | name= NAME }}
TemplateData
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" parameter (or unnamed parameter "1") should contain the ID portion of the URL for a shooting sport athlete's ISSF web page. Example: SHCHNW0605198901 is the ID portion of 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 "name" parameter (or unnamed parameter "2") may be used to specify 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 |
Instructions
- 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
One parameter:
- ISSF web page for Joshua Richmond:
http://www.issf-sports.org/athletes/athlete.ashx?personissfid=SHUSAM1912198501
{{ISSF | SHUSAM1912198501 }}- Template:PAGENAMEBASE at the International Shooting Sport FederationScript error: No such module "EditAtWikidata". Template:WikidataCheck
{{ISSF | id= SHUSAM1912198501 }}- Template:PAGENAMEBASE at the International Shooting Sport FederationScript error: No such module "EditAtWikidata". Template:WikidataCheck
Two parameters:
- ISSF web page for Yi Siling:
http://www.issf-sports.org/athletes/athlete.ashx?personissfid=SHCHNW0605198901
{{ISSF | SHCHNW0605198901 | YI Siling }}- YI Siling at the International Shooting Sport FederationScript error: No such module "EditAtWikidata". Template:WikidataCheck
{{ISSF | id= SHCHNW0605198901 | name= YI Siling }}- YI Siling at the International Shooting Sport FederationScript error: No such module "EditAtWikidata". Template:WikidataCheck
Tracking categories
- ID parameter exists
- Category:ISSF ID not in Wikidata (0 pages)
- Category:ISSF ID different from Wikidata (0 pages)
- Category:ISSF ID same as Wikidata (0 pages)
- ID parameter does not exist
- Category:ISSF template using Wikidata (0 pages)
- Category:ISSF template missing ID (0 pages)