Template:DatabaseOlympics
{{{name}}} at databaseOlympics.com (archived)Template:WikidataCheck
Template:Uses Wikidata Template:Tracks Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).
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.
Contents
Usage
- 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 Template:Property
{{DatabaseOlympics }}{{DatabaseOlympics | name= NAME }}{{DatabaseOlympics | name= NAME | archive= NUMBER }}
Examples
Unnamed parameters
- URL
- http://www.databaseolympics.com/players/playerpage.htm?ilkid=MCCORJOE01 (archived)
- Usage
* {{DatabaseOlympics | MCCORJOE01 | Joe McCormick }}
- Output
-
- Joe McCormick at databaseOlympics.com (archived)Script error: No such module "EditAtWikidata".Template:WikidataCheck
Named parameters
- 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)Script error: No such module "EditAtWikidata".Template:WikidataCheck
No ID in template or Wikidata
- Usage
* {{DatabaseOlympics}}
- Output
-
- Template:PAGENAMEBASE at databaseOlympics.com (archived)Script error: No such module "EditAtWikidata".Template:WikidataCheck
TemplateData
TemplateData 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" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: MCCORJOE01 is the ID portion of 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 "name" parameter (or unnamed parameter "2") may be used to specify 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 | 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
- Category:DatabaseOlympics ID different from Wikidata (0)
- Category:DatabaseOlympics ID not in Wikidata (0)
Templates and modules used
- Template:First word, implemented with Module:String
- Module:EditAtWikidata
- Module:WikidataCheck
| The above documentation is transcluded from Template:DatabaseOlympics/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |