Template:Instagram/sandbox
Appearance
This is the template sandbox page for Template:Instagram (diff). See also the companion subpage for test cases. |
The external links guideline recommends avoiding links to Instagram unless the profile is an official account, "controlled by the subject (organization or individual person) of the Wikipedia article" and when the links to Instagram "provide the reader with unique content and are not prominently linked from other official websites". Wikipedia is not a directory for helping Instagram users find pages on Instagram. |
This template uses the Wikidata property:
This template uses Lua: |
This template is used on approximately 13,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Template:Instagram displays an external link to a page at Instagram, a photo sharing and social media website. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{Instagram | username }}
{{Instagram | username | Displayed Name }}
- Named parameters
{{Instagram | id= username }}
{{Instagram | id= username | name= Displayed Name }}
- Using Wikidata property
{{Instagram}}
{{Instagram | name= Displayed Name }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{Instagram | wikipedia | Wikipedia }}
Named parameters
[edit]- Usage
* {{Instagram | id= kevin | name= Kevin Systrom }}
- Output
No parameters and Wikidata property not defined
[edit]- Usage
* {{Instagram}}
- Output
-
- {{Instagram}} template missing ID and not present in Wikidata.
TemplateData
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Instagram in articles based on its TemplateData.
TemplateData for Instagram
This template displays an external link to a page at Instagram, a photo sharing and social media website. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The username in the Instagram URL, such as kevin in https://www.instagram.com/kevin/. This parameter is optional if Wikidata property P2003 exists, but required if not.
| String | optional |
Name | name 2 | The name displayed as the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.
| String | optional |
Tracking categories
[edit]- Category:Instagram username different from Wikidata (493) – comparison is case insensitive, so kevin matches Kevin
- Category:Instagram username not in Wikidata (364)
- Category:Instagram template missing ID and not in Wikidata (0)
- Category:Pages using Instagram with unknown parameters (0)
See also
[edit]- {{Cite Instagram}}
- {{Facebook}}
- {{Pinterest}}
- {{Tumblr}}
- {{Twitter}}
- {{Flickr-inline}}
- {{Flickr-inline2}}