Template:Ski-DB
{{{name}}} at Ski-DB Alpine Ski Database
File:Lua-Logo.svg | 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[change]
Unnamed parameters:
{{Ski-DB | ID }}
{{Ski-DB | ID | NAME }}
Named parameters:
{{Ski-DB | id= ID }}
{{Ski-DB | id= ID | name= NAME }}
Using Wikidata property (P3619):
{{Ski-DB}}
{{Ski-DB | name= NAME }}
Examples[change]
Unnamed parameters[change]
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[change]
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[change]
Usage:
* {{Ski-DB}}
Output:
- Ski-DB at Ski-DB Alpine Ski Database
Template data[change]
TemplateData for Ski-DB
<templatedata> {
"description": "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.",
"params": { "id": { "label": "ID", "aliases": [ "1" ], "description": "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.", "type": "string", "required": false, "default": "Wikidata property P3619" }, "name": { "label": "Name", "aliases": [ "2" ], "description": "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)\".", "type": "string", "required": false, "default": "Ski-DB" } } } </templatedata>
Tracking categories[change]
- ID parameter exists
- Category:Ski-DB template with ID different from Wikidata (0)
- Category:Ski-DB template with ID not in Wikidata (0)
- ID parameter does not exist
See also[change]
- {{FIS alpine skier}}