Difference between revisions of "Template:Tweet ref"

m
Text replacement - "Category: Sources [[" to "[["
m
m (Text replacement - "Category: Sources [[" to "[[")
 
(11 intermediate revisions by 2 users not shown)
 
TEXT
-->|{{{pre|}}}<!--
 
-->{{#if:{{{textbroken|}}}|{{{2|ref/broken}}|<!-- -->}}<!--
 
-->{{#if:{{{text|{{{2|}}}|}}}<!--
-->|{{#if:{{{date|}}}|<!-- -->|[[Category: References missing {{ref/broken|ref/date]]}}|<!-- -->}}<!--
-->|<!--
-->}}<!--
 
-->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!--
 
-->[https://twitter.com/{{{user|BrandSanderson}}}/{{{url|status/{{{1}}}|}}} {{{text|{{{2|}}}|}}}]<!--
 
--> {{{post|}}}<!- Twitter - <small-->{{#if:{date{{post|}}}<|{{ref/small>uses-post}}|}}<!--
 
--> {{{post|}}}<!--
--><br><small> &mdash; Twitter - {{{date}}}</small><!--
 
-->{{tracking link|Cite: Twitter/{{{user|BrandSanderson}}}/{{{1}}}|}}<!--
 
NAME
-->|group={{{group|}}}<!--
 
-->}}<!--
 
-->{{#if:{{{text|}}}{{{2|}}}<!--
only applied when text has been entered
-->|{{#if:{{{date|}}}|<!-- -->|[[Category: References missing date]]}}<!--
only applied when no text is entered
-->|<!--
-->}}<!--
 
This template is used to refer to posts on [https://twitter.com/ Twitter].
 
To use, include {{t|tweet ref|tweet-id|description|date}}
* {{{url}}} replaces the URL
* {{{text}}} replaces the text
* {{{name}}} replaces {{{text}}} or {{{2}}} as the reference name
* {{{group}}} sets the reference group
 
[[Category: Sources]]
For example:
<pre> {{tweet ref|1295741147877441539|text=Michael Whelan commenting on The Way of Kings cover art|date=2020-08-18}}</pre>
produces:{{tweet ref|1295741147877441539|text=Michael Whelan commenting on The Way of Kings cover art|date=2020-08-18}}
<references/>
 
[[Category: Reference templates]]
 
== Articles using Template ==
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}