Template:Book/doc

From Pittsburgh Streets

The {{book}} template is used to make a citation for a book. Sources that use the {{book}} template are added to Category:Book sources.

Full syntax

Template Parameter Description
{{book
 |first=
 |last=
 |title=
 |subtitle=
 |series=
 |publisher=
 |city=
 |year=
 |isbn=
 |gbooks=
 |hathi=
 |histpgh=
 |archive=
 |lccn=
 |page={{{page|}}}
 |is-subref={{{is-subref|}}}
 |source-name={{subst:PAGENAME}}
}}

{{book
 |prefix1=
 |first1=
 |last1=
 |suffix1=
 |prefix2=
 |first2=
 |last2=
 |suffix2=
 |prefix3=
 |first3=
 |last3=
 |suffix3=
 |prefix4=
 |first4=
 |last4=
 |suffix4=
 |prefix5=
 |first5=
 |last5=
 |suffix5=
 |prefix6=
 |first6=
 |last6=
 |suffix6=
 |editor-first1=
 |editor-last1=
 |editor-suffix1=
 |editor-first2=
 |editor-last2=
 |editor-suffix2=
 |editor-first3=
 |editor-last3=
 |editor-suffix3=
 |illustrator-first=
 |illustrator-last=
 |title=
 |subtitle1=
 |subtitle2=
 |subtitle3=
 |edition=
 |volume=
 |part=
 |description=
 |series=
 |publisher=
 |city=
 |year=
 |isbn=
 |donslist=
 |gbooks=
 |hathi=
 |histpgh=
 |archive=
 |lccn=
 |gutenberg=
 |url=
 |note=
 |page-descriptor=
 |page-descriptor-plural=
 |page={{{page|}}}
 |is-subref={{{is-subref|}}}
 |source-name={{subst:PAGENAME}}
}}
prefix1 First author's prefix (e.g., Mrs.). Do not use this for honorary prefixes like "Dr." or "Prof." See {{name}}. For a book with only one author, prefix can be used as a synonym.
first1 First author's first name. For a book with only one author, first can be used as a synonym.
last1 First author's last name, or the whole name of the first author when that author has a single name (such as an organization). For a book with only one author, last can be used as a synonym.
suffix1 First author's suffix (e.g., Jr.). See {{name}}. For a book with only one author, suffix can be used as a synonym.
prefix2 Second author's name.
first2
last2
suffix2
prefix3 Third author's name.
first3
last3
suffix3
prefix4 Fourth author's name.
first4
last4
suffix4
prefix5 Fifth author's name.
first5
last5
suffix5
prefix6 Sixth author's name.
first6
last6
suffix6
editor-first1 First editor's first name. For a book with only one editor, editor-first can be used as a synonym.
editor-last1 First editor's last name, or the whole name of the first editor when that editor has a single name (such as an organization). For a book with only one editor, editor-last can be used as a synonym.
editor-suffix1 First editor's suffix (e.g., Jr.). See {{name}}. For a book with only one editor, editor-suffix can be used as a synonym.
editor-first2 Second and third editors' names.
editor-last2
editor-suffix2
editor-first3
editor-last3
editor-suffix3
illustrator-first Illustrator's first name.
illustrator-last Illustrator's last name.
title Book title. This should be in title case.
subtitle1 First subtitle. This should be in title case. For a book with only one subtitle, subtitle can be used as a synonym.
subtitle2 Additional subtitles.
subtitle3
edition The edition of the book. This will be put before "ed.", so it should be an ordinal number (e.g., 3rd) or an adjective phrase (e.g., millennium).
volume Volume number in a multi-volume work. See {{volume}} for details.
part If the work is split into parts, a number indicating the part.
description Description of the book, in lieu of (or in addition to) the title. The description should not have an initial capital (unless the first word should be capitalized anyway, e.g., a name), so that it will appear correctly in subreferences.
series The title of the book series.
publisher The name of the publisher.
city The city where the book was published.
year The year of publication.
isbn One or more ISBNs, separated by spaces. Prefer ISBN-13s if available.
donslist One or more DonsList.net IDs, separated by spaces.
gbooks One or more Google Books IDs, separated by spaces.
hathi One or more HathiTrust IDs, separated by spaces.
histpgh One or more Historic Pittsburgh IDs, separated by spaces.
archive One or more Internet Archive IDs, separated by spaces.
lccn One or more LCCNs (Library of Congress Control Numbers), separated by spaces.
gutenberg One or more Project Gutenberg IDs, separated by spaces.
url One or more URLs for the book, separated by spaces.
note A note to be appended to the end of the citation.
page-descriptor A descriptor of the numbered "pages", e.g., plate for an atlas that has numbered plates instead of pages.
page-descriptor-plural The plural version of page-descriptor, e.g., plates.
page A specific page or page range being cited. Normally this should not be provided for the source itself (i.e., in the "Source" namespace), but rather passed as an argument when the source is cited on a page. When providing a value for page, if the cited pages are not actually numbered, surround the value with square brackets: [...]. (See {{page}}.)
is-subref Set this parameter to true when citing this book inside the definition of another source in the "Source" namespace. This changes some punctuation and suppresses the categorization of the source in Category:Book sources.
source-name The page name of this source (in the "Source" namespace). This is used to provide a link to the source page.

