Template:LTOK profile
{{{name}}} at the Lietuvos tautinis olimpinis komitetas (in Lithuanian)
| File:Lua-Logo.svg | This template uses Lua: |
Template:LTOK profile displays an external link to an athlete's profile at the official website of the National Olympic Committee of Lithuania, known in Lithuanian as Lietuvos tautinis olimpinis komitetas (LTOK). The template is intended for use in the external links section of an article.
Usage
[edit source]Omit the ID to use the Wikidata property.
- Article name as link text
{{LTOK profile | ID }}{{LTOK profile | id= ID }}
- Parameter as link text
{{LTOK profile | ID | NAME }}{{LTOK profile | id= ID | name= NAME }}
Examples
[edit source]Unnamed parameters
[edit source]- Usage
* {{LTOK profile | jolanta-polikeviciute | Jolanta Polikevičiūtė }}
- Output
-
- Jolanta Polikevičiūtė at the Lietuvos tautinis olimpinis komitetas (in Lithuanian)
- Former URL
- http://www.ltok.lt/olimpines-rinktines-kandidatai/jolanta-polikeviciute/ (archive 2018-03-10)
Named parameters
[edit source]- Usage
* {{LTOK profile | id= valdemaras-venckaitis | name= Valdemaras Venckaitis }}
- Output
-
- Valdemaras Venckaitis at the Lietuvos tautinis olimpinis komitetas (in Lithuanian)
- Former URL
- http://www.ltok.lt/olimpines-rinktines-kandidatai/valdemaras-venckaitis/ (archive 2018-02-07)
No parameters and Wikidata property not defined
[edit source]- Usage
* {{LTOK profile}}
- Output
-
- LTOK profile at the Lietuvos tautinis olimpinis komitetas (in Lithuanian)Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
TemplateData
[edit source]TemplateData for LTOK profile
This template Template:LTOK profile displays an external link to an athlete's profile at the official website of the National Olympic Committee of Lithuania, known in Lithuanian as Lietuvos tautinis olimpinis komitetas (LTOK). The template 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 jolanta-polikeviciute in https://www.ltok.lt/atletai/jolanta-polikeviciute/. This parameter is optional if Wikidata property P4061 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 |
Templates and modules used
[edit source]- {{PAGENAMEBASE}} and {{First word}}, implemented with Module:String
- {{EditAtWikidata}}, implemented with Module:EditAtWikidata
See also
[edit source]Olympic profile templates
[edit source]External links
[edit source]- Athlete page at LTOK.lt (in Lithuanian)