Difference between revisions of "Template:Tor ref"

From The Coppermind
Jump to navigation Jump to search
m (corrected the description paragraph and added instructions to use url ref instead of this because it is broken)
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))
Line 13: Line 13:
 
-->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!--
 
-->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!--
   
-->[[tor:{{{link|{{{1}}}|}}}|{{{text|{{{2|}}}|}}}]]<!--
+
--><span class="plainlinks">[https://tor.com/{{{link|{{{1}}}|}}} {{{text|{{{2|}}}|}}}]</span><!--
   
 
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--
 
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--
Line 28: Line 28:
   
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
This template is used to refer to articles on Tor's website. This is currently broken. Please use {{t|url ref}} instead.
+
This template is used to refer to articles on Tor's website.
   
 
To use, include {{t|tor ref|link|description|date=}}
 
To use, include {{t|tor ref|link|description|date=}}

Revision as of 09:49, 26 November 2020

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