Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Cite book: Difference between revisions

Template page
(Copied data from https://leftypedia.org/wiki/Template:Cite_book)
Tag: Reverted
(Reformatted.)
Tag: Reverted
Line 1: Line 1:
<noinclude><dd>''The following documentation is located at [[Template:Cite_book/documentation]]''</noinclude>{{Citation/core
<includeonly>{{#invoke:book citation|cite}}</includeonly>
|Citation class=book
<noinclude>
 
<templatedata>
|Surname1={{{last|{{{last1|{{{author|{{{author1|{{{authors|{{{surname|{{{surname1|}}}}}}}}}}}}}}}}}}}}}
{
|Surname2={{{last2|{{{author2|{{{surname2|}}}}}}}}}
"params": {
|Surname3={{{last3|{{{author3|{{{surname3|}}}}}}}}}
"author": {
|Surname4={{{last4|{{{author4|{{{surname4|}}}}}}}}}
"label": "Author",
|Surname5={{{last5|{{{author5|{{{surname5|}}}}}}}}}
"type": "string",
|Surname6={{{last6|{{{author6|{{{surname6|}}}}}}}}}
"suggested": true,
|Surname7={{{last7|{{{author7|{{{surname7|}}}}}}}}}
"description": "Name of the author who wrote the book or chapter"
|Surname8={{{last8|{{{author8|{{{surname8|}}}}}}}}}
},
|Surname9={{{last9|{{{author9|{{{surname9|}}}}}}}}}
"date": {
 
"label": "Date",
|Given1={{{first|{{{first1|{{{given|{{{given1|}}}}}}}}}}}}
"type": "date",
|Given2={{{first2|{{{given2|}}}}}}
"suggested": true,
|Given3={{{first3|{{{given3|}}}}}}
"description": "Date in YYYY-MM-DD format",
|Given4={{{first4|{{{given4|}}}}}}
"example": "2021-10-21"
|Given5={{{first5|{{{given5|}}}}}}
},
|Given6={{{first6|{{{given6|}}}}}}
"title": {
|Given7={{{first7|{{{given7|}}}}}}
"label": "Title",
|Given8={{{first8|{{{given8|}}}}}}
"type": "string",
|Given9={{{first9|{{{given9|}}}}}}
"suggested": true,
 
"description": "Title of the book"
|Authorlink1={{{authorlink|{{{authorlink1|{{{author-link|{{{author1-link|}}}}}}}}}}}}
},
|Authorlink2={{{authorlink2|{{{author2-link|}}}}}}
"url": {
|Authorlink3={{{authorlink3|{{{author3-link|}}}}}}
"label": "URL",
|Authorlink4={{{authorlink4|{{{author4-link|}}}}}}
"type": "url",
|Authorlink5={{{authorlink5|{{{author5-link|}}}}}}
"suggested": true,
|Authorlink6={{{authorlink6|{{{author6-link|}}}}}}
"description": "URL of the book"
|Authorlink7={{{authorlink7|{{{author7-link|}}}}}}
},
|Authorlink8={{{authorlink8|{{{author8-link|}}}}}}
"location": {
|Authorlink9={{{authorlink9|{{{author9-link|}}}}}}
"label": "Location",
 
"type": "string",
|Coauthors={{{coauthors|{{{coauthor|}}}}}}
"suggested": true,
 
"description": "Where they published the book",
|Other={{{others|}}}
"example": "New York, New York"
 
},
|Year={{{year|{{    <!-- attempt to derive year from date, if possible -->
"publisher": {
          #if: {{{date|}}}
"label": "Publisher",
          |{{
"type": "string",
              #iferror:{{#time:Y|{{{date|}}} }}
"suggested": true,
              |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
"description": "Who or what published the book"
              |{{#time:Y|{{{date|}}} }}
},
            }}
"ISBN": {
          |{{{publication-date|}}} <!-- last resort -->
"label": "ISBN",
        }}
"type": "string",
      }}}
"suggested": true,
|YearNote={{{origyear|}}}
"description": "ISBN"
|Date={{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}}
},
 
"ISSN": {
|Title={{{title|}}}
"label": "ISSN",
|TransTitle={{{trans_chapter|}}}
"type": "string",
|TransItalic={{{trans_title|}}}
"suggested": true,
|IncludedWorkTitle={{{chapter|{{{contribution|{{{section|}}}}}}}}}
"description": "ISSN"
|TitleType={{{type|}}}
},
|language={{{language|}}}
"quote": {
 
"label": "Quote",
|URL={{#if:{{{archiveurl|}}}
"description": "Cites a quotation from the work",
      |{{#ifeq: {{{deadurl|}}} | no | {{{url|}}} | {{{archiveurl|}}}}}
"type": "string",
      |{{{url|}}}
"suggested": true
    }}
}
|IncludedWorkURL={{{chapter-url|{{{chapterurl|{{{contribution-url|{{{sectionurl|{{{pageurl|}}}}}}}}}}}}}}}
},
|AccessDate={{{accessdate|}}}
"description": "Creates a citation for literary sources.",
|OriginalURL={{{url|}}}
"paramOrder": [
|ArchiveURL={{{archiveurl|}}}
"author",
|ArchiveDate={{{archivedate|}}}
"date",
|DeadURL={{{deadurl|}}}
"title",
|format={{{format|}}}
"url",
 
"location",
|At={{#if: {{{page|}}}|{{#if:{{{nopp|}}}||p.&nbsp;}}{{{page}}}
"publisher",
      |{{#if: {{{pages|}}}|{{#if:{{{nopp|}}}||pp.&nbsp;}}{{{pages}}}
"ISBN",
      |{{{at|}}}}}
"ISSN",
    }}
"quote"
 
]
|Edition={{{edition|}}}
}
|Series={{{series|{{{version|}}}}}}
</templatedata>
|Volume={{{volume|}}}
</noinclude>
 
|Publisher={{{publisher|}}}
|Place={{{location|{{{place|}}}}}}
|PublicationPlace={{{location|{{{place|{{{publication-place|}}}}}}}}}
|PublicationDate={{{publication-date|}}}
 
|EditorSurname1={{{editor-last|{{{editor1-last|{{{editor|{{{editors|{{{editor-surname|{{{editor1-surname|}}}}}}}}}}}}}}}}}}
|EditorSurname2={{{editor2-last|{{{editor2-surname|}}}}}}
|EditorSurname3={{{editor3-last|{{{editor3-surname|}}}}}}
|EditorSurname4={{{editor4-last|{{{editor4-surname|}}}}}}
|EditorGiven1={{{editor-first|{{{editor1-first|{{{editor-given|{{{editor1-given|}}}}}}}}}}}}
|EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}}
|EditorGiven3={{{editor3-first|{{{editor3-given|}}}}}}
|EditorGiven4={{{editor4-first|{{{editor4-given|}}}}}}
|Editorlink1={{{editor-link|{{{editor1-link|}}}}}}
|Editorlink2={{{editor2-link|}}}
|Editorlink3={{{editor3-link|}}}
|Editorlink4={{{editor4-link|}}}
 
|ARXIV={{{arxiv|}}}
|ASIN={{{asin|{{{ASIN|}}}}}}
|ASIN-TLD={{{asin-tld|}}}
|BIBCODE={{{bibcode|}}}
|DOI={{{doi|{{{DOI|}}}}}}
|DoiBroken={{{doi_brokendate|{{{doi_inactivedate|}}}}}}
|ISBN={{{isbn|{{{ISBN|}}}}}}
|ISSN={{{issn|{{{ISSN|}}}}}}
|JFM={{{jfm|{{{JFM|}}}}}}
|JSTOR={{{jstor|{{{JSTOR|}}}}}}
|LCCN={{{lccn|{{{LCCN|}}}}}}
|MR={{{mr|{{{MR|}}}}}}
|OCLC={{{oclc|{{{OCLC|}}}}}}
|OL={{{ol|{{{OL|}}}}}}
|OSTI={{{osti|{{{OSTI|}}}}}}
|PMC={{{pmc|{{{PMC|}}}}}}
|PMID={{{pmid|{{{PMID|}}}}}}
|RFC={{{rfc|{{{RFC|}}}}}}
|SSRN={{{ssrn|{{{SSRN|}}}}}}
|ZBL={{{zbl|}}}
|ID={{{id|{{{ID|}}}}}}
 
|laysummary={{{laysummary|}}}
|laydate={{{laydate|}}}
|laysource={{{laysource|}}}
 
|quote={{{quote|}}}
 
|Ref={{{ref|}}}
 
|amp={{{lastauthoramp|}}}
|AuthorMask={{{author-mask|{{{authormask|}}}}}}
|AuthorSep={{#ifeq:{{{author-separator|}}}|;|&#059;|{{{author-separator|&#059;}}}}}&#32;
|NameSep={{{author-name-separator|,}}}&#32;
|PS={{#if:{{{quote|}}}||{{{postscript|.}}}}}
|Sep={{#ifeq:{{{separator|{{{seperator}}} }}}|;|&#059;|{{{separator|{{{seperator|.}}} }}} }}
|template doc demo={{{template doc demo|}}}
|Trunc={{#if:{{{display-authors|}}}|{{{display-authors}}}|8}}
}}{{#if:{{{access-date|}}}{{{accessdaymonth|}}}{{{accessday|}}}{{{accessmonthday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{dateformat|}}}{{{day|}}}{{{doilabel|}}}
|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}

Revision as of 22:35, 2 March 2022


Creates a citation for literary sources.

Template parameters

ParameterDescriptionTypeStatus
Authorauthor

Name of the author who wrote the book or chapter

Stringsuggested
Datedate

Date in YYYY-MM-DD format

Example
2021-10-21
Datesuggested
Titletitle

Title of the book

Stringsuggested
URLurl

URL of the book

URLsuggested
Locationlocation

Where they published the book

Example
New York, New York
Stringsuggested
Publisherpublisher

Who or what published the book

Stringsuggested
ISBNISBN

ISBN

Stringsuggested
ISSNISSN

ISSN

Stringsuggested
Quotequote

Cites a quotation from the work

Stringsuggested