सांचो:cite-book/documentation
Usage
[बदल]This template may be used for creating citations in “References” sections and on discussion pages. For indicating quotations in dictionary entries, please use {{quote-book}}
.
Sample template
[बदल]- Most commonly used parameters
{{cite-book |author= |authorlink= |chapter= |editor=|editors= |title= |url= |archiveurl= |archivedate= |edition= |location= |publisher= |year= |volume= |section= |page=|pages= |pageurl= |isbn= |oclc= |text=}}
- All available parameters
{{cite-book|author=|last=|first=|authorlink=|author2=|last2=|first2=|authorlink2=|author3=|last3=|first3=|authorlink3=|author4=|last4=|first4=|authorlink4=|author5=|last5=|first5=|authorlink5=|coauthors=|quotee=|chapter=|trans-chapter=|chapterurl=|entry=|entryurl=|trans-entry=|trans=|translator=|translators=|editor=|editors=|title=|trans-title=|series=|seriesvolume=|url=|archiveurl=|archivedate=|edition=|location=|publisher=|month=|year=|year_published=|date=|genre=|volume=|others=|section=|sectionurl=|page=|pages=|pageurl=|column=|columns=|columnurl=|doi=|isbn=|oclc=|id=|text=|passage=|text_block=|passage_block=|t=|translation=|lang=}}
Certain basic parameters can be used in the template without any named parameters, as follows:
#* {{cite-book|[year]|[author]|[title]|[url]|[page]|[passage]|[translation]}}
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
.
The following example:
{{cite-book|author=Bryan A. Garner|authorlink=Bryan A. Garner|title=A Dictionary of Modern Legal Usage|edition=3rd|location=New York, N.Y.; Oxford|publisher={{w|Oxford University Press}}|year=2011|isbn=978-0-19-538420-8}}
.
produces this:
- Bryan A. Garner (2011) A Dictionary of Modern Legal Usage, 3rd edition, New York, N.Y.; Oxford: Oxford University Press, →ISBN.
Parameters
[बदल]All parameters are optional except for those marked “Mandatory”, and may contain inline interwiki or external links as needed.
Parameter | Description |
---|---|
author or last and first
|
The author’s name. Use either author , or last and first , 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 author’s name. 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 the author’s name directly, like this: “ |
coauthors
|
The names of one or more coauthors. If there is more than one, separate the 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 or entry
|
The name of the chapter of, or entry in, the book referred to. 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 or trans-entry
|
If the chapter of, or entry in, the book is not in English, one of these parameters can be used to provide an English translation of the chapter or entry. |
chapterurl or entryurl
|
The URL or web address of a website where the full text of the chapter of, or entry in, the book can be accessed. Do not link to any website that has content in breach of copyright. |
trans , translator , or translators
|
The name(s) of the translator(s) of the book. Separate multiple names with semicolons. |
editor or editors
|
The name of one or more editors of the book. |
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. |
url
|
The URL or web address of a website where the full text of the book can be accessed. |
archiveurl and archivedate
|
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. Both archiveurl and archivedate must be used together.
|
edition
|
The edition of the book. It is usually not necessary to indicate the first or only edition of a book. |
location
|
The location(s) 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. |
(month and) year or date
|
Mandatory: the (month and) year, or date, of publication of the book. |
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 ”.
|
genre
|
The genre of the book. |
volume
|
If the book is one of a set consisting of multiple volumes, the volume number of the book referred to. |
others
|
Other information about the book. |
section
|
If the page of the book referred to has no number (for example, “frontispiece” or “title page”), use this parameter to refer to it. The word “page” or “pages” will not be displayed. |
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. |
page and/or pages
|
The page number or range of page numbers referred to. The parameters page and pages can be used together to indicate that the citation refers to, for example, “page 3 of 10”. If pages is used alone it can be used to indicate a range of pages. For example, “pages=1–2 ” will display “pages 1–2”. Use an en dash to separate the page numbers in the range.
|
pageurl
|
The URL or web address of the webpage containing the page 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 , oclc or id
|
The digital object identifier (DOI), International Standard Book Number (ISBN) or Online Computer Library Center (OCLC) number (which can be looked up at the WorldCat website) of the book. If the book’s ISBN number is stated, it is usually not necessary to indicate its OCLC number.
Use |
text or passage
|
A passage from the book that you wish to quote. If the passage exceeds 300 characters, it is automatically displayed in a separate text block. To suppress this, use text_block=no or passage_block=no .
|
text_block or passage_block
|
This parameter can be used in two ways:
|
t or translation
|
A translation of the passage. |
lang , language , or worklang
|
A code indicating the language that the book is written in (preferred; for a list of the codes, see Wiktionary:List of languages), or the names of one or more languages written in full. It is unnecessary to indicate the language if the book is written in English. |
Technical information
[बदल]This template makes use of {{cite-meta}}
.
TemplateData
[बदल]No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | no description | Unknown | optional |
2 | 2 | no description | Unknown | optional |
3 | 3 | no description | Unknown | optional |
4 | 4 | no description | Unknown | optional |
5 | 5 | no description | Unknown | optional |
6 | 6 | no description | Unknown | optional |
7 | 7 | no description | Unknown | optional |
author | author | no description | Unknown | optional |
last | last | no description | Unknown | optional |
first | first | no description | Unknown | optional |
authorlink | authorlink | no description | Unknown | optional |
author2 | author2 | no description | Unknown | optional |
last2 | last2 | no description | Unknown | optional |
first2 | first2 | no description | Unknown | optional |
authorlink2 | authorlink2 | no description | Unknown | optional |
author3 | author3 | no description | Unknown | optional |
last3 | last3 | no description | Unknown | optional |
first3 | first3 | no description | Unknown | optional |
authorlink3 | authorlink3 | no description | Unknown | optional |
author4 | author4 | no description | Unknown | optional |
last4 | last4 | no description | Unknown | optional |
first4 | first4 | no description | Unknown | optional |
authorlink4 | authorlink4 | no description | Unknown | optional |
author5 | author5 | no description | Unknown | optional |
last5 | last5 | no description | Unknown | optional |
first5 | first5 | no description | Unknown | optional |
authorlink5 | authorlink5 | no description | Unknown | optional |
coauthors | coauthors | no description | Unknown | optional |
quotee | quotee | no description | Unknown | optional |
chapter | chapter | no description | Unknown | optional |
chapterurl | chapterurl | no description | Unknown | optional |
entry | entry | no description | Unknown | optional |
entryurl | entryurl | no description | Unknown | optional |
trans-chapter | trans-chapter | no description | Unknown | optional |
trans-entry | trans-entry | no description | Unknown | optional |
trans | trans | no description | Unknown | optional |
translator | translator | no description | Unknown | optional |
translators | translators | no description | Unknown | optional |
editor | editor | no description | Unknown | optional |
editors | editors | no description | Unknown | optional |
title | title | no description | Unknown | optional |
trans-title | trans-title | no description | Unknown | optional |
series | series | no description | Unknown | optional |
seriesvolume | seriesvolume | no description | Unknown | optional |
url | url | no description | Unknown | optional |
book-link | book-link | no description | Unknown | optional |
archiveurl | archiveurl | no description | Unknown | optional |
archivedate | archivedate | no description | Unknown | optional |
edition | edition | no description | Unknown | optional |
location | location | no description | Unknown | optional |
publisher | publisher | no description | Unknown | optional |
month | month | no description | Unknown | optional |
year | year | no description | Unknown | optional |
year_published | year_published | no description | Unknown | optional |
date | date | no description | Unknown | optional |
genre | genre | no description | Unknown | optional |
language | language | no description | Unknown | optional |
lang | lang | no description | Unknown | optional |
worklang | worklang | no description | Unknown | optional |
volume | volume | no description | Unknown | optional |
others | others | no description | Unknown | optional |
section | section | no description | Unknown | optional |
sectionurl | sectionurl | no description | Unknown | optional |
page | page | no description | Unknown | optional |
pages | pages | no description | Unknown | optional |
pageurl | pageurl | no description | Unknown | optional |
link | link | no description | Unknown | optional |
column | column | no description | Unknown | optional |
columns | columns | no description | Unknown | optional |
columnurl | columnurl | no description | Unknown | optional |
doi | doi | no description | Unknown | optional |
isbn | isbn | no description | Unknown | optional |
oclc | oclc | no description | Unknown | optional |
id | id | no description | Unknown | optional |
passage | passage | no description | Unknown | optional |
quote | quote | no description | Unknown | optional |
text | text | no description | Unknown | optional |
text_block | text_block | no description | Unknown | optional |
passage_block | passage_block | no description | Unknown | optional |
t | t | no description | Unknown | optional |
translation | translation | no description | Unknown | optional |
See also
[बदल]{{quote-book}}
– for quotations in dictionary entries{{cite book}}
– the corresponding template at the English Wikipedia.
|