Template:Cite book: Difference between revisions
Created page with "<includeonly>{{#if:{{{title|}}}| {{cite web | last = {{{last|{{{last1|}}}}}} | first = {{{first|{{{first1|}}}}}} | author = {{{author|}}} | year = {{{year|}}} | title = {{{title}}} | chapter = {{{chapter|}}} | editor-last = {{{editor-last|}}} | editor-first = {{{editor-first|}}} | publisher = {{{publisher}}} | location = {{{location|}}} | series = {{{series|}}} | volume = {{{volume|}}} | edition = {{{edition|}}} | pages = {{{pages|}}} | url = {{{url|}}} | doi = {{{doi|}}..." |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{title|}}}| | <includeonly>{{#if:{{{title|}}}|{{#if:{{{chapter|}}}|"{{#if:{{{url|}}}|[{{{url}}} {{{chapter}}}]|{{{chapter}}}}}". In: |}}{{Citation | ||
{{ | | title = {{{title|}}} | ||
| url = {{#if:{{{chapter|}}}||{{{url|}}}}} | |||
| | | last = {{{last|{{{last1|}}}}}} | ||
| first = {{{first|{{{first1|}}}}}} | |||
| | | author = {{{author|}}} | ||
| title = {{{title}}} | | date = {{{date|{{{year|}}}}}} | ||
| | | publisher = {{{publisher|}}} | ||
| | | pages = {{{pages|}}} | ||
| | | doi = {{{doi|}}} | ||
| | | isbn = {{{isbn|}}} | ||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| doi = {{{doi|}}} | |||
| isbn = {{{isbn|}}} | |||
| access-date = {{{access-date|}}} | | access-date = {{{access-date|}}} | ||
}}}}</includeonly><noinclude> | }}{{#if:{{{editor-last|}}}| Edited by {{{editor-last|}}}{{#if:{{{editor-first|}}}|, {{{editor-first|}}}}}.|}}{{#if:{{{series|}}}| ({{{series}}}{{#if:{{{volume|}}}|, vol. {{{volume|}}}|}}).|}}{{#if:{{{edition|}}}| {{{edition}}} ed.|}}{{#if:{{{location|}}}| {{{location}}}.|}} | ||
}}</includeonly><noinclude> | |||
== Template:Cite book == | |||
Cites a printed or electronic book. Calls {{tl|Citation}} for the core fields. | |||
== | === Parameters === | ||
< | {| class="wikitable" | ||
! Parameter !! Description !! Example | |||
| last | |- | ||
| first | | <code>title</code> || Book title (required) || <code>Distributed Systems Design</code> | ||
| title | |- | ||
| | | <code>last</code> / <code>first</code> || Author surname / first name || <code>Smith</code> / <code>John</code> | ||
| | |- | ||
| isbn | | <code>author</code> || Full author name (alternative to last/first) || <code>Smith, John</code> | ||
| | |- | ||
| url | | <code>date</code> or <code>year</code> || Publication year || <code>2022</code> | ||
| access-date | |- | ||
| <code>publisher</code> || Publisher || <code>Academic Press</code> | |||
</ | |- | ||
| <code>location</code> || City of publication || <code>New York</code> | |||
== Example == | |- | ||
<pre> | | <code>edition</code> || Edition || <code>3rd</code> | ||
{{Cite book | |- | ||
| last = | | <code>series</code> || Series name || <code>Lecture Notes in Computer Science</code> | ||
| first = | |- | ||
| title = | | <code>volume</code> || Volume number || <code>4</code> | ||
| publisher = | |- | ||
| | | <code>chapter</code> || Chapter title || <code>Scheduling in BOINC</code> | ||
| isbn = | |- | ||
}} | | <code>pages</code> || Page(s) cited || <code>45–67</code> | ||
</pre> | |- | ||
| <code>isbn</code> || ISBN || <code>978-0-12-345678-9</code> | |||
|- | |||
| <code>url</code> || URL (for online editions) || <code><nowiki>https://example.com/book</nowiki></code> | |||
|- | |||
| <code>access-date</code> || Date accessed || <code>2026-05-18</code> | |||
|} | |||
=== Example === | |||
<pre>{{Cite book |last=Anderson |first=David P. |date=2004 |title=BOINC: A System for Public-Resource Computing and Storage |publisher=IEEE |pages=4–10 |isbn=978-0-7695-2189-6}}</pre> | |||
[[Category:Citation templates]] | |||
</noinclude> | </noinclude> | ||