Template:Instagram/doc: Difference between revisions
w>Jonesey95 |
Wendyulmer (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 15:43, 9 March 2023
This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
This template uses the Wikidata property:
Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value).
This template uses Lua: |
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 | account_name }}
{{Instagram | account_name | Displayed Name }}
- Named parameters
{{Instagram | id= account_name }}
{{Instagram | id= account_name | name= Displayed Name }}
Examples
Unnamed parameters
URL:
Usage:
{{Instagram | wikipedia | Wikipedia }}
Output:
Named parameters
URL:
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. Template:Template parameter usage
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 \"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.", "type": "string", "required": false, "default": "Wikidata property P2003" }, "name": { "label": "name", "aliases": ["2"], "description": "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.", "type": "string", "required": false, "default": "Instagram/doc" } }, "paramOrder": [ "id", "name" ]
} </templatedata>
Tracking category
See also
- {{Twitter}}
- {{Pinterest}}
- {{Tumblr}}
- {{Flickr-inline}}
- {{Flickr-inline2}}