Шаблон:quote-book/док

Usage[уреди]

This template can be used in a dictionary entry to provide a quotation from a book.

For citations in "References" and "Further reading" sections, and on talk pages, use {{cite-book}}.

Sample templates[уреди]

Most commonly used parameters
#* {{quote-book|author=|authorlink=|chapter=|editor=|editors=|title=|url=|archiveurl=|archivedate=|edition=|location=|publisher=|date=|isbn=|oclc=|volume=|section=|sectionurl=|page=|pages=|pageurl=|passage=|lang=}}
All available parameters
#* {{quote-book|indent=|author=|last=|first=|authorlink=|author2=|last2=|first2=|authorlink2=|author3=|last3=|first3=|authorlink3=|author4=|last4=|first4=|authorlink4=|author5=|last5=|first5=|authorlink5=|coauthors=|quotee=|quoted_in=|chapter=|chapterurl=|trans-chapter=|mainauthor=|editor=|editors=|title=|trans-title=|series=|seriesvolume=|url=|archiveurl=|archivedate=|edition=|genre=|format=|language=|type=|original=|by=|origdate=|origmonth=|origyear=|location=|publisher=|month=|year=|date=|nodate=|accessdate=|accessmonth=|accessyear=|doi=|isbn=|issn=|jstor=|lccn=|oclc=|ol=|id=|volume=|volume_plain=|issue=|section=|sectionurl=|line=|lines=|page=|pages=|pageurl=|column=|columns=|columnurl=|others=|passage=|brackets=|translation=|transliteration=|lang=}}

Certain basic parameters can be used in the template without any named parameters, as follows:

#* {{quote-book|[year]|[author]|[title]|[url]|[page]|[passage]}}

This will not work if any of the parameters contains an equals ("=") sign. The value of any parameter containing an equals sign must be surrounded by <nowiki> tags, like this: "<nowiki>http://foo.com?id=bar</nowiki>". Alternatively, use a named parameter such as url.

Parameters[уреди]

All parameters are optional except those marked "Mandatory", and may contain inline interwiki or external links as needed.

Parameter Remarks
author
or
last and first
The name of the author of the book quoted. Use either author, or last and first (for the first name, and middle names or initials), not both. Additional authors can be added using the parameters author2 to author5, or last2 and first2 to last5 and first5.
authorlink The name of an English Wikipedia article about the author, which will be linked to the name(s) specified using author. Additional articles can be linked to other authors’ names using the parameters authorlink2 to authorlink5. Do not add the prefix ":en:" or "w:".

Alternatively, link each person’s name directly, like this: "author=[[w:Kathleen Taylor (biologist)|Kathleen Taylor]]" or "author={{w|Samuel Johnson}}".

coauthors The names of the coauthor(s) of the book. Separate multiple names with semicolons.
mainauthor If you wish to indicate who a part of a book such as a foreword or introduction was written by, use |author= to do so, and use |mainauthor= to indicate the author(s) of the main part of the book.
editor
or
editors
The name(s) of the editor(s) of the book. Separate multiple names with semicolons.
quotee The name of the person being quoted, if the whole passage quoted is a quotation of someone other than the author.
chapter The chapter of the book quoted. You can either specify a chapter number in Arabic or Roman numerals (for example, "chapter=7" or "chapter=VII") or a chapter title (for example, "chapter=Introduction").
trans-chapter If the chapter of the book is not in English, this parameter can be used to provide an English translation of the chapter.
chapterurl The URL or web address of an external webpage to link to the chapter title of the book. For example, if the book has no page numbers, the webpage can be linked to the chapter title using this parameter. Do not link to any website that has content in breach of copyright.
title Mandatory: the title of the book.
trans-title If the title of the book is not in English, this parameter can be used to provide an English translation of the title.
series and seriesvolume The book series that the book belongs to, and the volume number of the book within the series.
format The format that the book is in, for example, "hardcover" or "paperback".
genre The literary genre of the book, for example, "fiction" or "non-fiction".
language The language that the book is written in. If the book is written in English, it is not necessary to specify this fact.
url The URL or web address of an external website containing the full text of the book. Do not link to any website that has content in breach of copyright.
archiveurl and archivedate
or
accessdate, accessmonth or accessyear
Use archiveurl and archivedate (which must be used together) to indicate the URL or web address of a webpage on a website such as the Internet Archive or Perma.cc at which the webpage has been archived, and the date on which the webpage was archived.

