Jump to content

From Noumenapedia

Template:Instagram/doc

__EXPECTED_UNCONNECTED_PAGE__

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

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

Unnamed parameters

URL
https://www.instagram.com/wikipedia/
Usage
* {{Instagram | wikipedia | Wikipedia }}
Output

Named parameters

URL
https://www.instagram.com/kevin/
Usage
* {{Instagram | id= kevin | name= Kevin Systrom }}
Output

No parameters and Wikidata property not defined

Usage
* {{Instagram}}
Output
  • Instagram/doc on InstagramLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).

TemplateData

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

<templatedata> {

 "description": "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.",
 "params": {
   "id": {
     "label": "ID",
     "aliases": ["1"], 
     "description": "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.",
     "default": "Wikidata property P2003",
     "example": "kevin",
     "type": "string",
     "required": false
   },
   "name": {
     "label": "Name",
     "aliases": ["2"], 
     "description": "The name displayed as the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.",
     "default": "Instagram/doc",
     "example": "Kevin Systrom",
     "type": "string",
     "required": false
   }
 },
 "paramOrder": [
   "id",
   "name"
 ]

} </templatedata>

Tracking categories

See also