Diferencia entre revisiones de «Plantilla:Url ref»

De La Coppermind
Ir a la navegación Ir a la búsqueda
m (+track pre/post +usage)
(Undo revision 119915 by Fbstj (talk) Seems like that change broke it; I'll undo it for now, and re-do it if that doesn't fix it.)
Etiqueta: Deshacer
Línea 2: Línea 2:
   
 
TEXT
 
TEXT
-->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!--
+
-->|{{{pre|}}}<!--
   
 
-->[{{{url}}} {{{text}}}]<!--
 
-->[{{{url}}} {{{text}}}]<!--
 
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--
 
   
 
--><br><small> &mdash; {{{site}}} {{#if:{{{date|}}}|- {{{date}}}|}}<sup><hash-text link="#">{{{url}}}</hash-text></sup></small><!--
 
--><br><small> &mdash; {{{site}}} {{#if:{{{date|}}}|- {{{date}}}|}}<sup><hash-text link="#">{{{url}}}</hash-text></sup></small><!--
  +
-->{{{post|}}}<!--
   
 
NAME
 
NAME
Línea 32: Línea 31:
 
[[Category: Sources]]
 
[[Category: Sources]]
 
[[Category: Reference templates]]
 
[[Category: Reference templates]]
 
== Articles using Template ==
 
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
 
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}
 

Revisión del 12:26 19 abr 2020

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