Alternatively, if the webpage cannot be archived, use accessdate (or accessyear with or without accessmonth) to indicate the date when the webpage was last accessed. (If the webpage has been archived, it is unnecessary to use any of the access- parameters.)

edition The edition of the book quoted, for example, "2nd" or "3rd corr. and rev.". If quoting from the first edition of the book, it is usually not necessary to specify this fact.
location The location where the book was published. If more than one location is stated, separate the locations with semicolons, like this: "London; New York, N.Y.".
publisher The name of one or more publishers of the book. If more than one publisher is stated, separate the names with semicolons.
year (and month)
or
date
The year (and month), or date, that the book was published. Use either year (and month), or date, not both. Type |year=a. 1665, |year=c. 1665, or |year=p. 1665 to indicate a publication year that is ante (before), circa (about), or post (after) the year specified.

If no year or date is specified, the template displays the message "(Can we date this quote?)". The message can be suppressed using "nodate=yes", but it is recommended that you try to provide a date or approximate date rather than do so.

year_published If year is used to state the year when the original version of the book was published, year_published can be used to state the year in which the version quoted from was published, for example, "|year=1665|year_published=2005".
origdate
or
origyear(and origmonth)
The date when the book was originally published. Use either origdate, or origyear (and origmonth), not both.
volume
or
volume_plain
The volume number of the book. Use volume_plain if you wish to suppress the word volume appearing in front of the volume number and identify the volume in some other way (for example, "book II").
issue The issue number of the book.
section Use this parameter to identify a page or other portion of a book that does not have page numbers, for example, "Act II, scene iv".
sectionurl The URL or web address of the webpage containing the section of the book referred to. The section number will be linked to this webpage.
line
or
lines
If quoting a play or a poem, the line number(s) quoted. Use line to indicate a single page, and lines to indicate a range of lines. For example, lines=1–2 will display "lines 1–2". Use an en dash to separate the line numbers in a range.
page
or
pages
The page number or range of page numbers of the book. Use an en dash to separate the page numbers in the range.
pageurl The URL or web address of the webpage containing the page(s) of the book referred to. The page number(s) will be linked to this webpage.
column
or
columns
The column number or range of column numbers of the book. Use an en dash to separate the column numbers in the range.
columnurl The URL or web address of the webpage containing the column(s) of the book referred to. The column number(s) will be linked to this webpage.
doi, isbn, issn, jstor, lccn, oclc, ol, and/or id The digital object identifier (DOI), JSTOR number, International Standard Book Number (ISBN), International Standard Serial Number (ISSN), Library of Congress Control Number (LCCN), Online Computer Library Center (OCLC) number (which can be looked up at the WorldCat website), and/or Open Library number of the book.

Use id for an identifier other than the ones listed above.

type, original, and by If you are citing a derivative work such as a translation, use type to state the type of derivative work, original to state the title of the original work, and by to state the author of the original work. If type is not indicated, the template assumes that the derivative work is a translation.
quoted_in If the passage quoted is from book A which states that the passage is from another book B, do the following:
  • Use title, edition, and others to provide information about book B. (As an example, others can be used like this: "others=1893, page 72".)
  • Use quoted_in (for the title of book A), location, publisher, year, page, oclc, and other standard parameters to provide information about book A.
