الگو:UIPM
{{{name}}} در اتحادیه جهانی پنجگانه مدرن
این الگو از لوآ استفاده میکند: |
الگو:UIPM displays an external link to a پنجگانه مدرن athlete's profile at UIPMworld.org, the official website of the اتحادیه جهانی پنجگانه مدرن (UIPM: Union Internationale de Pentathlon Moderne). It is intended for use in the ویکیپدیا:پیوند به بیرون section of an article.
کاربرد
ویرایشUnnamed parameters:
{{UIPM | ID }}
{{UIPM | ID | NAME }}
Named parameters:
{{UIPM | id= ID }}
{{UIPM | id= ID | name= NAME }}
{{UIPM | id= ID | archive= NUMBER }}
{{UIPM | id= ID | name= NAME | archive= NUMBER }}
Using ویکیداده property P2726:
{{UIPM}}
{{UIPM | name= NAME }}
{{UIPM | archive= NUMBER }}
{{UIPM | name= NAME | archive= NUMBER }}
Examples
ویرایشUnnamed parameters
ویرایشURL:
Usage:
{{UIPM | laura-asadauskaite | Laura Asadauskaitė }}
Output:
Named parameters
ویرایشURL:
Usage:
{{UIPM |id= david-svoboda |name= David Svoboda }}
{{UIPM |id= david-svoboda |name= David Svoboda |archive= 20161030030009 }}
Output:
No parameters and Wikidata property not defined
ویرایشUsage:
{{UIPM}}
Output:
- {{UIPM}} template missing ID and not present in Wikidata.
TemplateData
ویرایشالگوداده UIPM
This template displays an external link to a modern pentathlon athlete's profile at UIPMworld.org, the official website of the International Modern Pentathlon Union (UIPM: Union Internationale de Pentathlon Moderne). It is intended for use in the external links section of an article.
پارامتر | توضیحات | نوع | وضعیت | |
---|---|---|---|---|
id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: laura-asadauskaite is the ID portion of http://www.uipmworld.org/athlete/laura-asadauskaite. This parameter is optional if Wikidata property P2726 exists, but required if not.
| رشته | اختیاری |
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 "(pentathlete)".
| رشته | اختیاری |
archive | archive | The "archive" parameter may be used to specify a number indicating the date and time of an archive at the Internet Archive website. Example: 20161030030009 is the "archive" number in https://web.archive.org/web/20161030030009/http://www.uipmworld.org/athlete/david-svoboda, which is an archive of http://www.uipmworld.org/athlete/david-svoboda created on 2016-10-30 at 03:00:09. | شماره | اختیاری |
ردههای ردیابی
ویرایش- رده:UIPM template with ID different from Wikidata (۰)
- رده:UIPM template with ID not in Wikidata (۰)
- رده:UIPM template missing ID and not in Wikidata (۰)
- رده:UIPM template with archive (۰)