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
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
First namefirst

The first name of the author.

Stringsuggested
Last namelast

The last name of the author.

Stringsuggested
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
datedate

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

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

Unknownoptional
Date formatdf

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

Unknownoptional

See also

[edit]