Template:CiteSocial: Difference between revisions

From DCRC Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#tag:ref|
<includeonly>{{#tag:ref|
{{#if:{{{whosaid|}}}|''{{{whosaid}}}''|''An unknown author''}} ''on'' {{#if:{{{platform|}}}|{{#switch: {{lc: {{{platform}}}}}|twitter=''Twitter''|tumblr=''Tumblr''|discord=''Discord''|#default = ''an unknown platform''}}|''an unknown platform''}}. {{#if:{{{quote|}}}|"'''{{{quote}}}'''"|}} {{#if: {{{link|}}}|{{{link}}}|}}
{{#if:{{{whosaid|}}}|''{{{whosaid}}}''|''An unknown author''}} ''on'' {{#if:{{{platform|}}}|{{#switch: {{lc: {{{platform}}}}}|twitter=''Twitter''|tumblr=''Tumblr''|discord=''Discord''|#default = ''an unknown platform''}}|''an unknown platform''}}. {{#if:{{{quote|}}}|"'''{{{quote}}}'''"|}} {{#if: {{{link|}}}|{{{link}}}|}}
}}
}}</includeonly>
}}</includeonly>
<noinclude>{{documentation}}</noinclude>
<noinclude>{{documentation}}</noinclude>

Revision as of 14:44, 20 November 2019


Syntax

{{CiteSocial
|whosaid    =    The individual who authored the citation.
|platform   =    The social media platform the citation is from.
|date       =    The date the citation occurred. (MMM DD, YYYY format preferred.)
|quote      =    A quote being cited, if applicable.
|link       =    A link to the cited quote, if applicable.
}}

Notes

  • Keeping whosaid empty will result in the author being listed as An unknown author.
  • Keeping platform empty will result in the platform being listed as An unknown platform.
  • Keeping date empty will result in the date being listed as An unknown date.
  • Keeping quote empty will result in no quoted text being appended to the end of the citation.
  • Keeping link empty will result in no hyperlink being appended to the end of the citation.

Sample Output

Typical Usage

{{CiteSocial|platform=twitter|whosaid=@VastError|date=Nov 13, 2019|quote=i like vast error|link=https://twitter.com/VastError/status/1194829210755457024?s=20}}

Typical citation of a quote said on social media.[1]

  1. @VastError on Twitter. "i like vast error" https://twitter.com/VastError/status/1194829210755457024?s=20


Date and link omitted

{{CiteSocial|whosaid=@austinado#2302|platform=discord|quote=Hillary Duff doesn't like peepee boys}}

Typical citation of a quote said on social media.[1]

  1. @austinado#2302 on Discord. "Hillary Duff doesn't like peepee boys"


Whosaid, date, and link omitted

{{CiteSocial|platform=tumblr|quote=Bold of you to assume you can even cite to Tumblr.}}

Typical citation of a quote said on social media.[1]

  1. An unknown author on Tumblr. "Bold of you to assume you can even cite to Tumblr."


Whosaid, platform, date, and link omitted

{{CiteSocial|quote=a ghost said this}}

Typical citation of a quote said on social media.[1]

  1. An unknown author on an unknown platform. "a ghost said this"