Difference between revisions of "Template:Tweet ref"

From The Coppermind
Jump to navigation Jump to search
m ({{tracking link}})
m (+track pre/post +usage)
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>{{tracking link|Cite: Twitter/{{{user|BrandSanderson}}}/{{{1}}}|}}</sup></small><!--
 
--><br><small> &mdash; Twitter - {{{date}}}<sup>{{tracking link|Cite: Twitter/{{{user|BrandSanderson}}}/{{{1}}}|}}</sup></small><!--
Line 40: Line 40:
 
[[Category: Sources]]
 
[[Category: Sources]]
 
[[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}}

Revision as of 10:44, 19 April 2020

This template is used to refer to posts on Twitter.

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

  • {{{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

Articles using Template