Difference between revisions of "Template:Tweet ref"

From The Coppermind
Jump to navigation Jump to search
m
(fix ref/date)
Line 5: Line 5:
   
 
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--
 
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--
  +
  +
-->{{#if:{{{text|{{{3|}}}|}}}<!--
  +
-->|{{#if:{{{date|}}}|<!-- -->|{{ref/broken|ref/date}}|<!-- -->}}<!--
  +
-->|<!--
  +
-->}}<!--
   
 
-->{{{pre|}}}<!--
 
-->{{{pre|}}}<!--
Line 12: Line 17:
 
-->{{{post|}}}<!--
 
-->{{{post|}}}<!--
   
--><br><small> &mdash; Twitter - {{#if:{{{date|}}}|{{{date}}}|{{ref/date}}|}}</small><!--
+
--><br><small> &mdash; Twitter - {{{date}}}</small><!--
   
 
NAME
 
NAME

Revision as of 13:22, 16 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