Jump to content

Template:Cite Instagram/doc

From Wikipedia, the free encyclopedia

A template for citing content posted on Instagram.

Usage

[edit]

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

[edit]

{{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

[edit]
  • 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

[edit]
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

This template has custom formatting.

ParameterDescriptionTypeStatus
Post IDpostid

Alpha-numeric ID of the post

Example
CHDzGgCs568
Linerequired
Usernameuser

Instagram account name, without the @

Example
instagram
Linerequired
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.

Example
Happy Halloween
Stringrequired
First namefirst

The first name of the author. If not known, then the post is probably not an acceptable usage of a self-published source (see WP:SPS)

Example
Sammy
Linesuggested
Last namelast

The last name of the author. If not known, then the post is probably not an acceptable usage of a self-published source (see WP:SPS)

Example
Smith
Linesuggested
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)

Example
Wikimedia Foundation
Linesuggested
Author's articleauthor-link authorlink

Title of existing Wikipedia article about the author

Example
Instagram
Page nameoptional
Datedate

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

Daterequired
Access dateaccess-date accessdate

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

Dateoptional
Languagelanguage

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

Example
fr
Lineoptional
Locationlocation

The location from which a post was sent.

Example
London
Lineoptional
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'

URLoptional
Archive datearchive-date archivedate

Date when the original URL was archived; do not wikilink

Stringoptional
URL statusurl-status dead-url deadurl

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

Suggested values
dead live deviated unfit usurped
Default
dead (when Archive URL given)
Lineoptional
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:東京タワー
Stringoptional
Translated posttrans-title

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

Stringoptional
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 post is cited.

Suggested values
no
Default
yes
Example
no
Lineoptional
Date formatdf

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

Suggested values
dmy dmy-all mdy mdy-all
Lineoptional
Anchorref

The citation's HTML anchor identifier, when different from its default. To inhibit anchor ID creation, set to "none".

Suggested values
none
Lineoptional

See also

[edit]