Diferencia entre revisiones de «Plantilla:Url ref»

De La Coppermind
Ir a la navegación Ir a la búsqueda
m
m (tweak docs, add a cite ns link)
Línea 10: Línea 10:
   
 
NAME
 
NAME
-->|name={{{name|{{{site}}}-{{{date|{{{text}}}|}}}|}}}<!--
+
-->|name={{{name|{{{site}}}-{{{date|{{{text}}}|}}}|}}}<sup>[[Cite: url-{{#tag:hash-text|{{{url}}}|}}|#]]</sup><!--
   
 
GROUP
 
GROUP
Línea 20: Línea 20:
 
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 URL's. This allows us to track where raw URLs are used, so we can keep them up to date easily.
   
To use, include {{t|url ref|2=url=<nowiki>http://...</nowiki>|3=text=|4=site=}}
+
To use, include {{t|url ref|url&#61;<nowiki>http://...</nowiki>|text&#61;|site&#61;}}
 
* {{{url}}} and {{{text}}} the link and link-text
 
* {{{url}}} and {{{text}}} the link and link-text
 
* {{{site}}} indicates which website the page is on
 
* {{{site}}} indicates which website the page is on

Revisión del 13:13 24 dic 2017

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|url=http://...|text=|site=}}

  • {{{url}}} and {{{text}}} the link and link-text
  • {{{site}}} indicates which website the page is on
  • {{{date}}} is the publication date (yyyy-mm-dd)
  • {{{pre}}} is included before the link
  • {{{post}}} is included after the link
  • {{{name}}} replaces the generated name
  • {{{group}}} sets the reference group