Usage examples

{{book
 |first=Bob
 |last=Regan
 |title=The Names of Pittsburgh
 |subtitle=How the city, neighborhoods, streets, parks and more got their names
 |publisher=The Local History Company
 |city=Pittsburgh
 |year=2009
 |isbn=978-0-9770429-7-5
 |page={{{page|}}}
 |is-subref={{{is-subref|}}}
 |source-name=Regan
}}

Bob Regan. The Names of Pittsburgh: How the city, neighborhoods, streets, parks and more got their names. The Local History Company, Pittsburgh, 2009, ISBN 978-0-9770429-7-5. [view source]regan

{{book
 |first1=Dan
 |last1=Rooney
 |first2=Carol
 |last2=Peterson
 |title=Allegheny City
 |subtitle=A history of Pittsburgh's North Side
 |publisher=University of Pittsburgh Press
 |city=Pittsburgh
 |year=2013
 |isbn=978-0-8229-4422-5
 |page={{{page|}}}
 |is-subref={{{is-subref|}}}
 |source-name=Rooney-peterson
}}

Dan Rooney and Carol Peterson. Allegheny City: A history of Pittsburgh's North Side. University of Pittsburgh Press, Pittsburgh, 2013, ISBN 978-0-8229-4422-5. [view source]rooney-peterson

{{book
 |first1=A.{{thin}}A.
 |last1=Lambing
 |first2=J.{{thin}}W.{{thin}}F.
 |last2=White
 |title=Allegheny County
 |subtitle=Its early history and subsequent development
 |publisher=Snowden & Peterson
 |city=Pittsburgh
 |year=1888
 |gbooks=6bY-AAAAYAAJ
 |hathi=008957728 100693049
 |histpgh=00aee8946m
 |archive=centennialhistor00lamb
 |lccn=18008828
 |page={{{page|}}}
 |is-subref={{{is-subref|}}}
 |source-name=Lambing
}}

A. A. Lambing and J. W. F. White. Allegheny County: Its early history and subsequent development. Snowden & Peterson, Pittsburgh, 1888. Google Books 6bY-AAAAYAAJ; HathiTrust 008957728, 100693049; Historic Pittsburgh 00aee8946m; Internet Archive centennialhistor00lamb; LCCN 18008828. [view source]lambing

{{book
 |first=George
 |last=Washington
 |title=The Journal of Major George Washington
 |subtitle1=Sent by the Hon. Robert Dinwiddie, Esq; His Majesty's Lieutenant-Governor, and Commander in Chief of Virginia, to the commandant of the French forces on Ohio
 |subtitle2=To which are added, the governor's letter, and a translation of the French officer's answer
 |publisher=William Hunter
 |city=Williamsburg
 |year=1754
 |url=https://digitalcommons.unl.edu/etas/33/
 |page={{{page|}}}
 |is-subref={{{is-subref|}}}
 |source-name=Washington
}}

George Washington. The Journal of Major George Washington: Sent by the Hon. Robert Dinwiddie, Esq; His Majesty's Lieutenant-Governor, and Commander in Chief of Virginia, to the commandant of the French forces on Ohio: To which are added, the governor's letter, and a translation of the French officer's answer. William Hunter, Williamsburg, 1754. https://digitalcommons.unl.edu/etas/33/. [view source]washington

{{book
 |last=Allegheny City Society
 |title=Allegheny City, 1840–1907
 |publisher=Arcadia Publishing
 |city=Charleston, S.{{thin}}C.
 |year=2007
 |isbn=978-0-7385-5500-3
 |page=10–11
 |is-subref=true
 |source-name=Allegheny-city
}}

Allegheny City Society, Allegheny City, 1840–1907, pp. 10–11, Arcadia Publishing, Charleston, S. C., 2007, ISBN 978-0-7385-5500-3

{{book
 |editor-first=George T.
 |editor-last=Fleming
 |title=Pittsburgh
 |subtitle1=How to see it
 |subtitle2=A complete, reliable guide book with illustrations, the latest map and complete index
 |publisher=William G. Johnston Co.
 |city=Pittsburgh
 |year=1916
 |gbooks=02NAAAAAYAAJ
 |archive=bub_gb_02NAAAAAYAAJ
 |source-name=How-to-see-it
}}

