Andoza:Olympedia/doc
Ushbu sahifa Olympedia andozasining hujjat sahifasidir. Bu yerda andozaning asosiy sahifasidan joy olmagan foydalanish qoidalari, turkumlar va boshqa foydali maʼlumotlar joylashtiriladi. |
Bu andozadan koʻplab sahifada foydalanilgan. Tajriba oʻtkazish uchun andozaning /qumloq yoki /test ostsahifalaridan foydalaning. Oʻzgarishlar kiritishdan avval boshqa foydalanuvchilar bilan muhokama qilish haqida oʻylab koʻring. |
Bu andoza quyidagi Vikimaʼlumotlar xossasidan foydalanadi: |
This template tracks the Wikidata property: |
Bu andoza quyidagi Luadan foydalanadi: |
Andoza: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
tahrirUnnamed parameters:
{{Olympedia | ID }}
{{Olympedia | ID | NAME }}
Named parameters:
{{Olympedia | id= ID }}
{{Olympedia | id= ID | name= NAME }}
Using Wikidata property [[d:Special:EntityPage/P8286|P8286 (P8286)]]:
{{Olympedia}}
{{Olympedia | name= NAME }}
Examples
tahrirID in template
tahrirUsage 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:
ID in Wikidata
tahrirUsage in the article Steven Redgrave:
* {{Olympedia}}
* {{Olympedia | name= Steven Redgrave }}
Output:
URL:
No ID in template or Wikidata
tahrirUsage:
* {{Olympedia}}
Output:
- {{Olympedia}} template missing ID and not present in Wikidata.
TemplateData
tahrirOlympedia uchun TemplateData
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.
Parametr | Tavsif | Turi | Status | |
---|---|---|---|---|
id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 127804 is the ID portion of https://www.olympedia.org/athletes/127804. This parameter is optional if Wikidata property P8286 exists, but required if not.
| Son | ixtiyoriy |
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 | ixtiyoriy |
Tracking categories
tahrir- 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
tahrir- {{Sports reference}}, for archived external links
- {{Cite sports-reference}}, for archived links used as a reference
External links
tahrir