Template:Cite-newspaper
From SABR Encyclopedia
(Difference between revisions)
(zero padded dates) |
|||
Line 1: | Line 1: | ||
- | {{#if: {{{title|}}} | "{{{title}}}." | }} ''{{{newspaper}}},'' {{{year}}}-{{{month}}}-{{{day}}}. | + | {{#if: {{{title|}}} | "{{{title}}}." | }} ''{{{newspaper}}},'' {{{year}}}-{{padleft:{{{month}}}|2}}-{{padleft:{{{day}}}|2}}. |
<noinclude> | <noinclude> | ||
{{Template:cite-newspaper/doc}} | {{Template:cite-newspaper/doc}} | ||
[[Category:Citation templates]] | [[Category:Citation templates]] | ||
</noinclude> | </noinclude> |
Revision as of 14:08, 8 May 2009
{{{newspaper}}}, {{{year}}}-{{{month}}}-{{{day}}}.
This template is for citing a newspaper article.
{{cite-newspaper | title= | newspaper= | year= | month= | day= | url= }}
Required parameters:
- title: The title of the article. (For obituaries with no title, use title=Obituary.)
- newspaper: The name of the newspaper the article appeared in.
- month: The month the article appeared (an integer from 1 to 12).
- day: The day the article appeared (an integer from 1 to 31).
- year: The year the article appeared (four digits).
Optional parameters:
- pages: The page number(s) of the article.
- last: The last name of the author, if the article is bylined.
- first: The first name of the author, if the article is bylined.
- url: The web address of the article, if it is available online - this is recommended for articles that have been scanned from old newspapers, so that we can provide an easy way to access them now and a sustainable way to find the article in case the archive goes offline.