Template:Fcite book

 <!-- --- --NOTES: --   Template:Fcite_book defaults to show italicized {title}, or --    if {book} or {work} specified, then to quote "{title}" such as --    a short-story title, after showing {book}/{work} italicized. -- -- NOTE A1: This template checks parameters for some common --     misspellings & allows splitting a long URL as 2 parts. --     The optional parameter "urlx=" can be used to append --     more url text for a longer URL address. -- -- NOTE C2: When the url is hyperlinked to the title=zzz, --     then the website name in parameter url=xx is first --     downcased to become all lower-case text in the link. --     Example: url=MyWeb.coM links as "http://myweb.com". --     This lowercase formatting, of the website name, is --      typical for all Wikipedia hyperlinks to external --     websites. The URL's CGI text (following another "/") --     is NOT downcased but rather, left as mixed-case text. -- -- NOTE U3: The check of the url=xxx examines the prefix of --     the parameter "url" and if not "http:/" then it --      prepends "http://" to the {url} text in the link. --

--HISTORY: --04Jul12 Created to run {cite_book} fast & validate parameters. --04Jul12 Put NOTES comments to explain template coding. --04Jul12 Put HISTORY comments to log major changes. --04Jul12 Added parameters: urlx to extend URL & acc for accessdate. --13Jul12 Optimized by checking 7 or 8 rare parameters in single #if. --13Jul12 Added parameters last1/first1... last3/first3 but warn if last4. --13Jul12 Fixed by "" to allow any separator such as ";" or ":". --13Jul12 Added parameter "coauthor" same as plural "coauthors". --13Jul12 Supported parameter "ref=harv" as in Cite_web, Cite_book, etc. --14Jul12 Added: arvix, asin, bibcode, doi, lccn, mr, oclc, pmc, pmid, zbl. --14Jul12 Set doc text as separate /doc for interwiki links. --14Jul12 Linked ISBN & ISSN by {hide in print} & {only in print}. --16Jul12 New parameters: at, last4, first4, editor1-last, editor1-first. --19Jul12 Supported "author1-link"; linked title to PMC site if no {url}. --19Jul12 New parameter {1}=help will validate parameters. --19Jul12 New parameter {1}= will activate rare parameters. --19Jul12 New: ISSN, origyear, laysummary, laysource, laydate, postscript. --19Jul12 Italicized '{title}' if no {work}/{journal}; warned if "surname=". --19Jul12 New {nopp} omits "pp." as in {Cite_book}; put {sep} at {location}. --20Jul12 New parameters: chapter, series, version. --21Jul12 Shows "chapter" when also {title}; moved {series} before publisher. --22Jul12 For {ref}=harv, defaulted {year} as {#time:Y|date/publication-date}. --22Jul12 New parameters: editor2-last/editor2-first... editor4-last/first. --22Jul12 Process omitted date 3x faster (checked before author/editor names). --23Jul12 For {ref}=harv, also linked by editor[1]-last or editor2-last. --25Jul12 Changed to to handle "ref=". --25Jul12 Listed coauthors/coauthor after last2/last3 (etc.). --26Jul12 New parameters: last5/first5 to last8, contribution, editor-last. --26Jul12 Fixed when authors to list editors later. --27Jul12 Moved volume before publisher; warns if authormask used. --27Jul12 New parameters: editor-first, editor2 to editor4. --01Aug12 Fixed "ref=" to set span-tag id="x" not {anchor|x}. -->