Difference between revisions of "Template:Tor ref"

From The Coppermind
Jump to navigation Jump to search
m
m
Line 16: Line 16:
 
-->}}<!--
 
-->}}<!--
   
-->{{#if:{{{date|}}}||[[Category: References missing date]]|}}<!--
+
-->{{#if:{{{text|}}}{{{4|}}}<!--
  +
only applied when text has been entered
  +
-->|{{#if:{{{date|}}}|<!-- -->|[[Category: References missing date]]}}<!--
  +
only applied when no text is entered
  +
-->|<!--
  +
-->}}<!--
   
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>

Revision as of 10:10, 10 December 2014

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.

To use, include {{tor ref|link|description|post|pre}}

  • {{{link}}} replaces the link
  • {{{text}}} replaces the description
  • {{{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
  • {{{date}}} is the publication date (yyyy-mm-dd)