Template:Snapchat link/doc
This is a documentation subpage for Template:Snapchat link. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:Snapchat link displays an external link to a page at Snapchat, a multimedia instant messaging app. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{Snapchat link | account_name }}
{{Snapchat link | account_name | Displayed Name }}
- Named parameters
{{Snapchat link | id= account_name }}
{{Snapchat link | id= account_name | name= Displayed Name }}
Examples
[edit]Unnamed parameters
[edit]URL:
Usage:
{{Snapchat link | wikipedia | Wikipedia }}
Output:
Named parameters
[edit]URL:
Usage:
{{Snapchat link | id= soykeniaos | name= KeniaOs }}
Output:
No parameters and Wikidata property not defined
[edit]Usage:
{{Snapchat link}}
Output:
- {{Template:Snapchat link}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for Snapchat link
This template displays an external link to a page at Snapchat, a messaging app. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the account name in the URL. Example: evan is the account name in https://www.snapchat.com/add/evan/. This parameter is optional if Wikidata property P2984 exists, but required if not.
| String | optional |
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 any disambiguation.
| String | optional |
Tracking category
[edit]- Category:Snapchat link template missing ID (0)
- Category:Pages using Snapchat link template with unknown parameters (0)
See also
[edit]