Difference between revisions of "Template:Newspaper article ref"
Line 27: | Line 27: | ||
|- | |- | ||
|| page | || page | ||
− | || <nowiki>{{ | + | || <nowiki>{{Cite page|1}}</nowiki> |
− | || See [[Template: | + | || See [[Template:Cite page]] or [[Template:Cite pages]]. |
|- | |- | ||
|| section | || section | ||
Line 46: | Line 46: | ||
{{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 | ||
+ | | author = Jane {{Surname|Bablack}} | ||
| year = 1955 | | year = 1955 | ||
| day = 16 | | day = 16 | ||
Line 55: | Line 56: | ||
| day = 18 | | day = 18 | ||
| month = 04 | | month = 04 | ||
− | | page = {{ | + | | page = {{Cite page|3}} |
}} | }} | ||
}} | }} | ||
Line 65: | Line 66: | ||
{{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 | ||
+ | | author = Jane {{Surname|Bablack}} | ||
| year = 1955 | | year = 1955 | ||
| day = 16 | | day = 16 | ||
Line 74: | Line 76: | ||
| day = 18 | | day = 18 | ||
| month = 04 | | month = 04 | ||
− | | page = {{ | + | | page = {{Cite page|3}} |
}} | }} | ||
− | </noinclude><includeonly>* {{#if: {{{month|}}} | {{MONTHNAME | {{{month}}} }}{{#if: {{{day|}}} | <nowiki> </nowiki>{{{day}}},|}} | + | </noinclude><includeonly>* {{ |
+ | #if: {{{month|}}} | ||
+ | | {{MONTHNAME | ||
+ | | {{{month}}} }}{{ | ||
+ | #if: {{{day|}}} | ||
+ | | <nowiki> </nowiki>{{{day}}}, | ||
+ | | | ||
+ | }} | ||
+ | }} {{{year}}}: "{{{article_title}}}" {{ | ||
+ | #if: {{{author|}}} | ||
+ | | by {{{author}}}|}}{{ | ||
+ | | | ||
+ | }}{{ | ||
+ | #if: {{{newspaper_title|}}} | ||
+ | |, ''{{{newspaper_title}}}''{{ | ||
+ | #if: {{{page|}}} | ||
+ | |, {{{page}}} | ||
+ | | | ||
+ | }} | ||
+ | | | ||
+ | }}.</includeonly> |
Revision as of 11:52, 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&ndash31). |
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. Surnames can be wikified, but should be done so manually. |
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.
Sample 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.