George T. Fleming, ed. Pittsburgh: How to see it: A complete, reliable guide book with illustrations, the latest map and complete index. William G. Johnston Co., Pittsburgh, 1916. Google Books 02NAAAAAYAAJ; Internet Archive bub_gb_02NAAAAAYAAJ. [view source]how-to-see-it

{{book
 |editor-first=George T.
 |editor-last=Fleming
 |title=Pittsburgh
 |subtitle1=How to see it
 |subtitle2=A complete, reliable guide book with illustrations, the latest map and complete index
 |publisher=William G. Johnston Co.
 |city=Pittsburgh
 |year=1916
 |gbooks=02NAAAAAYAAJ
 |archive=bub_gb_02NAAAAAYAAJ
 |is-subref=true
 |source-name=How-to-see-it
}}

George T. Fleming, ed., Pittsburgh: How to see it: A complete, reliable guide book with illustrations, the latest map and complete index, William G. Johnston Co., Pittsburgh, 1916 (Google Books 02NAAAAAYAAJ; Internet Archive bub_gb_02NAAAAAYAAJ)

{{book
 |last=Squirrel Hill Historical Society
 |editor-first=Helen
 |editor-last=Wilson
 |title=Squirrel Hill
 |subtitle=A neighborhood history
 |publisher=History Press
 |city=Charleston, S.{{thin}}C.
 |year=2017
 |isbn=978-1-4671-3625-9
 |source-name=Wilson-helen
}}

Squirrel Hill Historical Society. Helen Wilson, ed. Squirrel Hill: A neighborhood history. History Press, Charleston, S. C., 2017, ISBN 978-1-4671-3625-9. [view source]wilson-helen

{{book
 |last=Squirrel Hill Historical Society
 |editor-first=Helen
 |editor-last=Wilson
 |title=Squirrel Hill
 |subtitle=A neighborhood history
 |publisher=History Press
 |city=Charleston, S.{{thin}}C.
 |year=2017
 |isbn=978-1-4671-3625-9
 |is-subref=true
 |source-name=Wilson-helen
}}

Squirrel Hill Historical Society (Helen Wilson, ed.), Squirrel Hill: A neighborhood history, History Press, Charleston, S. C., 2017, ISBN 978-1-4671-3625-9

{{book
 |first=Charles
 |last=Fergus
 |illustrator-first=Amelia
 |illustrator-last=Hansen
 |title=Trees of Pennsylvania and the Northeast
 |edition=1st
 |publisher=Stackpole Books
 |city=Mechanicsburg, Penna.
 |year=2002
 |isbn=978-0-8117-2092-2
 |lccn=2002021747
 |source-name=Fergus
}}

Charles Fergus. Amelia Hansen, illus. Trees of Pennsylvania and the Northeast, 1st ed. Stackpole Books, Mechanicsburg, Penna., 2002, ISBN 978-0-8117-2092-2. LCCN 2002021747. [view source]fergus

{{book
 |first=Charles
 |last=Fergus
 |illustrator-first=Amelia
 |illustrator-last=Hansen
 |title=Trees of Pennsylvania and the Northeast
 |edition=1st
 |publisher=Stackpole Books
 |city=Mechanicsburg, Penna.
 |year=2002
 |isbn=978-0-8117-2092-2
 |lccn=2002021747
 |is-subref=true
 |source-name=Fergus
}}

Charles Fergus (Amelia Hansen, illus.), Trees of Pennsylvania and the Northeast, 1st ed., Stackpole Books, Mechanicsburg, Penna., 2002, ISBN 978-0-8117-2092-2 (LCCN 2002021747)

Descriptions

{{book
 |description=ordinance book of the Borough of East Birmingham
 |year=1849–1872
 |url=https://pittsburgharchives.access.preservica.com/uncategorized/IO_dedbfd48-bbfb-4051-9e7a-4069e8b8fee3/
 |source-name=East-birmingham-ordinances
}}

Ordinance book of the Borough of East Birmingham. 1849–1872. https://pittsburgharchives.access.preservica.com/uncategorized/IO_dedbfd48-bbfb-4051-9e7a-4069e8b8fee3/. [view source]east-birmingham-ordinances

In {{book
    |description=ordinance book of the Borough of East Birmingham
    |year=1849–1872
    |url=https://pittsburgharchives.access.preservica.com/uncategorized/IO_dedbfd48-bbfb-4051-9e7a-4069e8b8fee3/
    |is-subref=yes
    |source-name=East-birmingham-ordinances
   }}.

In ordinance book of the Borough of East Birmingham, 1849–1872 (https://pittsburgharchives.access.preservica.com/uncategorized/IO_dedbfd48-bbfb-4051-9e7a-4069e8b8fee3/).