Difference between revisions of "Template:Cite Instagram"

Jump to navigation Jump to search
552 bytes added ,  17:13, 9 October 2020
Change to be standalone rather than cite web derivation.
(Created page with "<includeonly>{{cite web |url=https://www.instagram.com/p/{{{postid}}} |title={{#if:{{{text|}}} | “{{{text}}}” | Instagram post. }} |author={{#if: {{{author|}}} | {{{auth...")
 
(Change to be standalone rather than cite web derivation.)
 
Line 1: Line 1:
<includeonly>{{cite web
+
<includeonly>{{
|url=https://www.instagram.com/p/{{{postid}}}
+
#if: {{{user|}}}{{{postid|}}}  
|title={{#if:{{{text|}}} | {{{text}}}| Instagram post. }}
+
  | {{#if:  
|author={{#if: {{{author|}}}
+
    {{#if: {{{user|}}}
 +
      | {{#if: {{{postid|}}} | 1 }}
 +
    }}
 +
    |
 +
    |You must specify the <code>user</code> and <code>postid</code> parameters when using {{[[Template:cite Instagram|cite Instagram]]}}. {{#if: {{NAMESPACE}}
 +
      |
 +
      | [[Category:Articles with broken citations]]
 +
    }}
 +
  }}
 +
}}{{
 +
#if: {{{author|}}}
 
   | {{{author}}} [@{{{user}}}].
 
   | {{{author}}} [@{{{user}}}].
 
   | @{{{user}}}.
 
   | @{{{user}}}.
}}
+
}}{{
|date={{{date|}}}
+
#if: {{{text|}}}
|accessdate={{{accessdate|}}}
+
  | &#32;[https://www.instagram.com/p/{{{postid}}} “{{{text}}}”] (via Instagram).
 +
  | &#32;[https://www.instagram.com/p/{{{postid}}} Instagram post.]
 +
}}{{
 +
#if: {{{date|}}}
 +
  | &#32;Posted on {{#time:F j, Y | {{{date}}} }}.
 +
}}{{
 +
#if: {{{accessdate|}}}
 +
  | &#32;Retrieved on {{#time:F j, Y | {{{accessdate}}} }}.
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
{{Documentation}}</noinclude>
+
{{Documentation}}
 +
[[Category:Citation templates|Instagram]]
 +
</noinclude>

Navigation menu