Jump to content

සැකිල්ල:Olympedia/doc

විකිපීඩියා වෙතින්

සැකිල්ල:Olympedia displays an external link to an Olympic athlete's profile at Olympedia.org. It is intended for use in the external links section of an article.

Unnamed parameters
{{Olympedia | ID }}
{{Olympedia | ID | NAME }}
Named parameters
{{Olympedia | id= ID }}
{{Olympedia | id= ID | name= NAME }}
Using Wikidata property
{{Olympedia}}
{{Olympedia | name= NAME }}

ID in template

[සංස්කරණය]
Usage in the article Laura Dahlmeier, with article name as link text
* {{Olympedia | 127804 }}
* {{Olympedia | id= 127804 }}
Usage with name parameter as link text
* {{Olympedia | 127804 | Laura Dahlmeier }}
* {{Olympedia | id= 127804 | name= Laura Dahlmeier }}
Output
URL
https://www.olympedia.org/athletes/127804

ID in Wikidata

[සංස්කරණය]
Usage in the article Steven Redgrave
* {{Olympedia}}
* {{Olympedia | name= Steven Redgrave }}
Output
URL
https://www.olympedia.org/athletes/37440

No ID in template or Wikidata

[සංස්කරණය]
Usage
* {{Olympedia}}
Output
  • {{Olympedia}} template missing ID and not present in Wikidata.
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Olympedia

This template displays an external link to an Olympic athlete's profile at Olympedia.org. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID portion of the URL, such as 127804 in https://www.olympedia.org/athletes/127804. This parameter is optional if Wikidata property P8286 exists, but required if not.

Default
Wikidata property P8286
Numberoptional
Namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

[සංස්කරණය]
template with ID
template missing ID
[සංස්කරණය]


"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Olympedia/doc&oldid=689507" වෙතින් සම්ප්‍රවේශනය කෙරිණි