Template:Cite Instagram
{{cite web
| url = {{#ifeq: {{{postid|}}} | {{{postid}}} | https://www.instagram.com/p/{{{postid}}}/ | https://www.instagram.com/ }}
| title = {{#invoke:String|replace|source={{{title|
| script-title = {{{script-title|}}}
| trans-title = {{{trans-title|}}}
| language = {{{language|}}}
| last = {{{last|}}}
| first = {{{first|}}}
| author = {{#if: {{{last|}}}
|
|{{#if: {{{author|}}}
|{{{author}}}
|{{#if: {{{user|}}} |(({{{user|}}}))}}
}}
}}
| author-mask = {{#if: {{{last|}}} |
{{#if: {{{first|}}} |
{{{last}}}, {{{first}}} [@{{{user|}}}]{{#if:{{{user2}}}|;|}} |
{{{last}}} [@{{{user|}}}]{{#if:{{{user2}}}|;|}}
}} |
{{#if: {{{author|}}} |
{{{author}}} [@{{{user|}}}]{{#if:{{{user2}}}|;|}} |
{{#if: {{{author-link2|{{{authorlink2|}}} }}} |
{{{author-link2|{{{authorlink2|}}} }}} [@{{{user|}}}]{{#if:{{{user2}}}|;|}} |
@{{{user|}}}{{#if:{{{user2}}}|;|}}
}}
}}
}}
| author-link = {{{author-link|{{{authorlink|}}} }}}
| last2 = {{{last2|}}}
| first2 = {{{first2|}}}
| author2 = {{#if: {{{last2|}}}
|
|{{#if: {{{author2|}}}
|{{{author2}}}
|{{#if: {{{user2|}}} |(({{{user2|}}}))}}
}}
}}
| author-mask2 = {{#if: {{{last2|}}} |
{{#if: {{{first2|}}} |
{{{last2}}}, {{{first2}}} [@{{{user2|}}}] |
{{{last2}}} [@{{{user2|}}}]
}} |
{{#if: {{{author2|}}} |
{{{author2}}} [@{{{user2|}}}] |
{{#if: {{{author-link2|{{{authorlink2|}}} }}} |
{{{author-link2|{{{authorlink2|}}} }}} [@{{{user2|}}}]|
@{{{user2|}}}
}}
}}
}}
| author-link2 = {{{author-link2|{{{authorlink2|}}} }}}
| date = {{{date|}}}
| via = {{#ifeq:{{{link|}}}|no|Instagram|Instagram}}
| location = {{{location|}}}
| access-date = {{{access-date|{{{accessdate|}}} }}}
| archive-date = {{{archive-date|{{{archivedate|}}} }}}
| archive-url = {{{archive-url|{{{archiveurl|}}} }}}
| url-status = {{{url-status|{{{dead-url|{{{deadurl|}}}}}}}}}
| ref = {{{ref|}}}
| df = {{{df|}}}
}}{{((}}Cite Instagram{{))}}
: Missing or empty |user= (help){{#ifeq: {{{postid|}}}{{{date|}}} | {{{postid}}}{{{date}}}||;}}{{main other|Category:Cite instagram templates with errors}} }}
{{#if:{{{user2|}}}||{{#ifeq:{{#expr:
{{#if:{{{first2|}}}|1|0}} or
{{#if:{{{last2|}}}|1|0}} or
{{#if:{{{author2|}}}|1|0}} or
{{#if:{{{author-link2|{{{authorlink2|}}} }}}|1|0}} }}|1|{{((}}Cite Instagram{{))}}
: Missing or empty |user2= (help){{#ifeq: {{{postid|}}}{{{date|}}} | {{{postid}}}{{{date}}}||;}}{{main other|Category:Cite instagram templates with errors}} }} }} {{#if:{{{postid|}}}||{{((}}Cite Instagram{{))}}
: Missing or empty |postid= (help){{#if:{{{date|}}}||;}}{{main other|Category:Cite instagram templates with errors}} }} {{#if:{{{date|}}}||{{((}}Cite Instagram{{))}}
: Missing or empty |date= (help){{main other|Category:Cite instagram templates with errors}} }}