Misplaced Pages

Template:Cite Instagram/doc

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Template:Cite Instagram

This is an old revision of this page, as edited by Zyxw (talk | contribs) at 19:54, 30 July 2023 (add link). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 19:54, 30 July 2023 by Zyxw (talk | contribs) (add link)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:Cite Instagram.
It may contain usage information, categories and other content that is not part of the original template page.
Instagram posts are usually unacceptable as sources. Instagram posts and other self-published material may be acceptable if the conditions specified at WP:SPS, WP:SOCIALMEDIA, or WP:INSTAGRAM are met. For further information, see the Misplaced Pages:Verifiability policy and the Misplaced Pages:Identifying reliable sources guideline.
WarningThis template is used on approximately 3,900 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.
This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1.

A template for citing content posted on Instagram.

Usage

Copy a blank version to use. Almost all parameter names are supported only in lower case (some initialisms, such as |isbn= have upper-case aliases like |ISBN=, which are acceptable for use). Use the "|" (pipe) character between each parameter. Unused parameters may be deleted to avoid clutter in the edit window. Some samples on this documentation page may include the current date. If the date is not current, then purge the page.

Required parameters only, in horizontal format
{{Cite instagram |user= |postid= |title= |date=}}
Full parameter set in horizontal format
{{Cite instagram |author= (or |last= and |first=) |author-link= |user= |postid= |date= |title= |script-title= |trans-title= |language= |location= |access-date= |link= |url-status= |archive-url= |archive-date= |ref=}}

information Note: When known, the author's real name should be specified in the |author= parameter (or |last= and |first=). If their real name is not known, then the post is probably not an acceptable usage of a self-published source.

Examples

{{Cite instagram |user=instagram |postid=CHDzGgCs568 |date=2 November 2020 |title=Happy Halloween |access-date=9 November 2020}}

@instagram (2 November 2020). "Happy Halloween". Retrieved 9 November 2020 – via Instagram.

Error detection

  • The parameters |user=, |postid=, |title=, |date= are required. If omitted or left blank, errors will be reported. For example:
    {{Cite instagram |title=I'm an incomplete citation!}}
    "I'm an incomplete citation!" – via Instagram. {{Cite Instagram}}: Missing or empty |user= (help); {{Cite Instagram}}: Missing or empty |postid= (help); {{Cite Instagram}}: Missing or empty |date= (help)
  • The post URL depends on |postid=; if it is missing, the URL defaults to https://www.instagram.com/
  • Templates are checked for |ref=harv, which is an error. The |ref= parameter must use {{harvid}} in the value.
  • The template also checks for parameters that are unsupported (e.g. misspellings of parameter names).
  • Errors are tracked in Category:Cite instagram templates with errors

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Cite Instagram in articles based on its TemplateData.

TemplateData for Cite Instagram

A template for citing content posted on Instagram

Template parameters

ParameterDescriptionTypeStatus
postidpostid

Alpha-numeric ID of the post

Stringrequired
usernameuser

Instagram account name, without the @

Stringrequired
posttitle

Partial or entire content of the post, optionally including hashtags (#), at signs (@), and links. Note: double quote marks (") should be replaced with single quote marks (') because the entire title will display surrounded by double quotes.

Stringrequired
datedate

date of the post; do not wikilink; do not include time.

Unknownrequired
authorauthor

Author's real name, if known. If not known, then the post is probably not an acceptable usage of a self-published source (see ])

Unknownsuggested
author's articleauthor-link authorlink

Title of existing Misplaced Pages article about the author

Unknownoptional
access dateaccess-date accessdate

The full date when the post was accessed; do not wikilink

Unknownoptional
languagelanguage

The language in which the post is written, if not in English.

Example
fr
Stringoptional
locationlocation

The location from which a post was sent.

Example
London
Stringoptional
archive URLarchive-url archiveurl

The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'

Stringoptional
archive datearchive-date archivedate

Date when the original URL was archived; do not wikilink

Stringoptional
URL statusurl-status

If set to 'live', the title displays as the live link; if set to dead, the title displays as the archive link

Stringoptional
script postscript-title

For post in languages that do not use a Latin-based alphabet (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, Vietnamese, etc). Prefix with two-character ISO639-1 language code followed by a colon, e.g. for Japanese use: ja:...

Example
ja:東京タワー
Unknownoptional
translated posttrans-title

An English language translation, if the post cited is in a foreign language; use of 'language' parameter is recommended

Unknownoptional
Link to Instagram article?link

Set to "no" to not link to the Misplaced Pages article for Instagram. Useful for preventing overlinking when more than one tweet is cited.

Unknownoptional
Date formatdf

Valid values: dmy, dmy-all, mdy, mdy-all

Unknownoptional

Redirects

See also