Difference between revisions of "Template:Reddit ref"

From The Coppermind
Jump to navigation Jump to search
m (undo)
(add ref/date)
Line 5: Line 5:
   
 
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--
 
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--
  +
  +
-->{{#if:{{{text|{{#if:{{{short|}}}|{{{1|}}}|{{{2|}}}|}}|}}}<!--
  +
-->|{{#if:{{{date|}}}|<!-- -->|{{ref/broken|ref/date}}|<!-- -->}}<!--
  +
-->|<!--
  +
-->}}<!--
   
 
-->{{{pre|}}}<!--
 
-->{{{pre|}}}<!--

Revision as of 13:20, 16 December 2014

This template is used to refer to posts on Reddit.

To use, include {{reddit ref|link|description}}

  • {{{short}}} links via the redd.it url shortener
  • {{{text}}} replaces the description
  • {{{pre}}} is included before the link
  • {{{post}}} is included after the link
  • {{{name}}} replaces the generated reference name
  • {{{group}}} sets the reference group
  • {{{date}}} is the facts publication date (yyyy-mm-dd)