Template:Fcite journal

{{ #if:{{{volume|{{{publisher|{{{edition|{{{agency|{{{location|}}} }}} }}} }}} }}} |{{   #if:{{{series|{{{version|}}} }}} | {{{series|{{{version}}}}}} }}{{ #if:{{{edition|}}} |&#32;({{{edition}}})}}{{ #if:{{{journal|{{{periodical|{{work|}}} }}} }}}|{{ #if:{{{location|{{{publisher|{{{agency|}}} }}} }}} |&#32;({{       #if:{{{location|}}}          |{{{location|London}}}{{            #if:{{{publisher|{{{agency|}}} }}}            |: {{{publisher|{{{agency|Reuters}}}}}} }}          |{{{publisher|{{{agency|Reuters}}}}}}          }}) }}   }}{{    #if: | {{{volume|I}}}}}{{ #if:{{{volumename|}}} |, {{{volumename|Volume: Africa}}} }}{{ #if:{{{issue|{{{number|}}} }}} |&#32;({{{issue|{{{number}}}}}})}} }}{{ #if: |{{   #if:{{{volume|}}}|&#58;| }} }}{{ #if: |{{   #if: |    }}{{    #if: |     }}  }}{{  |{{  #if: |  }}{{  #if: | PMID }}{{ #if: |  }} }}{{
 * if:
 * if:

#if: |  }} }}{{   #if: |{{{sep|.}}}&#32;[ Lay summary] }}. }} <!-- --- --NOTES: --     This template matches the format of Help:Citation_style_1. -- -- 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. --
 * 1) ifeq:|none|.|{{

--HISTORY: --04Jul12 Created to run {cite_journal} 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. --05Jul12 Added parameters: edition, quote, notes, language. --05Jul12 Optimized to skip options unless publisher/location or pages. --09Jul12 Optimized to only check authorlink when author/last set. --09Jul12 Optimized to only check journal options when no isbn/issn. --09Jul12 Fixed to show date in "" if editor set. --11Jul12 Added parameters last1, last2 & last3 for CITEREF anchors. --12Jul12 Added parameters first1, first2, first3 but warn of last4. --12Jul12 Optimized check for "author" as 2 #if's (was 7). --13Jul12 Fixed by "" to allow any separator such as ";" or ":". --13Jul12 Added parameter "coauthor" same as plural "coauthors". --13Jul12 Put location/publisher in "" to match Cite_journal. --13Jul12 Supported parameter "ref=harv" as in Cite_web, Cite_book, etc. --14Jul12 Added: arvix, asin, bibcode, doi, lccn, mr, oclc, pmc, ssrn, zbl. --14Jul12 Set doc text as separate /doc for interwiki links. --14Jul12 Linked ISBN & ISSN by {hide in print} & {only in print}. --17Jul12 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=". --20Jul12 New parameters: encyclopedia, series/version, number, nopp. --21Jul12 New parameters: last5/first5, last6/first6,... last8/first8. --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. --01Aug12 Set to to handle "ref=". --06Sep12 Used non-nested "#if:{pmc|}{pmid|}{doi|}" was {pmc |{pmid |{doi}}}. -->