Difference between revisions of "Template:Reddit ref"
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#tag:ref<!-- TEXT -->|{{{pre|}}}<!-- -->{{#if:{{{short|}}}<!-- -->|[http://redd.it/{{{short}}} {{{text|{{{1}}}|}}}]<!-- -->|[http://reddit.com/{{{...") |
m |
||
Line 19: | Line 19: | ||
-->}}<!-- |
-->}}<!-- |
||
− | -->{{#if:{{{text|}}}{{{ |
+ | -->{{#if:{{{text|}}}{{#if:{{{short|}}}|{{{1}}}|{{{2}}}|}}<!-- |
only applied when text has been entered |
only applied when text has been entered |
||
-->|{{#if:{{{date|}}}|<!-- -->|[[Category: References missing date]]}}<!-- |
-->|{{#if:{{{date|}}}|<!-- -->|[[Category: References missing date]]}}<!-- |
Revision as of 12:04, 10 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)