Difference between revisions of "Template:Reddit ref"
Jump to navigation
Jump to search
m |
m |
||
Line 2: | Line 2: | ||
TEXT |
TEXT |
||
− | -->| |
+ | -->|<!-- |
+ | |||
+ | -->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!-- |
||
+ | |||
⚫ | |||
-->{{#if:{{{short|}}}<!-- |
-->{{#if:{{{short|}}}<!-- |
||
Line 9: | Line 13: | ||
-->}}<!-- |
-->}}<!-- |
||
− | --> |
+ | -->{{{post|}}}<!-- |
+ | |||
⚫ | |||
+ | --><br><small> — Reddit - {{{date|{{ref/date}}|}}}</small><!-- |
||
NAME |
NAME |
||
Line 18: | Line 23: | ||
-->|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 |
||
− | -->|<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
Revision as of 13:21, 14 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)