Template:Cite book: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{authorlink|}}}|[[{{{authorlink}}}|}}{{#if: {{{last|}}}|{{{last}}}|}}{{#if: {{{first|}}}|,&ensp;{{{first}}}|}}{{#if: {{{authorlink|}}}|]]|}}{{#if: {{{author2|}}}|;&ensp;{{{author2}}}|}}{{#if: {{{date|}}}|&ensp;({{{date}}})|}}.{{#if: {{{title|}}}|&ensp;''{{{title}}}''|}}{{#if: {{{edition|}}}|&ensp;({{{edition}}} ed.)|}}.{{#if: {{{publisher|}}}|&ensp;{{{publisher}}}.|}}{{#if: {{{pages|}}}|&ensp;p.&ensp;{{{pages}}}.|}}{{#if: {{{isbn|}}}|&ensp;ISBN&ensp;{{{isbn}}}.|}}</includeonly><noinclude>
<includeonly>{{#if: {{{authorlink|}}}|[[{{{authorlink}}}{{!}}{{#if: {{{last|}}}|{{{last}}}|}}{{#if: {{{first|}}}|,&ensp;{{{first}}}|}}]]|<!--no authorlink-->{{#if: {{{last|}}}|{{{last}}}|}}{{#if: {{{first|}}}|,&ensp;{{{first}}}|}}}}<!--endif authorlink-->{{#if: {{{author2|}}}|<nowiki>;</nowiki>&ensp;{{{author2}}}|}}{{#if: {{{year|}}}|&ensp;({{{year}}})|}}.{{#if: {{{url|}}}|[{{{url}}} {{#if: {{{title|}}}|&ensp;''{{{title}}}''|}}]|<!--no url-->{{#if: {{{title|}}}|&ensp;''{{{title}}}''|}}}}<!--endif url-->{{#if: {{{edition|}}}|&ensp;({{{edition}}} ed.)|}}.{{#if: {{{publisher|}}}|&ensp;{{{publisher}}}.|}}{{#if: {{{pages|}}}|&ensp;p.&ensp;{{{pages}}}.|}}{{#if: {{{isbn|}}}|&ensp;ISBN&ensp;{{{isbn}}}.|}}</includeonly><noinclude>


{{documentation}}
{{documentation}}

Latest revision as of 16:08, 18 November 2019


Template documentation (for the above template, sometimes hidden or invisible)

Usage

To cite a book with a credited author
{{cite book |last= |first= |date= |title= |url= |location= |publisher= |page= |isbn= |author-link=}}
To cite a book with no credited author
{{cite book |author=<!--Staff writer(s); no by-line.--> |title= |url= |location= |publisher= |page= |date= |isbn=}}
To cite an online book that has been archived
{{cite book |last= |first= |date= |title= |url= |url-status= |location= |publisher= |isbn= |archive-url= |archive-date=}}
To cite a book written in a foreign language
{{cite book |last= |first= |date= |title= |trans-title= |url= |language= |location= |publisher= |isbn=}}
To cite and quote an archived, two-author, foreign language book re-published as a PDF on an information aggregation service requiring a subscription
{{cite book |last1= |first1= |last2= |first2= |date= |title= |trans-title= |url= |url-status= |format= |language= |location= |publisher= |isbn= |archive-url= |archive-date= |via= |subscription= |quote=}}


{{cite book
 |last=
 |first=
 |date=
 |title=
 |url=
 |location=
 |publisher=
 |page= <!-- or pages= -->
 |isbn=
 |author-link=
}}

{{cite book |last1= |first1= |author-link1= |last2= |first2= |author-link2= |last3= |first3= |author-link3= |last4= |first4= |author-link4= |last5= |first5= |author-link5= |display-authors= |author-mask= |last-author-amp= |translator-last1= |translator-first1= |translator-link1= |translator-mask1= |date= |year= |orig-year= |chapter= |script-chapter= |trans-chapter= |chapter-url= |chapter-format= |editor1-last= |editor1-first= |editor1-link= |editor2-last= |editor2-first= |editor2-link= |editor3-last= |editor3-first= |editor3-link= |editor4-last= |editor4-first= |editor4-link= |editor5-last= |editor5-first= |editor5-link= |display-editors= |title= |script-title= |trans-title= |url= |url-status= |format= |type= |series= |language= |volume= |issue= |others= |edition= |location= |publisher= |publication-date= |page= |pages= |at= |nopp= |arxiv= |asin= |bibcode= |doi= |doi-broken-date= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc= |pmid= |rfc= |ssrn= |zbl= |id= |archive-url= |archive-date= |access-date= |via= |registration= |subscription= |lay-summary= |lay-source= |lay-date= |quote= |name-list-format= |mode= |postscript= |ref=}}


Full parameter set in vertical format
Parameters Prerequisites Brief instructions / notes Vertical list
last1 may also use "last"; for additional authors, "last2", "last3", etc.
{{cite book
|last1=
|first1=
|author-link1=
|author-mask1=
|last2=
|first2=
|display-authors=
|last-author-amp=
|translator-last1=
|translator-first1=
|translator-link1=
|translator-mask1=
|date=
|year=
|orig-year=
|chapter=
|script-chapter=
|trans-chapter=
|chapter-url=
|chapter-format=
|editor1-last=
|editor1-first=
|editor1-link=
|editor1-mask=
|display-editors=
|title=
|script-title=
|trans-title=
|url=
|url-status=
|format=
|type=
|series=
|language=
|volume=
|issue=
|others=
|edition=
|location=
|publisher=
|publication-date=
|page=
|pages=
|at=
|nopp=
|arxiv=
|asin=
|bibcode=
|doi=
|doi-broken-date=
|isbn=
|issn=
|jfm=
|jstor=
|lccn=
|mr=
|oclc=
|ol=
|osti=
|pmc=
|pmid=
|rfc=
|ssrn=
|zbl=
|id=
|archive-url=
|archive-date=
|access-date=
|via=
|registration=
|subscription=
|lay-summary=
|lay-source=
|lay-date=
|quote=
|name-list-format=
|mode=
|postscript=
|ref=
}}
first1 last or last1 may also use "first"; for additional authors, "first2", "first3", etc.
author-link1 last or last1 may also use "author-link"
author-mask1 last or last1 may also use "author-mask"
last2 last1
first2 last2
display-authors last or last1
last-author-amp last or last1
translator-last1 may also use "translator-last"; for additional translators, "translator-last2, etc.
translator-first1 translator-last or translator-last1
translator-link1 translator-last or translator-last1
translator-mask1 translator-last or translator-last1
date
year
orig-year year or date
chapter This should be the title of the chapter cited. Do not wikilink "chapter" if "chapterurl" is provided
script-chapter
trans-chapter chapter or script-chapter
chapter-url chapter or script-chapter
chapter-format chapter-url
editor1-last may also use "editor-last"
editor1-first editor1-last may also use 'editor-first"
editor1-link editor1-last may also use "editor-link"
editor1-mask editor1-last
display-editors
title
script-title
trans-title title or script-title
url title or script-title
url-status
format url
type
series
language
volume
issue
others
edition Ordinal number
location publisher
publisher
publication-date
page choose one: "page", "pages", or "at"
pages choose one: "page", "pages", or "at". Use when content on multiple pages supports the article text.
at choose one: "page", "pages", or "at"
nopp page or pages set nopp to "yes" to suppress the "p." or "pp." before page numbers
arxiv
asin
bibcode
doi
doi-broken-date doi
isbn always include ISBN, if one has been assigned
issn
jfm
jstor
lccn
mr
oclc
ol
osti
pmc
pmid
rfc
ssrn
zbl
id
archive-url archive-date, url
archive-date archive-url
access-date url
via
registration
subscription
lay-summary
lay-source lay-summary
lay-date lay-summary
quote
name-list-format vanc to emulate Vancouver style
mode cs1 or cs2
postscript
ref
If a field name is listed in the Prerequisites column it is a prerequisite for the field to the left.

Visit Template:Cite book/doc to edit this text! (How does this work?)

!Note: not all inputs implemented!