Template:Cite book: Difference between revisions
Created page with "<noinclude> <templatedata> { "description": "Cite a book (not a magazine).", "params": { "authors": { "label": "Author(s)", "type": "string", "description": "Follow Chicago style. 1 author: Lastname, Firstname \"Screenname.\" 2-6 authors: Lastname, Firstname \"Screenname\" and Firstname \"Screenname\" Lastname (comma separated except for the last one).<br><br>7+ authors: Include the first three authors as normal, separated by commas (no \"and\"), and then..." |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
"label": "Author(s)", | "label": "Author(s)", | ||
"type": "string", | "type": "string", | ||
"description": "Follow Chicago style. 1 author: Lastname, Firstname \"Screenname.\" 2-6 authors: Lastname, Firstname \"Screenname\" and Firstname \"Screenname\" Lastname (comma separated except for the last one). | "description": "Follow Chicago style. 1 author: Lastname, Firstname \"Screenname.\" 2-6 authors: Lastname, Firstname \"Screenname\" and Firstname \"Screenname\" Lastname (comma separated except for the last one). 7+ authors: Include the first three authors as normal, separated by commas (no \"and\"), and then end with \", et al.\"", | ||
"example": "Kischak, Stef \"pidgezero_one,\" Gamer McDegen, and \"blazeit420 | "example": "Kischak, Stef \"pidgezero_one,\" Gamer McDegen, and \"blazeit420\"" | ||
}, | }, | ||
"title": { | "title": { | ||
Line 14: | Line 14: | ||
"type": "string", | "type": "string", | ||
"description": "The name of the book. Include the book's subtitle and edition if it has one. Do not end this field with a period.", | "description": "The name of the book. Include the book's subtitle and edition if it has one. Do not end this field with a period.", | ||
"required": true, | "required": true, | ||
"example": "Book Title: Some Subtitle. 3rd ed" | "example": "Book Title: Some Subtitle. 3rd ed" | ||
}, | }, | ||
"year": { | "year": { | ||
Line 22: | Line 22: | ||
"description": "The year during which the book was published.", | "description": "The year during which the book was published.", | ||
"example": "1996", | "example": "1996", | ||
"required": true | "required": true | ||
}, | }, | ||
"publisher": { | "publisher": { | ||
Line 45: | Line 45: | ||
"label": "Archive URL", | "label": "Archive URL", | ||
"type": "string", | "type": "string", | ||
"description": "If you included a URL, fill this field out with a Wayback Machine entry for that URL.", | "description": "If you included a URL, fill this field out with a Wayback Machine entry for that URL. If it doesn't exist in the wayback machine yet, change that.", | ||
"example": "https://web.archive.org/web/somedate/https://www.example.com/some-translation" | "example": "https://web.archive.org/web/somedate/https://www.example.com/some-translation" | ||
} | } | ||
Line 52: | Line 52: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
{{#if:{{{authors|}}}|{{{authors}}}. |}} ''{{{title}}}''. {{#if:{{{translator|}}}|Translated by {{{translator}}}. |}} {{#if:{{{publisher|}}}|{{{publisher}}}, |}} {{{year}}}. [{{{url}}} {{{ | {{#if:{{{authors|}}}|{{{authors}}}. |}} ''{{{title}}}''. {{#if:{{{translator|}}}|Translated by {{{translator}}}. |}} {{#if:{{{publisher|}}}|{{{publisher}}}, |}} {{{year}}}. [{{{url}}} {{{url}}}]. {{#if:{{{archive_url|}}}|[{{{archive_url}}} Archived from the original]. |}} | ||
</includeonly> | </includeonly> |
Latest revision as of 23:11, 27 December 2024
Cite a book (not a magazine).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Author(s) | authors | Follow Chicago style. 1 author: Lastname, Firstname "Screenname." 2-6 authors: Lastname, Firstname "Screenname" and Firstname "Screenname" Lastname (comma separated except for the last one). 7+ authors: Include the first three authors as normal, separated by commas (no "and"), and then end with ", et al."
| String | optional |
Book title | title | The name of the book. Include the book's subtitle and edition if it has one. Do not end this field with a period.
| String | required |
Year | year | The year during which the book was published.
| Number | required |
Publisher name | publisher | The publisher or publishers for the book.
| String | optional |
Translator | translator | If you referenced a translation of the book, cite the translator (format: Firstname "screenname" Lastname)
| String | optional |
URL | url | If you referenced an online translation of the book, such as from Shmuplations, use the URL to the translation. Otherwise, include an ebook link (such as OpenLibrary or Internet Archive links) if the original book can be read for free online.
| String | optional |
Archive URL | archive_url | If you included a URL, fill this field out with a Wayback Machine entry for that URL. If it doesn't exist in the wayback machine yet, change that.
| String | optional |