Difference between revisions of "Template:Reddit ref"

m (Make tracking line work with path parameter)
m (Text replacement - "category: sources [[" to "[[")
 
(One intermediate revision by one other user not shown)
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
Line 38: Line 40:
 
* {{{date}}} is the facts publication date (yyyy-mm-dd)
 
* {{{date}}} is the facts publication date (yyyy-mm-dd)
   
[[category: sources]]
 
 
[[category: reference templates]]
 
[[category: reference templates]]
   

Latest revision as of 05:42, 22 May 2022

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 TemplateEdit