Difference between revisions of "Template:Url ref"

From The Coppermind
Jump to navigation Jump to search
m
m
Line 2: Line 2:
   
 
TEXT
 
TEXT
-->|{{{pre|{{{4|}}}|}}}[{{{url|{{{1}}}|}}} {{{text|{{{2|}}}|}}}]{{{post|{{{3|}}}|}}}<!--
+
-->|{{{pre|{{{4|}}}|}}}<!--
  +
  +
-->[{{{url|{{{1}}}|}}} {{{text|{{{2|}}}|}}}]<!--
  +
  +
-->{{{post|{{{3|}}}|}}}<!--
  +
-->{{#if:{{{date|}}}| <small>{{{date}}}</small>}}<!--
   
 
NAME
 
NAME
Line 22: Line 27:
 
* {{{name}}} replaces {{{text}}} or {{{2}}} as the reference name
 
* {{{name}}} replaces {{{text}}} or {{{2}}} as the reference name
 
* {{{group}}} sets the reference group
 
* {{{group}}} sets the reference group
  +
* {{{date}}} is the publication date (yyyy-mm-dd)
   
 
[[Category: Sources]]
 
[[Category: Sources]]

Revision as of 20:58, 9 December 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 {{url ref|http://...|url text|post|pre}}

  • {{{url}}} replaces the URL
  • {{{text}}} replaces the text
  • {{{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)