Difference between revisions of "Template:Tor ref"

From The Coppermind
Jump to navigation Jump to search
m
m (trak)
(13 intermediate revisions by 4 users not shown)
Line 2: Line 2:
   
 
TEXT
 
TEXT
-->|{{{pre|}}}<!--
+
-->|<!--
   
-->[[tor:{{{link|{{{1}}}|}}}|{{{text|{{{2|}}}|}}}]]<!--
+
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--
   
--> - [[Tor]] <small>{{{date}}}</small><!--
+
-->{{#if:{{{text|{{{2|}}}|}}}<!--
 
-->|{{#if:{{{date|}}}|<!-- -->|{{ref/broken|ref/date}}|<!-- -->}}<!--
-->{{{post|}}}<!--
 
 
-->|<!--
 
-->}}<!--
  +
  +
-->{{{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 15: Line 27:
 
-->|group={{{group|}}}<!--
 
-->|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
 
-->|<!--
 
 
-->}}<!--
 
-->}}<!--
   
 
--></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 38: 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