Template:Cite Instagram/doc#postid
{{Documentation subpage}}
{{Notice |image=Ambox important.svg |heading={{large|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 Wikipedia:Verifiability policy and the Wikipedia:Identifying reliable sources guideline.}}
{{CS1 wrapper |type= |base=Cite web}}
{{Template redirect|Cite instagram}}
{{high-use}}
A template for citing content posted on Instagram.
Usage
{{csdoc|usage}}
{| class="wikitable" style="width: 100%"
|+ Required parameters only, in horizontal format
|- style="vertical-align:top;"
|
:
{{end}}
{{csdoc|usage full}}
:
{{end}}
{{A note}} When known, the author's real name should be specified in the {{para|author}} parameter (or {{para|last}} and {{para|first}}). If their real name is not known, then the post is probably not an acceptable usage of a self-published source.
=postid =
The {{para|postid}} parameter is required to make the link in the citation; this allows the template to update all links to Instagram citations when their URL scheme changes. The {{para|postid}} will be the string of numbers and letters in the url following "p/". For example, if the post URL is
, the template requires
Examples
: {{Cite Instagram |user=instagram |postid=CHDzGgCs568 |date=2 November 2020 |title=Happy Halloween |access-date=9 November 2020}}
Error detection
- The parameters {{para|user}}, {{para|postid}}, {{para|title}}, {{para|date}} are {{red|required}}. If omitted or left blank, errors will be reported. For example:
- :
{{Cite Instagram |title=I'm an incomplete citation!}} - :: {{Cite Instagram |title=I'm an incomplete citation!}}
- The post URL depends on {{para|postid}}; if it is missing, the URL defaults to
https://www.instagram.com/ - Templates are checked for {{para|ref|harv}}, which is an error. The {{para|ref}} parameter must use {{tl|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
{{TemplateData header}}
{
"params": {
"postid": {
"label": "Post ID",
"description": "Alpha-numeric ID of the post",
"type": "line",
"required": true,
"example": "CHDzGgCs568"
},
"user": {
"label": "Username",
"description": "Instagram account name, without the @",
"type": "line",
"required": true,
"example": "instagram"
},
"title": {
"label": "Post",
"description": "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.",
"type": "string",
"required": true,
"example": "Happy Halloween"
},
"date": {
"label": "Date",
"description": "Date of the post; do not wikilink; do not include time.",
"required": true,
"type": "date"
},
"first": {
"label": "First name",
"description": "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)",
"type": "line",
"suggested": true,
"example": "Sammy"
},
"last": {
"label": "Last name",
"description": "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)",
"type": "line",
"suggested": true,
"example": "Smith"
},
"author": {
"label": "Author",
"description": "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)",
"suggested": true,
"example": "Wikimedia Foundation",
"type": "line"
},
"author-link": {
"aliases": [
"authorlink"
],
"label": "Author's article",
"description": "Title of existing Wikipedia article about the author",
"example": "Instagram",
"type": "wiki-page-name"
},
"access-date": {
"aliases": [
"accessdate"
],
"label": "Access date",
"description": "The full date when the post was accessed; do not wikilink",
"type": "date"
},
"language": {
"label": "Language",
"description": "The language in which the post is written, if not in English.",
"example": "fr",
"type": "line"
},
"location": {
"label": "Location",
"description": "The location from which a post was sent.",
"example": "London",
"type": "line"
},
"archive-url": {
"label": "Archive URL",
"aliases": [
"archiveurl"
],
"description": "The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'",
"type": "url"
},
"archive-date": {
"label": "Archive date",
"aliases": [
"archivedate"
],
"description": "Date when the original URL was archived; do not wikilink",
"type": "string"
},
"url-status": {
"label": "URL status",
"description": "If set to 'live', the title displays as the live link; if set to dead, the title displays as the archive link",
"type": "line",
"aliases": [
"dead-url",
"deadurl"
],
"suggestedvalues": [
"dead",
"live",
"deviated",
"unfit",
"usurped"
],
"default": "dead (when Archive URL given)"
},
"script-title": {
"label": "Script post",
"description": "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:東京タワー",
"type": "string"
},
"trans-title": {
"label": "Translated post",
"description": "An English language translation, if the post cited is in a foreign language; use of 'language' parameter is recommended",
"type": "string"
},
"link": {
"label": "Link to Instagram article?",
"description": "Set to \"no\" to not link to the Wikipedia article for Instagram. Useful for preventing overlinking when more than one post is cited.",
"example": "no",
"type": "line",
"suggestedvalues": [
"no"
],
"default": "yes"
},
"df": {
"label": "Date format",
"description": "Valid values: dmy, dmy-all, mdy, mdy-all",
"type": "line",
"suggestedvalues": [
"dmy",
"dmy-all",
"mdy",
"mdy-all"
]
},
"ref": {
"label": "Anchor",
"description": "The citation's HTML anchor identifier, when different from its default. To inhibit anchor ID creation, set to \"none\".",
"type": "line",
"suggestedvalues": [
"none"
]
}
},
"description": "A template for citing content posted on Instagram",
"paramOrder": [
"postid",
"user",
"title",
"first",
"last",
"author",
"author-link",
"date",
"access-date",
"language",
"location",
"archive-url",
"archive-date",
"url-status",
"script-title",
"trans-title",
"link",
"df",
"ref"
],
"format": "{{_ |_=_}}"
}
See also
- WP:INSTAGRAM
- {{tl|Instagram}}
Category:Citation Style 1 specific-source templates
}}