Difference between revisions of "Template:Reddit ref"

From The Coppermind
Jump to navigation Jump to search
m (Make tracking line work with path parameter)
m (trak)
Line 17: Line 17:
 
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--
 
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--
   
--><br><small> &mdash; Reddit - {{{date}}}<sup>{{tracking link|Cite: Reddit/{{{path|{{{1}}}/{{{2}}}{{#if:{{{3|}}}|/{{{3}}}|}}}}}|}}</sup></small><!--
+
--><br><small> &mdash; Reddit - {{{date}}}</small><!--
  +
  +
-->{{tracking link|Cite: Reddit/{{{path|{{{1}}}/{{{2}}}{{#if:{{{3|}}}|/{{{3}}}|}}}}}|}}<!--
   
 
NAME
 
NAME

Revision as of 18:55, 1 February 2021

This template is used to refer to posts on Reddit.

To use, include {{reddit ref|subreddit|post id|comment id|description}}

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

Articles using Template