Difference between revisions of "Template:Tor ref"

From The Coppermind
Jump to navigation Jump to search
m
m (trak)
(22 intermediate revisions by 4 users not shown)
Line 2: Line 2:
   
 
TEXT
 
TEXT
-->|{{{pre|{{{4|}}}|}}}<!--
+
-->|<!--
   
-->[[tor:{{{link|{{{1}}}|}}}|{{{text|{{{2|}}}|}}}]]<!--
+
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--
   
-->{{{post|{{{3|}}}|}}}<!--
+
-->{{#if:{{{text|{{{2|}}}|}}}<!--
  +
-->|{{#if:{{{date|}}}|<!-- -->|{{ref/broken|ref/date}}|<!-- -->}}<!--
  +
-->|<!--
  +
-->}}<!--
  +
  +
-->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!--
  +
  +
--><span class="plainlinks">[https://tor.com/{{{link|{{{1}}}|}}} {{{text|{{{2|}}}|}}}]</span><!--
  +
  +
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--
  +
  +
--><br><small> &mdash; [[Tor.com]] - {{{date}}}</small><!--
  +
  +
-->{{tracking link|Cite: Tor.com/{{{link|{{{1|}}}|}}}}}<!--
   
 
NAME
 
NAME
Line 17: Line 30:
   
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
This template is used to refer to URL's. This allows us to track where raw URLs are used, so we can keep them up to date easily.
+
This template is used to refer to articles on Tor's website.
   
To use, include {{t|tor ref|link|description|post|pre}}
+
To use, include {{t|tor ref|link|description|date=}}
 
* {{{link}}} replaces the link
 
* {{{link}}} replaces the link
 
* {{{text}}} replaces the description
 
* {{{text}}} replaces the description
  +
* {{{date}}} is the publication date (yyyy-mm-dd)
 
* {{{pre}}} is included before the link
 
* {{{pre}}} is included before the link
 
* {{{post}}} is included after the link
 
* {{{post}}} is included after the link
Line 29: Line 43:
 
[[Category: Sources]]
 
[[Category: Sources]]
 
[[Category: Reference templates]]
 
[[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}}

Revision as of 18:55, 1 February 2021

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