Difference between revisions of "Template:Tor ref"

From The Coppermind
Jump to navigation Jump to search
m (Make tracking link accept link parameter)
m (Interwiki is fixed; revert old patch)
Tag: Undo
 
(4 intermediate revisions by 3 users not shown)
Line 17: Line 17:
-->{{{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 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 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]