ਫਰਮਾ:Olympedia
ਦਿੱਖ
{{{name}}}, ਉਲੰਪੀਡੀਆ ਉੱਤੇ
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
ਇਹ ਫਰਮਾ ਵਿਕੀਡਾਟਾ ਪ੍ਰੌਪਰਟੀ:
ਦੀ ਵਰਤੋਂ ਕਰਦਾ ਹੈ।
ਇਹ ਫਰਮਾ ਹੇਠ ਲਿਖੇ ਲੂਆ ਨੂੰ ਵਰਤਦਾ ਹੈ: |
ਫਰਮਾ: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.
Usage
[ਸੋਧੋ]- Unnamed parameters
{{Olympedia | ID }}
{{Olympedia | ID | NAME }}
- Named parameters
{{Olympedia | id= ID }}
{{Olympedia | id= ID | name= NAME }}
- Using Wikidata property
{{Olympedia}}
{{Olympedia | name= NAME }}
Examples
[ਸੋਧੋ]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
-
- Laura Dahlmeier, ਉਲੰਪੀਡੀਆ ਉੱਤੇ
ID in Wikidata
[ਸੋਧੋ]- Usage in the article Steven Redgrave
* {{Olympedia}}
* {{Olympedia | name= Steven Redgrave }}
- Output
-
- Steven Redgrave, ਉਲੰਪੀਡੀਆ ਉੱਤੇ
No ID in template or Wikidata
[ਸੋਧੋ]- Usage
* {{Olympedia}}
- Output
-
- {{Olympedia}} template missing ID and not present in Wikidata.
TemplateData
[ਸੋਧੋ]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for Template:Olympedia based on its 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.
ਮਾਪਦੰਡ | ਵੇਰਵਾ | ਕਿਸਮ | ਦਰਜਾ | |
---|---|---|---|---|
ID | id 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.
| Number | 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 |
Tracking categories
[ਸੋਧੋ]- template with ID
- Category:Olympedia template with ID different from Wikidata (0)
- Category:Olympedia template with ID not in Wikidata (0)
- template missing ID
See also
[ਸੋਧੋ]- {{Sports reference}}, for archived external links
- {{Cite sports-reference}}, for archived links used as a reference