passage The portion of the book being quoted. Highlight the term defined in bold in the passage quoted like this: "'''humanities'''".
brackets Use "brackets=on" to surround a quotation with brackets. This indicates that the quotation either contains a mere mention of a term (for example, "some people find the word manoeuvre hard to spell") rather than an actual use of it (for example, "we need to manoeuvre carefully to avoid causing upset"), or does not provide an actual instance of a term but provides information about related terms.
translation If the passage quoted is not in English, this parameter can be used to provide an English translation of it.
transliteration If the passage quoted uses a different writing system from the Latin alphabet (the usual alphabet used in English), this parameter can be used to provide a transliteration of it into the Latin alphabet.
lang A code indicating the language of the quotation; for a list of the codes, see Wiktionary:List of languages. The entry page will be added to a category in the form "Category:[Language] terms with quotations".
indent Instead of using wikitext outside the quotation template to indent it (for example, "#* {{quote-book|..."), you can use this parameter to specify the indent inside the template (for example, "{{quote-book|indent=#*|...")
Quoting a new version of a book
The following parameters can be used to indicate a new version of the book, such as a reprint, a new edition, or some other republished version.
newversion The template assumes that a new version of the book is referred to if location2 (see below) is used. It then behaves as follows:
  • If an author, editor and/or book title are stated, it indicates "republished as".
  • If only the place of publication, publisher and date of publication are stated, it indicates "republished".
  • If an edition is stated, no text is displayed.

Use newversion to override this behaviour, for example, by indicating "quoted in" or "reprinted as".

2ndauthor (or 2ndlast and 2ndfirst) and 2ndauthorlink Use these parameters to indicate the author of the new version of the book.
editor2, title2, location2, etc. Most of the parameters listed above can be applied to a new version of the book by adding "2" after the parameter name.

It is recommended that at a minimum the imprint information of the new version of the book should be provided using location2, publisher2, and date2 or year2. Note that the use of location2 is mandatory to cause the template to recognize that a new version of the book is being indicated.

Examples[уреди]

