Template:Cite book/doc

This template is the parent template for all book citations, including sourcebooks, boxed sets, and novels. It calls Cite publication which is based on the Wikipedia cite book template. Use this template to create sub-templates for specific books so that you and others may reference them in articles on this wiki. Chances are, unless it is a brand new book, someone has already created a template for it, so look through Category:Sourcebook citation templates and Category:Novel citation templates before you take the time to create a new one. You can view all the various citation templates, including magazines, video games, trading cards, and web-sourced citations here. For help citing sources with pre-made templates, see Help:Citing sources.

Usage
Use the following format when creating a sub-template for a new book, boxed set, or novel: If you think the work you are citing will never be cited again, you may use this template directly in your article. Insert the following code immediately after the passage you wish to cite: and fill in the blanks. To make it shorter, you may delete the parameters that you don't use. All parameters are optional, but it will look pretty bad if you don't at least supply the basics.


 * author : One or more author names, if applicable. If no author is specified, the editor field will appear in the author position (if specified). Names may be wiki links if desired. Note that proper citations list  but our wiki links are , so use the wiki link format until further notice.
 * title : The title of the book, novel, or boxed set. This field should be wiki linked because someone should create an article describing the book. If you also specify short_story, then this should be the title of the anthology that contains the short story.
 * short_story : If the work you are citing is part of an anthology or a boxed set, then put the title of the short story or booklet here, otherwise you can omit this parameter or leave it blank. This field will be set off by double quotation marks ( “” ) in the citation.
 * editor : One or more editor names, if applicable. Anthologies will have editors and those should be listed here. Wiki links are allowed. This field will be appended with "ed." to distinguish it from the author. If a comma (", ") is detected in this field, it assumes there is more than one editor and will append "eds." If author is also specified, then the template assumes you are citing an anthology and this field will appear after short_story, prefaced with "In" and followed by title. (See example below.)
 * date : This can be just a year (typical for books) or a month and year, or an exact date. It will be set off by parentheses in the output.
 * year : (deprecated) year will also work instead of date, but is only here for backward compatibility. Please do not use.
 * publisher : The company that published the work being cited. This is usually TSR, Inc. or Wizards of the Coast, but could be others. Wiki links allowed.
 * pages : In normal use, the first (and only) argument passed to a book sub-template is the page number.  is the wiki code way of saying "if argument number 1 was specified, put its value here, otherwise leave it blank". For example, when calling the Shadowdale sub-template like this:   the first and only argument is "25" and the value of   will be replaced with 25. Page numbers can be a single page number, a comma-separated list of page numbers, a range of pages using a dash (" - ") to separate the first page number from the last page number, or a combination of these. If a dash is detected, it will be converted to an en-dash ("–"). If either a comma or a dash is detected, this will be proceeded by "pp.", otherwise just "p.". If you cannot provide a page number for your citation, but there is likely to be one, use the question mark (?) character as your page number. This will place your article into Category:Articles needing page numbers.
 * ISBN : The International Standard Book Number.

Typical book citation
Called by this: will be rendered like so:

Citing a short story within an anthology
Short stories and materials inside boxed sets are sub-templates of their parent template (which is a sub-template of Cite book). So the following is a typical use of this template for citing a short story within an anthology: Called by this: will be rendered like so: