![]() | This is a documentation subpage for Template:DatabaseOlympics. It may contain usage information, categories and other content that is not part of the original template page. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
![]() | This template uses Lua: |
Template:databaseOlympics displays an external link to an Olympic athlete's profile at databaseOlympics.com. It is intended for use in the external links section of an article.
Usage
edit- Unnamed parameters
{{databaseOlympics | ID }}
{{databaseOlympics | ID | NAME }}
- Named parameters
{{databaseOlympics | id= ID }}
{{databaseOlympics | id= ID | name= NAME }}
{{databaseOlympics | id= ID | name= NAME | archive= NUMBER }}
- Using Wikidata property databaseOlympics.com athlete ID (archived) (P3520)
{{databaseOlympics}}
{{databaseOlympics | name= NAME }}
{{databaseOlympics | name= NAME | archive= NUMBER }}
Examples
editUnnamed parameters
edit- URL
- http://www.databaseolympics.com/players/playerpage.htm?ilkid=MCCORJOE01 (archived)
- Usage
* {{databaseOlympics | MCCORJOE01 | Joe McCormick }}
- Output
-
- Joe McCormick at databaseOlympics.com (archived)
Named parameters
edit- URL
- http://www.databaseolympics.com/players/playerpage.htm?ilkid=WRIGHJOS02 (archived)
- Usage
* {{databaseOlympics |id= WRIGHJOS02 |name= Joseph Wright |archive= 20160303211305}}
- Output
-
- Joseph Wright at databaseOlympics.com (archived)
No ID in template or Wikidata
edit- Usage
* {{databaseOlympics}}
- Output
-
- {{databaseOlympics}} template missing ID and not present in Wikidata.
TemplateData
editTemplateData for DatabaseOlympics
This template displays an external link to an Olympic athlete's profile at databaseOlympics.com. 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 MCCORJOE01 in http://www.databaseolympics.com/players/playerpage.htm?ilkid=MCCORJOE01. This parameter is optional if Wikidata property P3520 exists, but required if not.
| String | optional |
name | name 2 | 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 |
archive | archive | A number representing the date/time in an Internet Archive URL, such as 20160303211305 in https://web.archive.org/web/20160303211305/http://www.databaseolympics.com/players/playerpage.htm?ilkid=WRIGHJOS02. | Number | optional |
Tracking categories
edit- Category:databaseOlympics ID different from Wikidata (1)
- Category:databaseOlympics ID not in Wikidata (0)
Templates and modules used
edit- Template:First word, implemented with Module:String
- Module:EditAtWikidata
- Module:WikidataCheck