Template:Cite-web
From SABR Encyclopedia
(Difference between revisions)
(Created page with '<tt>{{{url}}}</tt>, retrieved on {{{year}}}-{{{month}}}-{{{day}}}.') |
(added support for "title", made date optional.) |
||
(8 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | <tt>{{{url}}}</tt>, retrieved on {{{year}}}-{{{month}}}-{{{day}}}. | + | <includeonly>{{#if: {{{title|}}} | [{{{url|}}} {{{title|}}}] | <tt>{{{url}}}</tt>}}{{#if: {{{year|}}} |, retrieved on {{{year}}}-{{padleft:{{{month}}}|2}}-{{padleft:{{{day}}}|2}}}}.</includeonly><noinclude> |
+ | {{Template:cite-web/doc}} | ||
+ | [[Category:Citation templates]] | ||
+ | </noinclude> |
Latest revision as of 19:15, 9 April 2010
This template is for citing resources on the World Wide Web. It currently accepts the following parameters:
- url: The URL of the article or other resource. Note that "http://" should always be included; it is part of the URL.
- month: The month in which the URL was accessed (an integer from 1 to 12).
- day: The day of month on which the URL was accessed (an integer from 1 to 31).
- year: The year in which the URL was accessed (four digits).
- title: The link text to use. Optional - if linktext is omitted, URL will display.