Diferencia entre revisiones de «Plantilla:Tor ref»

De La Coppermind
Ir a la navegación Ir a la búsqueda
m
m
Línea 2: Línea 2:
   
 
TEXT
 
TEXT
-->|{{{pre|}}}<!--
+
-->|<!--
  +
 
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--
  +
 
-->{{{pre|}}}<!--
   
 
-->[[tor:{{{link|{{{1}}}|}}}|{{{text|{{{2|}}}|}}}]]<!--
 
-->[[tor:{{{link|{{{1}}}|}}}|{{{text|{{{2|}}}|}}}]]<!--
   
--><br><small> &mdash; [[Tor]] - {{{date}}}</small><!--
+
-->{{{post|}}}<!--
  +
-->{{{post|}}}<!--
 
  +
--><br><small> &mdash; [[Tor]] - {{{date|{{ref/date}}|}}}</small><!--
   
 
NAME
 
NAME
Línea 15: Línea 20:
 
-->|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
 
-->|<!--
 
 
-->}}<!--
 
-->}}<!--
   

Revisión del 13:23 14 dic 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}}

  • {{{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