Template:Cite book: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#if:{{{title|}}}|{{#if:{{{chapter|}}}|"{{#if:{{{url|}}}|[{{{url}}} {{{chapter}}}]|{{{chapter}}}}}". In: |}}{{Citation | ||
{{#if:{{{title|}}}| | | title = {{{title|}}} | ||
| url = {{#if:{{{chapter|}}}||{{{url|}}}}} | |||
{{#if:{{{ | | last = {{{last|{{{last1|}}}}}} | ||
{{ | | first = {{{first|{{{first1|}}}}}} | ||
}} | | author = {{{author|}}} | ||
| date = {{{date|{{{year|}}}}}} | |||
| publisher = {{{publisher|}}} | |||
| pages = {{{pages|}}} | |||
{{#if:{{{chapter|}}}| | | doi = {{{doi|}}} | ||
| isbn = {{{isbn|}}} | |||
{{ | | access-date = {{{access-date|}}} | ||
}}{{#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 | ||
{{#if:{{{ | |- | ||
{{#if:{{{ | | <code>title</code> || Book title (required) || <code>Distributed Systems Design</code> | ||
|- | |||
{{#if:{{{ | | <code>last</code> / <code>first</code> || Author surname / first name || <code>Smith</code> / <code>John</code> | ||
|- | |||
{{#if:{{{ | | <code>author</code> || Full author name (alternative to last/first) || <code>Smith, John</code> | ||
|- | |||
{{#if:{{{ | | <code>date</code> or <code>year</code> || Publication year || <code>2022</code> | ||
{{#if:{{{ | |- | ||
| <code>publisher</code> || Publisher || <code>Academic Press</code> | |||
|- | |||
| <code>location</code> || City of publication || <code>New York</code> | |||
</ | |- | ||
| <code>edition</code> || Edition || <code>3rd</code> | |||
|- | |||
| <code>series</code> || Series name || <code>Lecture Notes in Computer Science</code> | |||
|- | |||
| <code>volume</code> || Volume number || <code>4</code> | |||
|- | |||
| <code>chapter</code> || Chapter title || <code>Scheduling in BOINC</code> | |||
|- | |||
| <code>pages</code> || Page(s) cited || <code>45–67</code> | |||
|- | |||
| <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> | |||
Latest revision as of 17:31, 20 May 2026
Template:Cite book
Cites a printed or electronic book. Calls {{Citation}} for the core fields.
Parameters
| Parameter | Description | Example |
|---|---|---|
title |
Book title (required) | Distributed Systems Design
|
last / first |
Author surname / first name | Smith / John
|
author |
Full author name (alternative to last/first) | Smith, John
|
date or year |
Publication year | 2022
|
publisher |
Publisher | Academic Press
|
location |
City of publication | New York
|
edition |
Edition | 3rd
|
series |
Series name | Lecture Notes in Computer Science
|
volume |
Volume number | 4
|
chapter |
Chapter title | Scheduling in BOINC
|
pages |
Page(s) cited | 45–67
|
isbn |
ISBN | 978-0-12-345678-9
|
url |
URL (for online editions) | https://example.com/book
|
access-date |
Date accessed | 2026-05-18
|
Example
{{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}}