Difference between revisions of "Template:Tweet ref"

From The Coppermind
Jump to navigation Jump to search
m (+cite link)
m (Text replacement - "Category: Sources [[" to "[[")
 
(5 intermediate revisions by 2 users not shown)
Line 11: Line 11:
 
-->}}<!--
 
-->}}<!--
   
-->{{{pre|}}}<!--
+
-->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!--
   
 
-->[https://twitter.com/{{{user|BrandSanderson}}}/{{{url|status/{{{1}}}|}}} {{{text|{{{2|}}}|}}}]<!--
 
-->[https://twitter.com/{{{user|BrandSanderson}}}/{{{url|status/{{{1}}}|}}} {{{text|{{{2|}}}|}}}]<!--
   
-->{{{post|}}}<!--
+
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--
   
--><br><small> &mdash; Twitter - {{{date}}}<sup>[[Cite: Twitter/{{{user|BrandSanderson}}}/{{{1}}}|#]]</sup></small><!--
+
--><br><small> &mdash; Twitter - {{{date}}}</small><!--
  +
  +
-->{{tracking link|Cite: Twitter/{{{user|BrandSanderson}}}/{{{1}}}|}}<!--
   
 
NAME
 
NAME
Line 30: Line 32:
 
This template is used to refer to posts on [https://twitter.com/ Twitter].
 
This template is used to refer to posts on [https://twitter.com/ Twitter].
   
To use, include {{t|tweet ref|tweet-id|description}}
+
To use, include {{t|tweet ref|tweet-id|description|date}}
 
* {{{url}}} replaces the URL
 
* {{{url}}} replaces the URL
 
* {{{text}}} replaces the text
 
* {{{text}}} replaces the text
Line 38: Line 40:
 
* {{{name}}} replaces {{{text}}} or {{{2}}} as the reference name
 
* {{{name}}} replaces {{{text}}} or {{{2}}} as the reference name
 
* {{{group}}} sets the reference group
 
* {{{group}}} sets the reference group
  +
[[Category: Sources]]
 
  +
For example:
  +
<pre> {{tweet ref|1295741147877441539|text=Michael Whelan commenting on The Way of Kings cover art|date=2020-08-18}}</pre>
  +
produces:{{tweet ref|1295741147877441539|text=Michael Whelan commenting on The Way of Kings cover art|date=2020-08-18}}
  +
<references/>
  +
 
[[Category: Reference templates]]
 
[[Category: Reference templates]]
  +
  +
== Articles using Template ==
  +
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}

Latest revision as of 05:42, 22 May 2022

This template is used to refer to posts on Twitter.

To use, include {{tweet ref|tweet-id|description|date}}

  • {{{url}}} replaces the URL
  • {{{text}}} replaces the text
  • {{{date}}} is the facts publication date (yyyy-mm-dd)
  • {{{pre}}} is included before the link
  • {{{post}}} is included after the link
  • {{{name}}} replaces {{{text}}} or {{{2}}} as the reference name
  • {{{group}}} sets the reference group

For example:

 {{tweet ref|1295741147877441539|text=Michael Whelan commenting on The Way of Kings cover art|date=2020-08-18}}

produces:[1]

Articles using Template[edit]