Difference between revisions of "Template:COV profile/doc"
imported>Zyxw (→See also: update) |
imported>Zyxw (→Examples: formatting) |
||
| Line 27: | Line 27: | ||
; Usage | ; Usage | ||
| − | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | 1806 | Jaroslava Bajerová }}</code> | + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | 1806 | Jaroslava Bajerová }}</code> |
; Output | ; Output | ||
| − | : {{{{BASEPAGENAME}} | 1806 | Jaroslava Bajerová }} | + | :* {{{{BASEPAGENAME}} | 1806 | Jaroslava Bajerová }} |
=== Named parameters === | === Named parameters === | ||
| Line 37: | Line 37: | ||
; Usage | ; Usage | ||
| − | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= 1561 | name= Martin Podhráský }}</code> | + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= 1561 | name= Martin Podhráský }}</code> |
; Output | ; Output | ||
| − | : {{{{BASEPAGENAME}} | id= 1561 | name= Martin Podhráský }} | + | :* {{{{BASEPAGENAME}} | id= 1561 | name= Martin Podhráský }} |
=== No parameters and Wikidata property not defined === | === No parameters and Wikidata property not defined === | ||
; Usage | ; Usage | ||
| − | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code> | + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code> |
; Output | ; Output | ||
| − | : {{ {{BASEPAGENAME}} }} | + | :* {{ {{BASEPAGENAME}} }} |
== TemplateData == | == TemplateData == | ||
Revision as of 20:08, 21 November 2018
| This is a documentation subpage for Template:COV profile. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Template:COV profile displays an external link to an athlete's profile at the official website of the Czech Olympic Committee, known in Czech as Český olympijský výbor (ČOV). It is intended for use in the external links section of an article.
Contents
Usage
- Unnamed parameters
{{COV profile | ID }}{{COV profile | ID | NAME }}
- Named parameters
{{COV profile | id= ID }}{{COV profile | id= ID | name= NAME }}
- Using Wikidata property Template:WPL
{{COV profile}}{{COV profile | name= NAME }}
Examples
Unnamed parameters
- Usage
* {{COV profile | 1806 | Jaroslava Bajerová }}
- Output
-
- Jaroslava Bajerová at the Český olympijský výbor (in Czech)Script error: No such module "EditAtWikidata".Template:WikidataCheck
Named parameters
- Usage
* {{COV profile | id= 1561 | name= Martin Podhráský }}
- Output
-
- Martin Podhráský at the Český olympijský výbor (in Czech)Script error: No such module "EditAtWikidata".Template:WikidataCheck
No parameters and Wikidata property not defined
- Usage
* {{COV profile}}
- Output
-
- Template:PAGENAMEBASE at the Český olympijský výbor (in Czech)Script error: No such module "EditAtWikidata".Template:WikidataCheck
TemplateData
TemplateData for COV profile
This template displays an external link to an athlete's profile at the official website of the Czech Olympic Committee, known in Czech as Český olympijský výbor (ČOV). 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: 1806 is the ID portion of http://www.olympic.cz/sportovec/1806. This parameter is optional if Wikidata property P4062 exists, but required if not.
| Number | 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 |
See also
- {{IOC profile}} for links to profiles from the International Olympic Committee
- {{AOC profile}} for links to profiles from the Australian Olympic Committee
- {{BOC profile}} for links to profiles from the Brazilian Olympic Committee
- {{COC profile}} for links to profiles from the Canadian Olympic Committee
- {{COE profile}} for links to profiles from the Comité Olímpico Español
- {{LOK profile}} for links to profiles from the Latvijas Olimpiskā Komiteja
- {{USOC profile}} for links to profiles from the United States Olympic Committee
External links