الگو:تلگرام/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد

This template generates an external link to an account at تلگرام.

Multiple hoax and "fan" accounts have been discovered; please make a particular effort to verify the authenticity of any official links. Legitimate Telegram and ccounts are usually named in ویکی‌پدیا:منابع معتبر, such as newspaper stories, about the subject, or linked by other subject-controlled sources.

Usage[ویرایش]

One parameter:

{{تلگرام | ID }}
{{تلگرام | id= ID }}

Two parameters:

{{تلگرام | ID | NAME }}
{{تلگرام | id= ID | name= NAME }}

Using ویکی‌داده property P3789:

{{تلگرام}}
{{تلگرام | name= NAME }}

Examples[ویرایش]

One parameter[ویرایش]

This parameter will be the ID string used in the نشانی وب at Telegram. When one parameter is used, the انکر تکست (متن لینک) is the title of the Wikipedia article where the template is used.

URL:

https://t.me/Telegram

Usage:

{{تلگرام | Telegram }}
{{تلگرام | id= Telegram }}

Output:

تلگرام/توضیحات در تلگرام
تلگرام/توضیحات در تلگرام

Since "Telegram" is the name of the Wikipedia page you now are looking at, the link above appears as "Telegram on Telegram" on this Wikipedia page. The lead name will change according to the name of the Wikipedia page.

Two parameters[ویرایش]

The first parameter will be the ID string used in the نشانی وب at Telegram. The second parameter will be used as the انکر تکست (متن لینک).

URL:

https://t.me/AcadiaU

Usage:

{{تلگرام | AcadiaU | Acadia University }}
{{تلگرام | id= AcadiaU | name= Acadia University }}

Output:

Acadia University در تلگرام
Acadia University در تلگرام

No parameters[ویرایش]

When used without an "id" parameter, this template will call data from ویکی‌داده, if available. If none is available, the category Category:Telegram template missing ID will be applied and an error message will be displayed.

Usage:

{{تلگرام}}

Output:

{{الگو:تلگرام}} template missing ID and not present in Wikidata.

TemplateData[ویرایش]

این، توضیحاتِ الگوداده است که توسط TemplateWizard، ویرایشگر دیداری و دیگر ابزارها استفاده می‌شود. گزارش خطای ماهیانه برای این الگو را ببینید.

الگوداده تلگرام

This template generates an external link to an account at Telegram.

پارامترهای الگو

پارامترتوضیحاتنوعوضعیت
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: AcadiaU is the ID portion of https://t.me/AcadiaU. This parameter is optional if Wikidata property P3789 exists, but required if not.

پیش‌فرض
Wikidata property P3789
رشتهاختیاری
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the link text. This parameter is optional; it defaults to the Wikipedia article name, without disambiguation.

پیش‌فرض
{{PAGENAMEBASE}}
رشتهاختیاری

Tracking categories[ویرایش]

"id" parameter exists
"id" parameter does not exist

See also[ویرایش]