Difference between revisions of "Template:Newspaper article ref"
Line 20: | Line 20: | ||
|| day | || day | ||
|| DD | || DD | ||
− | || The day of the month of publication, two digits (01& | + | || The day of the month of publication, two digits (01–31). |
|- | |- | ||
|| month | || month | ||
Line 36: | Line 36: | ||
|| author | || author | ||
|| <nowiki>Jane {{Surname|Doe}}</nowiki> | || <nowiki>Jane {{Surname|Doe}}</nowiki> | ||
− | || The author or authors. [[Template:Surname | + | || The author or authors. [[Template:Surname]] can be used to identify surnames. |
|} | |} | ||
Line 62: | Line 62: | ||
The whitespace (empty spaces, new lines, etc.) is [https://meta.wikimedia.org/wiki/Help:Newlines_and_spaces mostly ignored] by the wiki software; it is stylized above solely for the sake of readability. | The whitespace (empty spaces, new lines, etc.) is [https://meta.wikimedia.org/wiki/Help:Newlines_and_spaces mostly ignored] by the wiki software; it is stylized above solely for the sake of readability. | ||
− | == | + | ==Example output== |
− | The two calls to [[Template:Daily Record article]] defined above produce the following: | + | The two calls to [[Template:Daily Record article]] defined above produce the following:<div class="mw-code"> |
{{Daily Record article | {{Daily Record article | ||
| title = One Heckuva Big Buildings: Visitors Awed By Gerstenslager Co.'s Newest Facility | | title = One Heckuva Big Buildings: Visitors Awed By Gerstenslager Co.'s Newest Facility | ||
Line 78: | Line 78: | ||
| page = {{Cite page|3}} | | page = {{Cite page|3}} | ||
}} | }} | ||
− | </noinclude><includeonly>* {{ | + | </div></noinclude><includeonly>* {{ |
#if: {{{month|}}} | #if: {{{month|}}} | ||
| {{MONTHNAME | | {{MONTHNAME |
Revision as of 12:13, 23 September 2014
Generally, this template should not be used directly. Rather, one should usually use the appropriate subtemplate of this template. To see a list of available newspaper titles or to request the creation of a new subtemplate, please see User:Merlin/spellbook/newspapers.
Purpose
This template and its heirs add an explicitly semantic, machine-readable, bibliographic layer to a simple unordered list item.
Usage
To create a single bibliographic item, locate the appropriate subtemplate and provide the following parameters (when known and applicable):
Parameter name | Example value | Note |
---|---|---|
title | The Title of the Newspaper Article | Just the title in plaintext. Do not add quotation marks, style, etc. |
year | YYYY | The year of publication, four digits. |
day | DD | The day of the month of publication, two digits (01–31). |
month | MM | The month of the year of publication, two digits (01–12). |
page | {{Cite page|1}} | See Template:Cite page or Template:Cite pages. |
section | S | The section of the periodical. |
author | Jane {{Surname|Doe}} | The author or authors. Template:Surname can be used to identify surnames. |
A series of template calls to the "newspaper article" template family should constitute the sole parameter of a call to Template:Newspaper articles.
Example source
A simple example of a semantic "Newspaper articles" section would be entered as so:
{{Newspaper articles | {{Daily Record article | title = One Heckuva Big Buildings: Visitors Awed By Gerstenslager Co.'s Newest Facility | author = Jane {{Surname|Bablack}} | year = 1955 | day = 16 | month = 12 }} {{Daily Record article | title = Gerstenslager's Last Buggy in Marshallville | year = 1967 | day = 18 | month = 04 | page = {{Cite page|3}} }} }}
The whitespace (empty spaces, new lines, etc.) is mostly ignored by the wiki software; it is stylized above solely for the sake of readability.
Example output
The two calls to Template:Daily Record article defined above produce the following:
- December 16, 1955: "One Heckuva Big Buildings: Visitors Awed By Gerstenslager Co.'s Newest Facility" by Jane Bablack, The Daily Record.
- April 18, 1967: "Gerstenslager's Last Buggy in Marshallville", The Daily Record, p. 3.