Template:Cite-web
From SABR Encyclopedia
(Difference between revisions)
(trying to get month zero padded) |
|||
Line 1: | Line 1: | ||
- | <tt>{{{url}}}</tt>, retrieved on {{{year}}}-{{{month}}}-{{{day}}}. | + | <tt>{{{url}}}</tt>, retrieved on {{{year}}}-{{{padleft:{{{month}}}|2}}}-{{{day}}}. |
<noinclude> | <noinclude> | ||
{{Template:cite-web/doc}} | {{Template:cite-web/doc}} | ||
[[Category:Citation templates]] | [[Category:Citation templates]] | ||
</noinclude> | </noinclude> |
Revision as of 14:00, 8 May 2009
{{{url}}}, retrieved on {{{year}}}-2-{{{day}}}.
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.