Difference between revisions of "Template:Url ref"

From The Coppermind
Jump to navigation Jump to search
m (Huh, that actually did make it work on my user page... looks like Joe was just missing a |)
m (Oh, looks like the other templates put it here)
Line 1: Line 1:
<includeonly>{{#tag:ref|<!--
+
<includeonly>{{#tag:ref<!--
   
 
TEXT
 
TEXT
-->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!--
+
-->|{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!--
   
 
-->[{{{url}}} {{{text}}}]<!--
 
-->[{{{url}}} {{{text}}}]<!--

Revision as of 16:40, 19 April 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