Template:CiteSocial: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
EddieDraws (talk | contribs) No edit summary |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{#if:{{{author|}}}{{{whosaid|}}}|''{{{author|{{{whosaid}}}}}}''|''An unknown author''}} ''on'' {{#if:{{{platform|}}}{{{1|}}}|{{#switch:{{lc:{{{platform|{{{1}}}}}}}}|twitter=''Twitter''|tumblr=''Tumblr''|retrospring=''Retrospring''|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> | ||
{{ | <noinclude> | ||
}}</includeonly> | {{documentation}} | ||
<noinclude>{{documentation}}</noinclude> | </noinclude> |
Latest revision as of 18:01, 19 April 2024
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.@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.@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.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.An unknown author on an unknown platform on an unknown date."a ghost said this"