Basic example
  • Wikitext: {{quote-book|author=William Shakespeare|authorlink=William Shakespeare|title=[[w:First Folio|Mr. William Shakespeares Comedies, Histories, & Tragedies: Published According to the True Originall Copies]]|location=London|publisher=Printed by [[w:William Jaggard|Isaac Iaggard]], and [[w:Edward Blount|Ed[ward] Blount]]|year=c. 1601–1602|year_published=1623|page=255|pageurl=https://books.google.com/books?id=uNtBAQAAMAAJ&pg=PA255|oclc=606515358|passage='''Twelfe Night''', Or vvhat you vvill. [title of play]}}
  • Result:
Translation
  • Wikitext: {{quote-book|author=Pat Shaw Iversen, transl.|chapter=Soup from a Sausage Peg|title=The Snow Queen and Other Tales|series=Signet Classic|seriesvolume=CT334|location=New York, N.Y.|publisher={{w|New American Library}}|year=1966|page=224|pageurl=http://books.google.com/books?id=2tjWAAAAMAAJ&q=%22from+your+own+nook+and+cranny%22#search_anchor|oclc=636818779|original=Fairy Tales|by={{w|Hans Christian Andersen}}|passage=It's strange to come away from home, from your own '''nook and cranny''', to go by ship – which is also a kind of '''nook and cranny''' – and then suddenly be more than a hundred miles away and stand in a foreign land!}}
  • Result:
    • 1966, Pat Shaw Iversen, transl., “Soup from a Sausage Peg”, in The Snow Queen and Other Tales (Signet Classic; CT334) ((Please specify the language of the quote)), New York, N.Y.: New American Library, translation of Fairy Tales by Hans Christian Andersen, OCLC 636818779, strana 224:
      Lua грешка in Модул:languages/errorGetBy at line 14: Please specify a language or etymology language code in the first parameter; the value "<strong class="error"><span class="scribunto-error" id="mw-scribunto-error-51fddb02">Script error: The function &quot;first_lang&quot; does not exist.</span></strong>" is not valid (see Wiktionary:List of languages)..
One book quoted in another
  • Wikitext: {{quote-book|author=David George Ritchie|authorlink=David George Ritchie|quotee={{w|Andrew Seth Pringle-Pattison}}|title=Hegelianism and Personality|edition=2nd|others=1893, page 72, note 1|quoted_in=''Darwin and Hegel, with other Philosophical Studies''|location=London|publisher=S. Sonnenschein & Co.; New York, N.Y.: [[w:Macmillan Publishers (United States)|Macmillan & Co.]]|year=1893|page=72, note 1|pageurl=http://books.google.com/books?id=8yGEAHvAwiIC&q=%22An+absolute+system+cannot+afford+to+leave+any+nook+or+cranny+of+existence+unexplored%22#search_anchor|oclc=3299658|passage=An absolute system cannot afford to leave '''any nook or cranny''' of existence unexplored.}}
  • Result:
    • 1893, David George Ritchie, quoting Andrew Seth Pringle-Pattison, Hegelianism and Personality ((Please specify the language of the quote)), 1893, page 72, note 1, 2nd edition, quoted in 'Darwin and Hegel, with other Philosophical Studies', London: S. Sonnenschein & Co.; New York, N.Y.: Macmillan & Co., OCLC 3299658, strana 72, note 1:
      Lua грешка in Модул:languages/errorGetBy at line 14: Please specify a language or etymology language code in the first parameter; the value "<strong class="error"><span class="scribunto-error" id="mw-scribunto-error-51fddb02">Script error: The function &quot;first_lang&quot; does not exist.</span></strong>" is not valid (see Wiktionary:List of languages)..
New version of book quoted
  • Wikitext: {{quote-book|author=John Boyle O'Reilly|authorlink=John Boyle O'Reilly|chapter=On the Trail|title=[[w:Moondyne|Moondyne: A Story from the Under-world]]|location=London|publisher=[[w:Routledge|George Routledge and Sons]]|year=1878|year_published=1879|oclc=39983928|title2=Moondyne: A Story of Convict Life in Australia|location2=London|publisher2=George Routledge & Sons, Limited, Broadway House, {{w|Ludgate Hill}}|year2=[1880s]|section2=book first|pages2=23–24|pageurl2=https://archive.org/stream/moondynestory00oreirich#page/24/mode/1up/|oclc2=83033698|passage=It was sore travelling for horse and man under the blazing sun, with no food nor water save what he pressed from the pith of the palms, and even these were growing scarce. The only life on the plains was the hard and dusty scrub. Every hour brought a more hopeless and '''grislier''' desolation.}}
  • Result:
Journal article reprinted in a book
  • Wikitext: {{quote-book|author=Hayden Carruth|authorlink=Hayden Carruth|chapter=Making It New|title={{w|The Hudson Review}}|location=New York, N.Y.|publisher=Hudson Review, Inc.|month=summer|year=1968|volume=XXI|issue=2|issn=2325-5935|oclc=920393805|newversion=reprinted as|chapter2=From ‘Making It New’ [Body Rags]|editor2=Howard Nelson|title2=On the Poetry of Galway Kinnell: The Wages of Dying|series2=Under Discussion|location2=Ann Arbor, Mich.|publisher2={{w|University of Michigan Press}}|year2=1987|page2=75|pageurl2=https://books.google.com/books?id=7cXV26PmJUYC&pg=PA75|isbn2=978-0-472-09376-2|passage=In his [{{w|Galway Kinnell}}'s] new book, ''Body Rags'', he has brought this style to a kind of perfection, especially in two poems about the killing of animals, "The Porcupine" and "The Bear." These are the '''grisliest''' poems I have ever read.}}
  • Result:
    • 1968 summer, Hayden Carruth, “Making It New”, in The Hudson Review, volume XXI, number 2 ((Please specify the language of the quote)), New York, N.Y.: Hudson Review, Inc., ISSN 2325-5935, OCLC 920393805; reprinted as “From ‘Making It New’ [Body Rags]”, in Howard Nelson, editor, On the Poetry of Galway Kinnell: The Wages of Dying (Under Discussion), Ann Arbor, Mich.: University of Michigan Press, 1987, →ISBN, strana 75:
      Lua грешка in Модул:languages/errorGetBy at line 14: Please specify a language or etymology language code in the first parameter; the value "<strong class="error"><span class="scribunto-error" id="mw-scribunto-error-51fddb02">Script error: The function &quot;first_lang&quot; does not exist.</span></strong>" is not valid (see Wiktionary:List of languages)..

Technical information[уреди]

This template is a user-friendly wrapper for {{quote-meta}} and {{quote-meta/source}}.

See also[уреди]

  • {{cite-book}} – for citations in reference sections and on talk pages
  • {{cite book}} – the corresponding English Wikipedia template