Difference between revisions of "Template:Cite bklyn"
imported>Frietjes |
imported>Frietjes (tracking) |
||
| Line 3: | Line 3: | ||
| url = {{#if:{{{image|}}} | | url = {{#if:{{{image|}}} | ||
|http://bklyn.newspapers.com/image/{{{image|}}}/?terms={{urlencode:{{#if:{{{search|}}}|{{{search|}}}|{{{title|}}}}}}} | |http://bklyn.newspapers.com/image/{{{image|}}}/?terms={{urlencode:{{#if:{{{search|}}}|{{{search|}}}|{{{title|}}}}}}} | ||
| − | |http://bklyn.newspapers.com/search/#query={{urlencode:{{#if:{{{search|}}}|{{{search|}}}|{{{title|}}}}}}}&ymd={{#time:Y-m-d|{{{date|}}}}} | + | |{{#if:{{{date|}}} |
| + | |http://bklyn.newspapers.com/search/#query={{urlencode:{{#if:{{{search|}}}|{{{search|}}}|{{{title|}}}}}}}&ymd={{#time:Y-m-d|{{{date|}}}}} | ||
| + | |http://bklyn.newspapers.com/ | ||
| + | }} | ||
}} | }} | ||
| + | | format = {{#if:{{{image|}}}||search}} | ||
| work = [[Brooklyn Daily Eagle]] | | work = [[Brooklyn Daily Eagle]] | ||
| location = [[Brooklyn|Brooklyn, NY]] | | location = [[Brooklyn|Brooklyn, NY]] | ||
| Line 16: | Line 20: | ||
| quote = {{{quote|}}} | | quote = {{{quote|}}} | ||
| ref = {{{ref|}}} | | ref = {{{ref|}}} | ||
| − | }}</includeonly><noinclude> | + | }}{{#if:{{{image|}}} |
| + | | | ||
| + | |{{#if:{{{date|}}} | ||
| + | |[[Category:Pages using cite bklyn with search links]] | ||
| + | |[[Category:Pages using cite bklyn without an image or date parameters]] | ||
| + | }} | ||
| + | }}</includeonly><noinclude> | ||
{{documentation|content= | {{documentation|content= | ||
This template may be used to cite an article in the digitized [[Brooklyn Eagle|Brooklyn Daily Eagle]] at newspapers.com. | This template may be used to cite an article in the digitized [[Brooklyn Eagle|Brooklyn Daily Eagle]] at newspapers.com. | ||
| Line 26: | Line 36: | ||
== Parameters == | == Parameters == | ||
By default, the generated URL is a search link which searches for the article title on the specified date. If you have a link to a specific digitized page, you can used the {{para|image}} parameter with the number of the digitized page (as it appears in the url). In that case, you should consider replacing this template with {{tl|cite news}} by changing <code><nowiki>{{cite bklyn|</nowiki></code> to <code><nowiki>{{cite news|work=[[Brooklyn Daily Eagle]]|location=[[Brooklyn|Brooklyn, NY]]|url=</nowiki></code> with the full url for the digitized page. The remaining parameters of this template are simply passed through to {{tl|cite news}} and are explained at the documentation page for {{tl|cite news}}. | By default, the generated URL is a search link which searches for the article title on the specified date. If you have a link to a specific digitized page, you can used the {{para|image}} parameter with the number of the digitized page (as it appears in the url). In that case, you should consider replacing this template with {{tl|cite news}} by changing <code><nowiki>{{cite bklyn|</nowiki></code> to <code><nowiki>{{cite news|work=[[Brooklyn Daily Eagle]]|location=[[Brooklyn|Brooklyn, NY]]|url=</nowiki></code> with the full url for the digitized page. The remaining parameters of this template are simply passed through to {{tl|cite news}} and are explained at the documentation page for {{tl|cite news}}. | ||
| + | == See also == | ||
| + | * {{clc|Pages using cite bklyn with search links}} | ||
| + | * {{clc|Pages using cite bklyn without an image or date parameters}} | ||
| + | |||
==Template data== | ==Template data== | ||
{{TemplateDataHeader}} | {{TemplateDataHeader}} | ||
Revision as of 14:49, 18 December 2016
This template may be used to cite an article in the digitized Brooklyn Daily Eagle at newspapers.com.
Usage
Basic usage
{{cite bklyn|title = | search = | date = | page = }}
Full usage
{{cite bklyn|last = | first = | authorlink = |title = | search = | date = | page = | quote = | accessdate = | ref = }}
Parameters
By default, the generated URL is a search link which searches for the article title on the specified date. If you have a link to a specific digitized page, you can used the |image= parameter with the number of the digitized page (as it appears in the url). In that case, you should consider replacing this template with {{cite news}} by changing {{cite bklyn| to {{cite news|work=[[Brooklyn Daily Eagle]]|location=[[Brooklyn|Brooklyn, NY]]|url= with the full url for the digitized page. The remaining parameters of this template are simply passed through to {{cite news}} and are explained at the documentation page for {{cite news}}.
See also
- Category:Pages using cite bklyn with search links (0)
- Category:Pages using cite bklyn without an image or date parameters (0)
Template data
TemplateData for Cite bklyn
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Source title | title | The title of the source page on the website; displays in quotes
| String | optional |
| Page image number | image | The page image number as it appears in the newspapers.com archive
| String | optional |
| Date | date | The date the article appeared in the newspaper
| String | required |
| Search expression | search | A search expression which leads to the particular page in the newspaper. By default, the title is used.
| String | optional |
| Last name | last last1 author author1 authors | The surname of the author; don't wikilink, use 'authorlink'. | Line | optional |
| First name | first first1 | Given or first name, middle names, or initials of the author; don't wikilink, use 'authorlink'. | Line | optional |
| URL access date | accessdate | The full date when the original URL was accessed; do not wikilink | String | optional |
| Page | page | Page in the source that supports the content; displays after 'p.' | String | optional |
| Quote | quote | Relevant text quoted from the source; displays last, enclosed in quotes; needs to include terminating punctuation | String | optional |
| Ref | ref | An anchor identifier; can be made the target of wikilinks to full references; special value 'harv' generates an anchor suitable for the harv template | String | optional |
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |