Template:Ski-DB/doc
This is a documentation subpage for Template:Ski-DB. It may contain usage information, categories and other content that is not part of the original template page. |
- Ski-DB skier ID (P3619) (see uses)
This template uses Lua: |
Template:Ski-DB displays an external link to an alpine skier's profile at Ski-DB.com. It is intended for use in the external links section of an article.
Usage
[edit]Unnamed parameters:
{{Ski-DB | ID }}
{{Ski-DB | ID | NAME }}
Named parameters:
{{Ski-DB | id= ID }}
{{Ski-DB | id= ID | name= NAME }}
Using Wikidata property Ski-DB skier ID (P3619):
{{Ski-DB}}
{{Ski-DB | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]Usage:
* {{Ski-DB | marcel_hirscher_aut_53831 | Marcel Hirscher }}
Output:
- Marcel Hirscher at Ski-DB Alpine Ski Database
Current URL:
Former URL:
- http://www.ski-db.com/db/profiles/53831.asp (archive)
Named parameters
[edit]Usage:
* {{Ski-DB |id= janica_kostelic_cro_wkstja |name= Janica Kostelić }}
Output:
- Janica Kostelić at Ski-DB Alpine Ski Database
Current URL:
Former URL:
- http://www.ski-db.com/db/profiles/wkstja.asp (archive)
No parameters and Wikidata property not defined
[edit]Usage:
* {{Ski-DB}}
Output:
- {{Ski-DB}} template missing ID and not present in Wikidata.
Template data
[edit]TemplateData for Ski-DB
This template displays an external link to an alpine skier's profile at Ski-DB.com. 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: marcel_hirscher_aut_53831 is the ID portion of https://www.ski-db.com/db/profiles/marcel_hirscher_aut_53831.php. This parameter is optional if Wikidata property P3619 exists, but required if not.
| String | optional |
Name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(skier)" or "(alpine skier)".
| String | optional |
Tracking categories
[edit]- ID parameter exists
- Category:Ski-DB template with ID different from Wikidata (3)
- Category:Ski-DB template with ID not in Wikidata (10)
- ID parameter does not exist
See also
[edit]- {{FIS alpine skier}}