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|}}}|}}}<!--
+
-->|{{{pre|}}}<!--
   
-->[{{{url|{{{1}}}|}}} {{{text|{{{2|}}}|}}}]<!--
+
-->[{{{url}}} {{{text}}}]<!--
   
-->{{{post|{{{3|}}}|}}}<!--
+
--> - {{{site}}}<!--
-->{{#if:{{{date|}}}| <small>{{{date}}}</small>}}<!--
+
-->{{#if:{{{date|}}}| - <small>{{{date}}}</small>}}<!--
  +
-->{{{post|}}}<!--
   
 
NAME
 
NAME
Línea 20: Línea 21:
 
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|<nowiki>http://...</nowiki>|url text|post|pre}}
+
To use, include {{t|url ref|1=url=<nowiki>http://...</nowiki>|2=text=|3=site=}}
* {{{url}}} replaces the URL
+
* {{{url}}} and {{{text}}} the link and link-text
* {{{text}}} replaces the text
+
* {{{site}}} indicates which website the page is on
 
* {{{pre}}} is included before the link
 
* {{{pre}}} is included before the link
 
* {{{post}}} is included after the link
 
* {{{post}}} is included after the link

Revisión del 12:22 10 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 {{[[Template:url=http://...|url=http://...]]|text=|site=}}

  • {{{url}}} and {{{text}}} the link and link-text
  • {{{site}}} indicates which website the page is on
  • {{{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)