Difference between revisions of "Template:Reddit ref"

From The Coppermind
Jump to navigation Jump to search
(add ref/date)
m (try this)
Line 13: Line 13:
 
-->{{{pre|}}}<!--
 
-->{{{pre|}}}<!--
   
 
-->[http://reddit.com/{{{path|r/{{{1}}}/comments/{{{2}}}/-/{{{3|}}}?context={{{context|3}}}|}}} {{{text}}}]<!--
-->{{#if:{{{short|}}}<!--
 
-->|[http://redd.it/{{{short}}} {{{text|{{{1}}}|}}}]<!--
 
-->|[http://reddit.com/{{{1}}} {{{text|{{{2}}}|}}}]<!--
 
-->}}<!--
 
   
 
-->{{{post|}}}<!--
 
-->{{{post|}}}<!--
Line 23: Line 20:
   
 
NAME
 
NAME
-->|name={{{name|reddit-{{{short|{{{1}}}|}}}|}}}<!--
+
-->|name={{{name|reddit-{{{1|board}}}-{{{2|topic}}}-{{{3|reply}}}|}}}<!--
   
 
GROUP
 
GROUP
Line 33: Line 30:
 
This template is used to refer to posts on [http://reddit.com Reddit].
 
This template is used to refer to posts on [http://reddit.com Reddit].
   
To use, include {{t|reddit ref|link|description}}
+
To use, include {{t|reddit ref|board|topic|reply|text=description}}
* {{{short}}} links via the redd.it url shortener
 
 
* {{{text}}} replaces the description
 
* {{{text}}} replaces the description
 
* {{{pre}}} is included before the link
 
* {{{pre}}} is included before the link

Revision as of 21:33, 12 March 2015

This template is used to refer to posts on Reddit.

To use, include {{description|board|topic|reply}}

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