Difference between revisions of "Template:Url ref"

From The Coppermind
Jump to navigation Jump to search
(Created page with "<includeonly>{{#tag:ref<!-- TEXT -->|{{{pre|}}}[{{{url|{{{1}}}|}}} {{{text|{{{2|}}}|}}}]{{{post|}}}<!-- NAME -->|name={{{name|{{{text|{{{2}}}|}}}|}}}<!-- GROUP -->|group={{...")
 
m
Line 15: Line 15:
 
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|http://...|url text}}
+
To use, include {{t|url ref|<nowiki>http://...</nowiki>|url text}}
 
* {{{url}}} replaces the URL
 
* {{{url}}} replaces the URL
 
* {{{text}}} replaces the text
 
* {{{text}}} replaces the text

Revision as of 13:47, 14 August 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}}

  • {{{url}}} replaces the URL
  • {{{text}}} replaces the text
  • {{{pre}}} is included before the link
  • {{{post}}} is included after the link
  • {{{name}}} replaces {{{text}}} or {{{two}}} as the reference name
  • {{{group}}} sets the reference group