Difference between revisions of "Template:Tor ref"

From The Coppermind
Jump to navigation Jump to search
m (Not sure why this idea suddenly occurred to me at almost 5am, but this should make the template work again (though tor:XXX links are still broken))
m (Interwiki is fixed; revert old patch)
Tag: Undo
 
(2 intermediate revisions by 2 users not shown)
Line 13: Line 13:
 
-->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!--
 
-->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!--
   
--><span class="plainlinks">[https://tor.com/{{{link|{{{1}}}|}}} {{{text|{{{2|}}}|}}}]</span><!--
+
-->[[tor:{{{link|{{{1}}}|}}}|{{{text|{{{2|}}}|}}}]]<!--
   
 
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--
 
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--
   
--><br><small> &mdash; [[Tor.com]] - {{{date}}}<sup>{{tracking link|Cite: Tor.com/{{{link|{{{1|}}}|}}}}}</sup></small><!--
+
--><br><small> &mdash; [[Tor.com]] - {{{date}}}</small><!--
  +
  +
-->{{tracking link|Cite: Tor.com/{{{link|{{{1|}}}|}}}}}<!--
   
 
NAME
 
NAME
Line 39: Line 41:
 
* {{{group}}} sets the reference group
 
* {{{group}}} sets the reference group
   
[[Category: Sources]]
 
 
[[Category: Reference templates]]
 
[[Category: Reference templates]]
   

Latest revision as of 04:58, 25 October 2022

This template is used to refer to articles on Tor's website.

To use, include {{tor ref|link|description}}

  • {{{link}}} replaces the link
  • {{{text}}} replaces the description
  • {{{date}}} is the publication date (yyyy-mm-dd)
  • {{{pre}}} is included before the link
  • {{{post}}} is included after the link
  • {{{name}}} replaces {{{text}}} or {{{2}}} as the reference name
  • {{{group}}} sets the reference group

Articles using Template[edit]