Difference between revisions of "Template:Tweet ref"

From The Coppermind
Jump to navigation Jump to search
(added example)
m (trak)
Line 17: Line 17:
 
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-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}}}</small><!--
  +
  +
-->{{tracking link|Cite: Twitter/{{{user|BrandSanderson}}}/{{{1}}}|}}<!--
   
 
NAME
 
NAME

Revision as of 18:55, 1 February 2021

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