Diferencia entre revisiones de «Plantilla:Url ref»

De La Coppermind
Ir a la navegación Ir a la búsqueda
m (+cite ns link)
m (+track pre/post +usage)
Línea 2: Línea 2:
   
 
TEXT
 
TEXT
-->|{{{pre|}}}<!--
+
-->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-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 31: Línea 32:
 
[[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 10:42 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

Articles using Template