Difference between revisions of "Template:Url ref"

Jump to navigation Jump to search
m
m
 
NAME
-->|name={{{name|{{{text|{{{2}}}|site}}}|}}}<!--
 
GROUP
 
-->}}<!--
 
-->{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}|[[Category: URL ref with bad arguments]]}}<!--
 
--></includeonly><noinclude>
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|12=url=<nowiki>http://...</nowiki>|23=text=|34=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 referencegenerated name
* {{{group}}} sets the reference group
* {{{date}}} is the publication date (yyyy-mm-dd)