Difference between revisions of "Template:Reddit ref"

From The Coppermind
Jump to navigation Jump to search
m
m (Text replacement - "category: sources [[" to "[[")
 
(20 intermediate revisions by 3 users not shown)
Line 2: Line 2:


TEXT
TEXT
-->|{{{pre|}}}<!--
-->|<!--


-->{{#if:{{{short|}}}<!--
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--

-->|[http://redd.it/{{{short}}} {{{text|{{{1}}}|}}}]<!--
-->|[http://reddit.com/{{{1}}} {{{text|{{{2}}}|}}}]<!--
-->{{#if:{{{text|}}}<!--
-->|{{#if:{{{date|}}}|<!-- -->|{{ref/broken|ref/date}}|<!-- -->}}<!--
-->|<!--
-->}}<!--
-->}}<!--


--> - [http://reddit.com|Reddit] - <small>{{{date}}}</small><!--
-->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!--

-->{{{post|}}}
-->[http://reddit.com/{{{path|r/{{{1}}}/comments/{{{2}}}/-/{{{3|}}}?context={{{context|3}}}|}}} {{{text}}}]<!--

-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--

--><br><small> &mdash; Reddit - {{{date}}}</small><!--

-->{{tracking link|Cite: Reddit/{{{path|{{{1}}}/{{{2}}}{{#if:{{{3|}}}|/{{{3}}}|}}}}}|}}<!--


NAME
NAME
-->|name={{{name|reddit-{{{short|{{{1}}}|}}}|}}}<!--
-->|name={{{name|reddit-{{{1|board}}}-{{{2|topic}}}-{{{3|reply}}}|}}}<!--


GROUP
GROUP
-->|group={{{group|}}}<!--
-->|group={{{group|}}}<!--


-->}}<!--

-->{{#if:{{{text|}}}{{#if:{{{short|}}}|{{{1|}}}|{{{2|}}}|}}<!--
only applied when text has been entered
-->|{{#if:{{{date|}}}|<!-- -->|[[Category: References missing date]]}}<!--
only applied when no text is entered
-->|<!--
-->}}<!--
-->}}<!--


Line 30: Line 32:
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|subreddit|post id|comment id|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
Line 39: Line 40:
* {{{date}}} is the facts publication date (yyyy-mm-dd)
* {{{date}}} is the facts publication date (yyyy-mm-dd)


[[category: reference templates]]
[[Category: Sources]]

[[Category: Reference templates]]
== Articles using Template ==
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}

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 Template[edit]