Template:Citesocial
{{ #ifexist: Template:Citesocial/doc |
Description
[edit]This citation template allows you to cite social media posts.
Usage
[edit]Parameters
[edit]This template has nine parameters:
- quote=The text of the comment
- link=The URL of the comment.
- name=The name/username of the person that made the comment.
- site=The name of the website on which the comment was made.
- title=The title of the post, episode, article, or other work in which the comment appears.
- year=The year the comment was made. Dates are given in YYYY/MM/DD format.
- month=The two digit numeric value of the month (i.e. 01 for January, 02 for February, etc.) the comment was made.
- day=The two digit day the comment was made.
- defunct=A flag which can be set to mark the link as being dead, without any archive available.
If the link points to a Wayback Machine backup on Archive.org or an Archive.is backup, an "(archive link)" marker will be automatically appended.
Not all of these parameters must be present for the template to function, but it is strongly recommended to give every piece of information that applies.
Code
[edit]{{citesocial|quote=|link=|name=|site=|title=|year=|month=|day=|(defunct=)}}
Examples
[edit]Code
[edit]{{citesocial|quote=Hey, look at me! I'm waving! No, I don't transform into a USB drive. Why do peeps keep asking, lol?|link=https://twitter.com/ravagekitteh/status/5723818650|name=Ravage|site=Yatter|year=2009|month=11|day=15}}
Result
[edit]{{#if: Hey, look at me! I'm waving! No, I don't transform into a USB drive. Why do peeps keep asking, lol? |"Hey, look at me! I'm waving! No, I don't transform into a USB drive. Why do peeps keep asking, lol?"—|}}{{#if: https://twitter.com/ravagekitteh/status/5723818650 |Ravage|Ravage}}{{#if: Yatter |, Yatter|}}{{#if: |, ""|}}{{#if: 2009 |, 2009{{#if: 11 |/{{#switch:{{#len:11}}|1=011|11}}{{#if: 15|/{{#switch:{{#len:15}}|1=015|15}}|}}}}|}}{{#if: https://twitter.com/ravagekitteh/status/5723818650 ||}}{{#switch:{{#sub:https://twitter.com/ravagekitteh/status/5723818650%7C7%7C11}}%7Cweb.archive= (archive link)|}}{{#switch:{{#sub:https://twitter.com/ravagekitteh/status/5723818650%7C8%7C11}}%7Cweb.archive= (archive link)|}}{{#switch:{{#sub:https://twitter.com/ravagekitteh/status/5723818650%7C7%7C10}}%7Carchive.is= (archive link)|}}{{#switch:{{#sub:https://twitter.com/ravagekitteh/status/5723818650%7C8%7C10}}%7Carchive.is= (archive link)|}}{{#if: | (dead link)}}
Code
[edit]{{citesocial|name=Rung|site=the ''Lost Light''|year=2018|month=09|day=26|defunct=yes}}
Result
[edit]{{#if: |""—|}}{{#if: |[ Rung|Rung}}{{#if: the Lost Light |, the Lost Light|}}{{#if: |, ""|}}{{#if: 2018 |, 2018{{#if: 09 |/{{#switch:{{#len:09}}|1=009|09}}{{#if: 26|/{{#switch:{{#len:26}}|1=026|26}}|}}}}|}}{{#if: |]|}}{{#switch:{{#sub:|7|11}}|web.archive= (archive link)|}}{{#switch:{{#sub:|8|11}}|web.archive= (archive link)|}}{{#switch:{{#sub:|7|10}}|archive.is= (archive link)|}}{{#switch:{{#sub:|8|10}}|archive.is= (archive link)|}}{{#if: yes | (dead link)}}
Code
[edit]{{citesocial|quote=There never was a Dinobot combiner, so we didn't think of re-inventing it.|link=http://web.archive.org/web/20090820093433/http://www.actionfigs.com/index.php?categoryid=21&p2_articleid=2471|name=Hasbro|year=2008|month=10|day=13th}}
Result
[edit]{{#if: There never was a Dinobot combiner, so we didn't think of re-inventing it. |"There never was a Dinobot combiner, so we didn't think of re-inventing it."—|}}{{#if: http://web.archive.org/web/20090820093433/http://www.actionfigs.com/index.php?categoryid=21&p2_articleid=2471 |Hasbro|Hasbro}}{{#if: |, |}}{{#if: |, ""|}}{{#if: 2008 |, 2008{{#if: 10 |/{{#switch:{{#len:10}}|1=010|10}}{{#if: 13|/{{#switch:{{#len:13}}|1=013|13}}|}}}}|}}{{#if: http://web.archive.org/web/20090820093433/http://www.actionfigs.com/index.php?categoryid=21&p2_articleid=2471 ||}}{{#switch:{{#sub:http://web.archive.org/web/20090820093433/http://www.actionfigs.com/index.php?categoryid=21&p2_articleid=2471%7C7%7C11}}%7Cweb.archive= (archive link)|}}{{#switch:{{#sub:http://web.archive.org/web/20090820093433/http://www.actionfigs.com/index.php?categoryid=21&p2_articleid=2471%7C8%7C11}}%7Cweb.archive= (archive link)|}}{{#switch:{{#sub:http://web.archive.org/web/20090820093433/http://www.actionfigs.com/index.php?categoryid=21&p2_articleid=2471%7C7%7C10}}%7Carchive.is= (archive link)|}}{{#switch:{{#sub:http://web.archive.org/web/20090820093433/http://www.actionfigs.com/index.php?categoryid=21&p2_articleid=2471%7C8%7C10}}%7Carchive.is= (archive link)|}}{{#if: | (dead link)}}
|
{{#if:|
Description
[edit]This citation template allows you to cite social media posts.
Usage
[edit]Parameters
[edit]This template has nine parameters:
- quote=The text of the comment
- link=The URL of the comment.
- name=The name/username of the person that made the comment.
- site=The name of the website on which the comment was made.
- title=The title of the post, episode, article, or other work in which the comment appears.
- year=The year the comment was made. Dates are given in YYYY/MM/DD format.
- month=The two digit numeric value of the month (i.e. 01 for January, 02 for February, etc.) the comment was made.
- day=The two digit day the comment was made.
- defunct=A flag which can be set to mark the link as being dead, without any archive available.
If the link points to a Wayback Machine backup on Archive.org or an Archive.is backup, an "(archive link)" marker will be automatically appended.
Not all of these parameters must be present for the template to function, but it is strongly recommended to give every piece of information that applies.
Code
[edit]{{citesocial|quote=|link=|name=|site=|title=|year=|month=|day=|(defunct=)}}
Examples
[edit]Code
[edit]{{citesocial|quote=Hey, look at me! I'm waving! No, I don't transform into a USB drive. Why do peeps keep asking, lol?|link=https://twitter.com/ravagekitteh/status/5723818650|name=Ravage|site=Yatter|year=2009|month=11|day=15}}
Result
[edit]{{#if: Hey, look at me! I'm waving! No, I don't transform into a USB drive. Why do peeps keep asking, lol? |"Hey, look at me! I'm waving! No, I don't transform into a USB drive. Why do peeps keep asking, lol?"—|}}{{#if: https://twitter.com/ravagekitteh/status/5723818650 |Ravage|Ravage}}{{#if: Yatter |, Yatter|}}{{#if: |, ""|}}{{#if: 2009 |, 2009{{#if: 11 |/{{#switch:{{#len:11}}|1=011|11}}{{#if: 15|/{{#switch:{{#len:15}}|1=015|15}}|}}}}|}}{{#if: https://twitter.com/ravagekitteh/status/5723818650 ||}}{{#switch:{{#sub:https://twitter.com/ravagekitteh/status/5723818650%7C7%7C11}}%7Cweb.archive= (archive link)|}}{{#switch:{{#sub:https://twitter.com/ravagekitteh/status/5723818650%7C8%7C11}}%7Cweb.archive= (archive link)|}}{{#switch:{{#sub:https://twitter.com/ravagekitteh/status/5723818650%7C7%7C10}}%7Carchive.is= (archive link)|}}{{#switch:{{#sub:https://twitter.com/ravagekitteh/status/5723818650%7C8%7C10}}%7Carchive.is= (archive link)|}}{{#if: | (dead link)}}
Code
[edit]{{citesocial|name=Rung|site=the ''Lost Light''|year=2018|month=09|day=26|defunct=yes}}
Result
[edit]{{#if: |""—|}}{{#if: |[ Rung|Rung}}{{#if: the Lost Light |, the Lost Light|}}{{#if: |, ""|}}{{#if: 2018 |, 2018{{#if: 09 |/{{#switch:{{#len:09}}|1=009|09}}{{#if: 26|/{{#switch:{{#len:26}}|1=026|26}}|}}}}|}}{{#if: |]|}}{{#switch:{{#sub:|7|11}}|web.archive= (archive link)|}}{{#switch:{{#sub:|8|11}}|web.archive= (archive link)|}}{{#switch:{{#sub:|7|10}}|archive.is= (archive link)|}}{{#switch:{{#sub:|8|10}}|archive.is= (archive link)|}}{{#if: yes | (dead link)}}
Code
[edit]{{citesocial|quote=There never was a Dinobot combiner, so we didn't think of re-inventing it.|link=http://web.archive.org/web/20090820093433/http://www.actionfigs.com/index.php?categoryid=21&p2_articleid=2471|name=Hasbro|year=2008|month=10|day=13th}}
Result
[edit]{{#if: There never was a Dinobot combiner, so we didn't think of re-inventing it. |"There never was a Dinobot combiner, so we didn't think of re-inventing it."—|}}{{#if: http://web.archive.org/web/20090820093433/http://www.actionfigs.com/index.php?categoryid=21&p2_articleid=2471 |Hasbro|Hasbro}}{{#if: |, |}}{{#if: |, ""|}}{{#if: 2008 |, 2008{{#if: 10 |/{{#switch:{{#len:10}}|1=010|10}}{{#if: 13|/{{#switch:{{#len:13}}|1=013|13}}|}}}}|}}{{#if: http://web.archive.org/web/20090820093433/http://www.actionfigs.com/index.php?categoryid=21&p2_articleid=2471 ||}}{{#switch:{{#sub:http://web.archive.org/web/20090820093433/http://www.actionfigs.com/index.php?categoryid=21&p2_articleid=2471%7C7%7C11}}%7Cweb.archive= (archive link)|}}{{#switch:{{#sub:http://web.archive.org/web/20090820093433/http://www.actionfigs.com/index.php?categoryid=21&p2_articleid=2471%7C8%7C11}}%7Cweb.archive= (archive link)|}}{{#switch:{{#sub:http://web.archive.org/web/20090820093433/http://www.actionfigs.com/index.php?categoryid=21&p2_articleid=2471%7C7%7C10}}%7Carchive.is= (archive link)|}}{{#switch:{{#sub:http://web.archive.org/web/20090820093433/http://www.actionfigs.com/index.php?categoryid=21&p2_articleid=2471%7C8%7C10}}%7Carchive.is= (archive link)|}}{{#if: | (dead link)}}
|}}}}