Line 1: |
Line 1: |
− | <noinclude>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]]. | + | <noinclude> |
| ==Purpose== | | ==Purpose== |
| This template and its heirs add an explicitly semantic, machine-readable, bibliographic layer to a simple unordered list item. | | This template and its heirs add an explicitly semantic, machine-readable, bibliographic layer to a simple unordered list item. |
− | ==Usage== | + | |
| + | ==Article templates for specific publications== |
| + | When possible, one should 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]]. |
| + | |
| + | ===Usage=== |
| To create a single bibliographic item, locate the appropriate subtemplate and provide the following parameters (when known and applicable): | | To create a single bibliographic item, locate the appropriate subtemplate and provide the following parameters (when known and applicable): |
| {| class="wikitable" | | {| class="wikitable" |
Line 40: |
Line 44: |
| | | |
| A series of template calls to the "newspaper article" template family should constitute the sole parameter of a call to [[Template:Newspaper articles]]. | | 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== | + | ===Example source=== |
| A simple example of a semantic "Newspaper articles" section would be entered as so: | | A simple example of a semantic "Newspaper articles" section would be entered as so: |
| <pre> | | <pre> |
| {{Newspaper articles | | | {{Newspaper articles | |
| {{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}}
| + | | author = Jane {{Surname|Bablack}} |
− | | year = 1955
| + | | year = 1955 |
− | | day = 16
| + | | day = 16 |
− | | month = 12
| + | | month = 12 |
− | }}
| + | }} |
| {{Daily Record article | | {{Daily Record article |
− | | title = Gerstenslager's Last Buggy in Marshallville
| + | | title = Gerstenslager's Last Buggy in Marshallville |
− | | year = 1967
| + | | year = 1967 |
− | | day = 18
| + | | day = 18 |
− | | month = 04
| + | | month = 04 |
− | | page = {{Cite page|3}}
| + | | page = {{Cite page|3}} |
| }} | | }} |
| }} | | }} |
Line 62: |
Line 66: |
| 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== | + | ===Example output=== |
| The two calls to [[Template:Daily Record article]] defined above produce the following:<div class="mw-code"> | | 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 |
− | | author = Jane {{Surname|Bablack}}
| + | | author = Jane {{Surname|Bablack}} |
− | | year = 1955
| + | | year = 1955 |
− | | day = 16
| + | | day = 16 |
− | | month = 12
| + | | month = 12 |
− | }}
| + | }} |
| {{Daily Record article | | {{Daily Record article |
− | | title = Gerstenslager's Last Buggy in Marshallville
| + | | title = Gerstenslager's Last Buggy in Marshallville |
− | | year = 1967
| + | | year = 1967 |
− | | day = 18
| + | | day = 18 |
− | | month = 04
| + | | month = 04 |
− | | page = {{Cite page|3}}
| + | | page = {{Cite page|3}} |
| + | }} |
| + | </div> |
| + | |
| + | ==Direct use of this template== |
| + | When a publication is likely to be relevant to the project only once or twice, direct use of this template is appropriate. Usage is similar to above, with one notable exception: there is no <code>title</code> parameter. Rather, there is an <code>article_title</code> parameter and a <code>newspaper_title</code> parameter. The <code>newspaper_title</code>, if supplied, will be displayed in the same location as "The Daily Record" examples above and it will be italicized, but it will not a link unless that brackets are added manually. |
| + | |
| + | ===Example source=== |
| + | <pre> |
| + | {{Newspaper articles | |
| + | {{Newspaper article |
| + | | article_title=From Carriages to Cars: Over the Years, The Gerstenslager Co. Has Seen the Ride Go From Horse-Drawn to Horsepower |
| + | | year=1997 |
| + | | day=17 |
| + | | month=1 |
| + | | author=[[Wooster Area Chamber of Commerce]] |
| + | }} |
| + | {{Newspaper article |
| + | | newspaper_title=The Plain Dealer |
| + | | article_title=Wooster—To Native of Wayne County, The Name George Gerstenslager is What the Name Henry Ford is to Detroiters |
| + | | year=1968 |
| + | | month=07 |
| + | | day=19 |
| + | }} |
| + | }} |
| + | </pre> |
| + | ===Example output=== |
| + | The two calls to [[Template:Daily Record article]] defined above produce the following:<div class="mw-code"> |
| + | {{Newspaper article |
| + | | article_title=From Carriages to Cars: Over the Years, The Gerstenslager Co. Has Seen the Ride Go From Horse-Drawn to Horsepower |
| + | | year=1997 |
| + | | day=17 |
| + | | month=1 |
| + | | author=[[Wooster Area Chamber of Commerce]] |
| + | }} |
| + | {{Newspaper article |
| + | | newspaper_title=The Plain Dealer |
| + | | article_title=Wooster—To Native of Wayne County, The Name George Gerstenslager is What the Name Henry Ford is to Detroiters |
| + | | year=1968 |
| + | | month=07 |
| + | | day=19 |
| }} | | }} |
− | </div></noinclude><includeonly>* {{ | + | </div> |
| + | </noinclude><includeonly>* {{ |
| #if: {{{month|}}} | | #if: {{{month|}}} |
| | {{MONTHNAME | | | {{MONTHNAME |