Difference between revisions of "Template:Url ref"
Jump to navigation
Jump to search
m |
m |
||
Line 11: | Line 11: | ||
NAME |
NAME |
||
-->|name={{{name|{{{ |
-->|name={{{name|{{{site}}}|}}}<!-- |
||
GROUP |
GROUP |
||
Line 17: | Line 17: | ||
-->}}<!-- |
-->}}<!-- |
||
-->{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}|[[Category: URL ref with bad arguments]]}}<!-- |
|||
--></includeonly><noinclude> |
--></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. |
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| |
To use, include {{t|url ref|2=url=<nowiki>http://...</nowiki>|3=text=|4=site=}} |
||
* {{{url}}} and {{{text}}} the link and link-text |
* {{{url}}} and {{{text}}} the link and link-text |
||
* {{{site}}} indicates which website the page is on |
* {{{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 |
||
* {{{name}}} replaces |
* {{{name}}} replaces the generated name |
||
* {{{group}}} sets the reference group |
* {{{group}}} sets the reference group |
||
* {{{date}}} is the publication date (yyyy-mm-dd) |
* {{{date}}} is the publication date (yyyy-mm-dd) |
Revision as of 12:30, 10 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|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 the generated name
- {{{group}}} sets the reference group
- {{{date}}} is the publication date (yyyy-mm-dd)