टेम्पलेट:Instagram

विकिपीडिया से

{{{name}}} इंस्टाग्राम पर

टेम्पलेट: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 | account_name }}
{{Instagram | account_name | Displayed Name }}
Named parameters
{{Instagram | id= account_name }}
{{Instagram | id= account_name | name= Displayed Name }}
Using Wikidata property Instagram username (P2003)
{{Instagram}}
{{Instagram | name= Displayed Name }}

Examples[संपादन करीं]

Unnamed parameters[संपादन करीं]

URL:

https://www.instagram.com/wikipedia/

Usage:

{{Instagram | wikipedia | Wikipedia }}

Output:

Wikipedia इंस्टाग्राम पर

Named parameters[संपादन करीं]

URL:

https://www.instagram.com/kevin/

Usage:

{{Instagram | id= kevin | name= Kevin Systrom }}

Output:

Kevin Systrom इंस्टाग्राम पर

No parameters and Wikidata property not defined[संपादन करीं]

Usage:

{{Instagram}}

Output:

{{Instagram}} template missing ID and not present in Wikidata.

TemplateData[संपादन करीं]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
idid 1

The "id" parameter (or unnamed parameter "1") should contain the account name in the URL. Example: kevin is the account name in https://www.instagram.com/kevin/. This parameter is optional if Wikidata property P2003 exists, but required if not.

Default
Wikidata property P2003
Stringoptional
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 any disambiguation.

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking category[संपादन करीं]

See also[संपादन करीं]