Diferencia entre revisiones de «Plantilla:Url 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|{{{4|}}}|}}}[{{{url|{{{1}}}|}}} {{{text|{{{2|}}}|}}}]{{{post|{{{3|}}}|}}}<!--
+
-->|{{{pre|{{{4|}}}|}}}<!--
  +
  +
-->[{{{url|{{{1}}}|}}} {{{text|{{{2|}}}|}}}]<!--
  +
  +
-->{{{post|{{{3|}}}|}}}<!--
  +
-->{{#if:{{{date|}}}| <small>{{{date}}}</small>}}<!--
   
 
NAME
 
NAME
Línea 22: Línea 27:
 
* {{{name}}} replaces {{{text}}} or {{{2}}} as the reference name
 
* {{{name}}} replaces {{{text}}} or {{{2}}} as the reference name
 
* {{{group}}} sets the reference group
 
* {{{group}}} sets the reference group
  +
* {{{date}}} is the publication date (yyyy-mm-dd)
   
 
[[Category: Sources]]
 
[[Category: Sources]]

Revisión del 20:58 9 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 {{url ref|http://...|url text|post|pre}}

  • {{{url}}} replaces the URL
  • {{{text}}} replaces the text
  • {{{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)