Difference between revisions of "Template:Cite bklyn"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(backward compatible parameters)
imported>Zyxw
(add category, misc formatting)
 
Line 29: Line 29:
 
{{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.
 +
 
== Usage ==
 
== Usage ==
 +
 
=== Basic usage ===
 
=== Basic usage ===
<pre>{{cite bklyn|title = | search = | date = | page = }}</pre>
+
{{tlcw|cite bklyn | title {{=}} | search {{=}} | date {{=}} | page {{=}} }}
 +
 
 
=== Full usage ===
 
=== Full usage ===
<pre>{{cite bklyn|last = | first = | authorlink = |title = | search = | date = | page = | quote = | accessdate = | ref = }}</pre>
+
{{tlcw|cite bklyn | last {{=}} | first {{=}} | authorlink {{=}} | title {{=}} | search {{=}} | date {{=}} | page {{=}} | quote {{=}} | accessdate {{=}} | ref {{=}} }}
 +
 
 
== 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 ==
+
 
 +
== Tracking categories ==
 
* {{clc|Pages using cite bklyn with search links}}
 
* {{clc|Pages using cite bklyn with search links}}
 
* {{clc|Pages using cite bklyn without image or date parameters}}
 
* {{clc|Pages using cite bklyn without image or date parameters}}
  
 
==Template data==
 
==Template data==
{{TemplateDataHeader}}
+
{{TemplateData header}}
 
<templatedata>{
 
<templatedata>{
 
         "description": "",
 
         "description": "",
Line 116: Line 121:
  
 
[[Category:Specific-source templates]]
 
[[Category:Specific-source templates]]
 +
[[Category:Templates that add a tracking category]]
 
}}</noinclude>
 
}}</noinclude>

Latest revision as of 19:33, 2 March 2017

Template documentation

This template may be used to cite an article in the digitized Brooklyn Daily Eagle at newspapers.com.

Usage

Basic usage

Template:Tlcw

Full usage

Template:Tlcw

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}}.

Tracking categories

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Cite bklyn

Template parameters

ParameterDescriptionTypeStatus
Source titletitle

The title of the source page on the website; displays in quotes

Default
untitled
Stringoptional
Page image numberimage

The page image number as it appears in the newspapers.com archive

Default
Stringoptional
Datedate

The date the article appeared in the newspaper

Default
Stringrequired
Search expressionsearch

A search expression which leads to the particular page in the newspaper. By default, the title is used.

Default
Stringoptional
Last namelast last1 author author1 authors

The surname of the author; don't wikilink, use 'authorlink'.

Lineoptional
First namefirst first1

Given or first name, middle names, or initials of the author; don't wikilink, use 'authorlink'.

Lineoptional
URL access dateaccessdate

The full date when the original URL was accessed; do not wikilink

Stringoptional
Pagepage

Page in the source that supports the content; displays after 'p.'

Stringoptional
Quotequote

Relevant text quoted from the source; displays last, enclosed in quotes; needs to include terminating punctuation

Stringoptional
Refref

An anchor identifier; can be made the target of wikilinks to full references; special value 'harv' generates an anchor suitable for the harv template

Stringoptional