Template:Cite publication/doc

This template is the generic citation template for books, digital books, novels, and magazines. It is based roughly on the Wikipedia book and Wikipedia Journal templates. The templates Cite book, Cite digital book, Cite dragon, and Cite dungeon call this one with customized input and categories unique to each specialized template, and therefore this template should not be called directly.

Usage
All parameters are optional, but it will look pretty bad if you don't at least specify the basics.
 * accessory : This is for a piece of media contained in the referenced publication, like "Map", "Reference cards", or "Inside cover", for example. This will prefix the citation with the value of this parameter, followed by "included in" and a non-breaking space.
 * author : One or more author names, if applicable. If no author is specified, the editor's name(s) will appear here. 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.
 * editor : One or more editor names, if applicable. Magazines and 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 appends "eds." If author is also specified, then this field will appear after the title, prefaced with "In" and followed by work.
 * date : This can be just a year (mainly used for books) or a month and year, or an exact date. It will be offset by parentheses in the output.
 * title : The title of the book, article, or short story. Books should be wiki linked, articles and short stories generally not (but see the url parameter). If this is an article or short story, then the work parameter should be specified.
 * url : This is for specifying an external link to an on-line version of an article or short story that was also published in print or eBook format. If the work being cited is only available on the internet, then use the Cite web template instead of this one.
 * format : If url is specified, then use this to indicate the format of the publication (usually PDF). This field is also used to specify the type of digital book (Kindle, Nook, etc.).
 * work : This field is for the containing publication when the title parameter is a magazine article or short story. If there are authors and editors, the editors will be listed first, then this field.
 * publisher : The company that published the work being cited. This is usually TSR, Inc., Wizards of the Coast, or Paizo Publishing, but could be others. Wiki links allowed.
 * pages : A 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 preceded by "pp.", otherwise just "p.".
 * location : The location or index number used to find a passage in a digital book. Similar to pages, this will be preceded by "loc." or "locs." If pages is specified, this field is ignored.
 * chapter : A chapter number or name. Multiple chapters and ranges of chapters will work but are strongly discouraged. A specific reference should be isolated to a single chapter in nearly every case. This field will be preceded by "chap.", or "chaps." if multiple chapters are detected. Please specify this for digital books.
 * archiveurl : URL of an internet archive copy of the publication (usually an https://archive.org address). Do not link this, it will be linked to the title. Requires archivedate.
 * archivedate : Date the archive was saved in ISO 8601 format (YYYY-MM-DD). Requires archiveurl.
 * accessdate : Date that you last retrieved the publication from either the url or archiveurl, whichever is more recent.
 * ISBN : The International Standard Book Number, if applicable.