Template:Cite Instagram/doc

From MOASSpedia
< Template:Cite Instagram
Revision as of 22:46, 19 February 2022 by Wikipedia>Some Dude From North Carolina (Some Dude From North Carolina moved page Template:Cite instagram/doc to Template:Cite Instagram/doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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=}}

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. {{cite web}}: |author= has generic name (help)

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 web}}: CS1 maint: numeric names: authors list (link) Missing or empty |user= (help); Missing or empty |postid= (help); 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. Click here to see a monthly parameter usage report for this template based on this 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 [[WP:SPS]])

Unknownsuggested
author's articleauthor-link authorlink

Title of existing Wikipedia 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 Wikipedia 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

  1. {{Cite Instagram}}

See also

  1. WP:INSTAGRAM