Difference between revisions of "Template:Tor ref"

From The Coppermind
Jump to navigation Jump to search
(fix ref/date)
m (trak)
(8 intermediate revisions by 4 users not shown)
Line 6: Line 6:
 
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--
 
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--
   
-->{{#if:{{{text|{{{3|}}}|}}}<!--
+
-->{{#if:{{{text|{{{2|}}}|}}}<!--
 
-->|{{#if:{{{date|}}}|<!-- -->|{{ref/broken|ref/date}}|<!-- -->}}<!--
 
-->|{{#if:{{{date|}}}|<!-- -->|{{ref/broken|ref/date}}|<!-- -->}}<!--
 
-->|<!--
 
-->|<!--
 
-->}}<!--
 
-->}}<!--
   
-->{{{pre|}}}<!--
+
-->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!--
   
-->[[tor:{{{link|{{{1}}}|}}}|{{{text|{{{2|}}}|}}}]]<!--
+
--><span class="plainlinks">[https://tor.com/{{{link|{{{1}}}|}}} {{{text|{{{2|}}}|}}}]</span><!--
   
-->{{{post|}}}<!--
+
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--
   
--><br><small> &mdash; [[Tor]] - {{{date}}}</small><!--
+
--><br><small> &mdash; [[Tor.com]] - {{{date}}}</small><!--
  +
  +
-->{{tracking link|Cite: Tor.com/{{{link|{{{1|}}}|}}}}}<!--
   
 
NAME
 
NAME
Line 28: 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}}
+
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
Line 41: 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