Bản mẫu:Telegram
{{{name}}} trên Telegram
Bản mẫu này sử dụng thuộc tính Wikidata: |
Bản mẫu này theo dõi thuộc tính: Wikidata |
Bản mẫu này sử dụng Lua: |
Cách sử dụng sửa
1 tham số:
{{Telegram | ID }}
{{Telegram | id= ID }}
2 tham số:
{{Telegram | ID | NAME }}
{{Telegram | id= ID | name= NAME }}
Sử dụng thuộc tính P3789 của Wikidata:
{{Telegram}}
{{Telegram | name= NAME }}
Ví dụ sửa
1 tham số sửa
URL:
https://t.me/Telegram
Usage:
{{Telegram | Telegram }}
{{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.
2 tham số sửa
URL:
https://t.me/AcadiaU
Usage:
{{Telegram | AcadiaU | Acadia University }}
{{Telegram | id= AcadiaU | name= Acadia University }}
Output:
- Acadia University trên Telegram
- Acadia University trên Telegram
Không tham số sửa
Usage:
{{Telegram}}
Output:
- {{Bản mẫu Telegram}} thiếu ID và không có ở Wikidata.
TemplateData sửa
Dữ liệu bản mẫu cho Telegram
This template generates an external link to an account at Telegram.
Tham số | Miêu tả | Kiểu | Trạng thái | |
---|---|---|---|---|
id | id 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.
| Chuỗi dài | tùy chọn |
name | name 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.
| Chuỗi dài | tùy chọn |
Thể loại theo dõi sửa
- template with ID
- Thể loại:Telegram username không có ở Wikidata (0)
- Thể loại:Telegram username khác với Wikidata (0)
- Thể loại:Telegram username giống như Wikidata (1)
- template missing ID
Xem thêm sửa
- {{Pinterest}}
- {{Tumblr}}
- {{flickr-inline}}
- {{flickr-inline2}}
- {{Instagram}}
- {{Twitter}}
- Wikipedia:SOCIALMEDIA