Template:CiteSocial: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (+alias) |
||
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''}} ''on'' {{#if:{{{date|}}}|''{{{date}}}''|''an unknown date''}}. {{#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''}} ''on'' {{#if:{{{date|}}}|''{{{date}}}''|''an unknown date''}}. {{#if:{{{quote|}}}|"'''{{{quote}}}'''"|}} {{#if:{{{url|}}}{{{link|}}}|{{{url|{{{link}}}}}}|}} | ||
}}</includeonly> | }}</includeonly> | ||
<noinclude>{{documentation}}</noinclude> | <noinclude>{{documentation}}</noinclude> |
Revision as of 14:53, 29 April 2021
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
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]
- ↑ @VastError on Twitter on Nov 13, 2019. "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]
- ↑ @austinado#2302 on Discord on an unknown date. "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]
- ↑ An unknown author on Tumblr on an unknown date. "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]
- ↑ An unknown author on an unknown platform on an unknown date. "a ghost said this"