Difference between revisions of "Template:Tweet ref"

From The Coppermind
Jump to navigation Jump to search
m
m
Line 12: Line 12:
 
-->{{{post|}}}<!--
 
-->{{{post|}}}<!--
   
--><br><small> &mdash; Twitter - {{{date|{{ref/date}}|}}}</small><!--
+
--><br><small> &mdash; Twitter - {{#if:{{{date|}}}|{{{date}}}|{{ref/date}}|}}</small><!--
   
 
NAME
 
NAME

Revision as of 19:25, 14 December 2014

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