Template:Citation/core/fix

{{

#if:{{{Ref|}}}

|{{#ifeq:{{{Ref|}}}|none||id="{{anchorencode:{{{Ref|}}}}}"}}

|{{#if:{{{Surname1|}}}{{{EditorSurname1|}}}

|id="CITEREF{{anchorencode:{{#if:{{{Surname1|}}}

|{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}

|{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}

}}{{{Year|{{{Date|}}}}}}}}"

}}

}}>{{

#if:{{{Surname1|}}}

|{{

#if: {{{Authorlink1|}}}

|[[{{{Authorlink1}}} |{{{Surname1}}}{{

#if: {{{Given1|}}}

|, {{{Given1}}}

}}]]

|{{{Surname1}}}{{

#if: {{{Given1|}}}

|, {{{Given1}}}

}}

}}{{

#if: {{{Surname2|}}}

|{{

#if: {{{Surname3|}}}

|;

|{{#if:{{{amp|}}}| & |; }}

}}{{

#if: {{{Authorlink2|}}}

|[[{{{Authorlink2}}} |{{{Surname2}}}{{

#if: {{{Given2|}}}

|, {{{Given2}}}

}}]]

|{{{Surname2}}}{{

#if: {{{Given2|}}}

|, {{{Given2}}}

}}

}}{{

#if: {{{Surname3|}}}

|{{

#if: {{{Surname4|}}}

|;

|{{#if:{{{amp|}}}| & |; }}

}}{{

#if: {{{Authorlink3|}}}

|[[{{{Authorlink3}}} |{{{Surname3}}}{{

#if: {{{Given3|}}}

|, {{{Given3}}}

}}]]

|{{{Surname3}}}{{

#if: {{{Given3|}}}

|, {{{Given3}}}

}}

}}{{

#if:{{{Surname4|}}}

|{{

#if: {{{Surname5|}}}

|;

|{{#if:{{{amp|}}}| & |; }}

}}{{

#if: {{{Authorlink4|}}}

|[[{{{Authorlink4}}} |{{{Surname4}}}{{

#if: {{{Given4|}}}

|, {{{Given4}}}

}}]]

|{{{Surname4}}}{{

#if: {{{Given4|}}}

|, {{{Given4}}}

}}

}}{{

#if:{{{Surname5|}}}

|{{

#if: {{{Surname6|}}}

|;

|{{#if:{{{amp|}}}| & |; }}

}}{{

#if: {{{Authorlink5|}}}

|[[{{{Authorlink5}}} |{{{Surname5}}}{{

#if: {{{Given5|}}}

|, {{{Given5}}}

}}]]

|{{{Surname5}}}{{

#if: {{{Given5|}}}

|, {{{Given5}}}

}}

}}{{

#if:{{{Surname6|}}}

|{{

#if: {{{Surname7|}}}

|;

|{{#if:{{{amp|}}}| & |; }}

}}{{

#if: {{{Authorlink6|}}}

|[[{{{Authorlink6}}} |{{{Surname6}}}{{

#if: {{{Given6|}}}

|, {{{Given6}}}

}}]]

|{{{Surname6}}}{{

#if: {{{Given6|}}}

|, {{{Given6}}}

}}

}}{{

#if:{{{Surname7|}}}

|{{

#if: {{{Surname8|}}}

|;

|{{#if:{{{amp|}}}| & |; }}

}}{{

#if: {{{Authorlink7|}}}

|[[{{{Authorlink7}}} |{{{Surname7}}}{{

#if: {{{Given7|}}}

|, {{{Given7}}}

}}]]

|{{{Surname7}}}{{

#if: {{{Given7|}}}

|, {{{Given7}}}

}}

}}{{

#if:{{{Surname8|}}}

|{{

#if: {{{Surname9|}}}

|;

|{{#if:{{{amp|}}}| & |; }}

}}{{

#if: {{{Authorlink8|}}}

|[[{{{Authorlink8}}} |{{{Surname8}}}{{

#if: {{{Given8|}}}

|, {{{Given8}}}

}}]]

|{{{Surname8}}}{{

#if: {{{Given8|}}}

|, {{{Given8}}}

}}

}}{{

#if:{{{Surname9|}}}

|; et al.

}}

}}

}}

}}

}}

}}

}}

}}{{

#if: {{{Date|}}}

| ({{{Date}}}){{

#if:{{{YearNote|}}}

| [{{{YearNote}}}]

}}

}}

|{{

#if: {{{EditorSurname1|}}}

|{{

#if: {{{Editorlink1|}}}

|[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{

#if: {{{EditorGiven1|}}}

|, {{{EditorGiven1}}}

}}]]

|{{{EditorSurname1}}}{{

#if: {{{EditorGiven1|}}}

|, {{{EditorGiven1}}}

}}

}}{{

#if: {{{EditorSurname2|}}}

|; {{

#if: {{{Editorlink2|}}}

|[[{{{Editorlink2}}} |{{{EditorSurname2}}}{{

#if: {{{EditorGiven2|}}}

|, {{{EditorGiven2}}}

}}]]

|{{{EditorSurname2}}}{{

#if: {{{EditorGiven2|}}}

|, {{{EditorGiven2}}}

}}

}}{{

#if: {{{EditorSurname3|}}}

|; {{

#if: {{{Editorlink3|}}}

|[[{{{Editorlink3}}} |{{{EditorSurname3}}}{{

#if: {{{EditorGiven3|}}}

|, {{{EditorGiven3}}}

}}]]

|{{{EditorSurname3}}}{{

#if: {{{EditorGiven3|}}}

|, {{{EditorGiven3}}}

}}

}}{{

#if:{{{EditorSurname4|}}}

| et al.

}}

}}

}}, ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}{{

#if: {{{Date|}}}

| ({{{Date}}}){{

#if:{{{YearNote|}}}

| [{{{YearNote}}}]

}}

}}

}}

}}{{

#if: {{{IncludedWorkTitle|}}}

|{{

#if:{{{Surname1|}}}{{{EditorSurname1|}}}

|{{{Sep|,}}}

}}{{citation/make link

| 1={{

#if: {{{IncludedWorkURL|}}}

|{{{IncludedWorkURL}}}

|{{

#if: {{{URL|}}}

|{{{URL}}}

|{{

#if: {{{PMC|}}}

|http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}

}}

}}

}}

| 2={{

#if: {{{Periodical|}}}

|{{{IncludedWorkTitle}}}

|"{{{IncludedWorkTitle}}}"

}}

}}

}}{{

#if: {{{Place|}}}

|{{

#ifeq: {{{Place|}}} | {{{PublicationPlace|}}}

|

|{{

#if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}

|{{{Sep|,}}} written at {{{Place}}}

}}

}}

}}{{

#if: {{{EditorSurname1|}}}

|{{

#if: {{{Surname1|}}}

|{{{Sep|,}}} {{

#if: {{{IncludedWorkTitle|}}}

|in

}}{{

#if: {{{Editorlink1|}}}

|[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{

#if: {{{EditorGiven1|}}}

|, {{{EditorGiven1}}}

}}]]

|{{{EditorSurname1}}}{{

#if: {{{EditorGiven1|}}}

|, {{{EditorGiven1}}}

}}}}{{

#if: {{{EditorSurname2|}}}

|; {{

#if: {{{Editorlink2|}}}

|[[{{{Editorlink2}}}|{{{EditorSurname2}}}{{

#if: {{{EditorGiven2|}}}

|, {{{EditorGiven2}}}

}}]]

|{{{EditorSurname2}}}{{

#if: {{{EditorGiven2|}}}

|, {{{EditorGiven2}}}

}}

}}{{

#if: {{{EditorSurname3|}}}

|; {{

#if: {{{Editorlink3|}}}

|[[{{{Editorlink3}}}|{{{EditorSurname3}}}{{

#if: {{{EditorGiven3|}}}

|, {{{EditorGiven3}}}

}}]]

|{{{EditorSurname3}}}{{

#if: {{{EditorGiven3|}}}

|, {{{EditorGiven3}}}

}}

}}{{

#if:{{{EditorSurname4|}}}

| et al.

}}

}}

}}{{

#if: {{{IncludedWorkTitle|}}}

|

|{{{Sep|,}}} ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}

}}

}}

}}{{

#if: {{{Periodical|}}}

|{{

#if: {{{Surname1|}}}{{{EditorSurname1|}}}

|{{{Sep|,}}} }}{{

#if: {{{Title|}}}

|"{{Link

| 1={{

#if: {{{IncludedWorkTitle|}}}

|{{

#if: {{{IncludedWorkURL|}}}

|{{

#if: {{{URL|}}}

|{{{URL}}}

|{{

#if: {{{PMC|}}}

| http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}

}}

}}

}}

|{{

#if: {{{URL|}}}

|{{{URL}}}

| {{

#if: {{{PMC|}}}

| http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}

}}

}}

}}

| 2={{{Title}}}

}}"}}

}}{{

#if:{{{language|}}}

| (in {{{language}}})

}}{{#if:{{{format|}}}

| ({{{format}}})

}}{{

#if: {{{Periodical|}}}|{{

#if:{{{IncludedWorkTitle|}}}{{{Title|}}}|{{{Sep|,}}} }}{{{Periodical}}}{{

#if: {{{Series|}}}

|{{{Sep|,}}} {{{Series}}}

}}{{

#if: {{{PublicationPlace|}}}

|{{

#if: {{{Publisher|}}}

| ({{{PublicationPlace}}}: {{{Publisher}}})

| ({{{PublicationPlace}}})

}}

|{{

#if: {{{Publisher|}}}

| ({{{Publisher}}})

}}

}}{{

#if: {{{Volume|}}}

| {{{Volume}}}{{

#if: {{{Issue|}}}

| ({{{Issue}}})

}}

|{{

#if: {{{Issue|}}}

| ({{{Issue}}})

}}

}}{{

#if: {{{At|}}}

|: {{{At}}}

}}

|{{

#if: {{{Title|}}}

|{{

#if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}

|{{{Sep|,}}} |

}}''{{citation/make link

| 1={{

#if: {{{IncludedWorkTitle|}}}

|{{

#if: {{{IncludedWorkURL|}}}

|{{

#if: {{{URL|}}}

|{{{URL}}}

|{{

#if: {{{PMC|}}}

| http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}

}}

}}

}}

|{{

#if: {{{URL|}}}

|{{{URL}}}

|{{

#if: {{{PMC|}}}

| http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}

}}

}}

}}

| 2={{{Title}}}

}}''}}{{

#if: {{{Series|}}}

|{{{Sep|,}}} {{{Series}}}

}}{{

#if: {{{Volume|}}}

|{{{Sep|,}}} {{{Volume}}}

}}{{

#if: {{{Other|}}}

|{{{Sep|,}}} {{{Other|}}}

}}{{

#if: {{{Edition|}}}

| ({{{Edition}}} ed.)

}}{{

#if: {{{PublicationPlace|}}}

|{{{Sep|,}}} {{{PublicationPlace}}}

}}{{

#if: {{{Publisher|}}}

|{{

#if: {{{PublicationPlace|}}}

|:

|{{{Sep|,}}}

}} {{{Publisher}}}

}}

}}{{

#if: {{{Surname1|}}}{{{EditorSurname1|}}}

|

|{{

#if: {{{Date|}}}

|{{{Sep|,}}} {{{Date}}}{{

#if:{{{YearNote|}}}

| [{{{YearNote}}}]

}}

}}

}}{{

#if: {{{PublicationDate|}}}

|{{

#ifeq: {{{PublicationDate|}}} | {{{Date|}}}

|

|{{

#if: {{{EditorSurname1|}}}

|{{

#if: {{{Surname1|}}}

|{{{Sep|,}}} {{{PublicationDate}}}

| (published {{{PublicationDate}}})

}}

|{{

#if: {{{Periodical|}}}

|{{{Sep|,}}} {{{PublicationDate}}}

| (published {{{PublicationDate}}})

}}

}}

}}

}}{{

#if: {{{Periodical|}}}

|

|{{

#if: {{{At|}}}

|{{{Sep|,}}} {{{At}}}

}}

}}{{

  1. if:{{{DOI|}}}

|{{{Sep|,}}} doi:{{#if: {{{DoiBroken|}}}

| {{#tag:nowiki|{{{DOI}}}}} (inactive {{{DoiBroken|}}}) {{#ifeq: {{NAMESPACE}} | {{ns:0}} | Category:Pages with DOIs broken since {{#time: Y }}

| [https://doi.org/{{urlencode:{{{DOI}}}}} {{#tag:nowiki|{{{DOI}}}}}]

}}

}}{{

#if: {{{ID|}}}

|{{{Sep|,}}} {{{ID}}}

}}{{

#if: {{{ISBN|}}}

|{{{Sep|,}}} ISBN {{{ISBN}}}

}}{{

#if: {{{ISSN|}}}

|{{{Sep|,}}} ISSN [http://worldcat.org/issn/{{{ISSN}}} {{{ISSN}}}]

}}{{

#if: {{{OCLC|}}}

|{{{Sep|,}}} OCLC [http://worldcat.org/oclc/{{urlencode:{{{OCLC}}}}} {{{OCLC}}}]

}}{{

#if: {{{PMID|}}}

|{{{Sep|,}}} PMID {{{PMID}}}

}}{{

#if: {{{PMC|}}}

|{{#if: {{{URL|}}}

|{{{Sep|,}}} PMC: [http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}} {{{PMC}}}]

}}

}}{{

#if: {{{Bibcode|}}}

|{{{Sep|,}}} Bibcode: [http://adsabs.harvard.edu/abs/{{{Bibcode}}} {{{Bibcode}}}]

}}{{

#if: {{{Archive|}}}

|{{{Sep|,}}} {{{Archive}}}

|{{

#if:{{{OriginalURL|}}}

|{{{Sep|,}}} {{#ifeq:{{{Sep}}}|.|A|a}}rchived from {{#if:{{{OriginalURL|}}}|{{citation/make link|{{{OriginalURL}}}|the original}}|the original (unspecified URL)Category:Articles with broken citations}}{{

#if:{{{ArchiveDate|}}}

| on {{{ArchiveDate}}}

|. You must specify the date the archive was made using the {{para|archivedate}} parameter{{#if: {{NAMESPACE}}|| Category:Articles with broken citations}}

}}

|{{#if:{{{ArchiveDate|}}}|{{{Sep|,}}} {{#ifeq:{{{Sep}}}|.|A|a}}rchived on {{{ArchiveDate}}}; no {{para|archiveurl}} specified Category:Articles with broken citations}}

}}

}}{{

#if: {{{URL|{{{IncludedWorkURL|}}}}}}

|{{

#if: {{{Title|}}}{{{IncludedWorkTitle|}}}

|{{{Sep|,}}} {{

#if: {{{IncludedWorkURL|}}}

|{{{IncludedWorkURL}}}

|{{{URL}}}

}}

|{{{Sep|,}}} {{

#if: {{{IncludedWorkURL|}}}

|{{{IncludedWorkURL}}}

|{{{URL}}}

}}

}}{{

#if: {{{AccessDate|}}}

| {{#ifeq:{{{Sep|,}}}|,|, r|. R}}etrieved on {{{AccessDate}}}

}}

}}{{#if:{{{laysummary|}}}

|{{{Sep|,}}} [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}| – {{{laysource}}}}}

}}{{#if:{{{laydate|}}}

| ({{{laydate}}})

}}{{#if:{{{quote|}}}

|{{{Sep|,}}} "{{{quote}}}"

}}{{{PS|}}}

class="Z3988"

title="ctx_ver=Z39.88-2004&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:}}{{

#if: {{{Periodical|}}}

|journal&rft.genre=article&rft.atitle={{urlencode:{{{Title|}}}}}&rft.jtitle={{urlencode:{{{Periodical|}}}}}

|book{{

#if: {{{IncludedWorkTitle|}}}

|&rft.genre=bookitem&rft.btitle={{urlencode:{{{IncludedWorkTitle|}}}}}&rft.atitle={{urlencode:{{{Title|}}}}}

|&rft.genre=book&rft.btitle={{urlencode:{{{Title|}}}}}

}}

}}{{

#if: {{{Surname1|}}} |&rft.aulast={{urlencode:{{{Surname1}}}}}{{

#if: {{{Given1|}}} |&rft.aufirst={{urlencode:{{{Given1}}}}}

}}

}}{{

#if: {{{Surname1|}}} |&rft.au={{urlencode:{{{Surname1}}}}}{{

#if: {{{Given1|}}} |{{urlencode:, {{{Given1}}}}}

}}

}}{{

#if: {{{Surname2|}}} |&rft.au={{urlencode:{{{Surname2}}}}}{{

#if: {{{Given2|}}} |{{urlencode:, {{{Given2}}}}}

}}

}}{{

#if: {{{Surname3|}}} |&rft.au={{urlencode:{{{Surname3}}}}}{{

#if: {{{Given3|}}} |{{urlencode:, {{{Given3}}}}}

}}

}}{{

#if: {{{Surname4|}}} |&rft.au={{urlencode:{{{Surname4}}}}}{{

#if: {{{Given4|}}} |{{urlencode:, {{{Given4}}}}}

}}

}}{{

#if: {{{Surname5|}}} |&rft.au={{urlencode:{{{Surname5}}}}}{{

#if: {{{Given5|}}} |{{urlencode:, {{{Given5}}}}}

}}

}}{{

#if: {{{Surname6|}}} |&rft.au={{urlencode:{{{Surname6}}}}}{{

#if: {{{Given6|}}} |{{urlencode:, {{{Given6}}}}}

}}

}}{{

#if: {{{Surname7|}}} |&rft.au={{urlencode:{{{Surname7}}}}}{{

#if: {{{Given7|}}} |{{urlencode:, {{{Given7}}}}}

}}

}}{{

#if: {{{Surname8|}}} |&rft.au={{urlencode:{{{Surname8}}}}}{{

#if: {{{Given8|}}} |{{urlencode:, {{{Given8}}}}}

}}

}}{{

#if: {{{Surname9|}}} |&rft.au={{urlencode:{{{Surname9}}}}}{{

#if: {{{Given9|}}} |{{urlencode:, {{{Given9}}}}}

}}

}}{{

#if: {{{Date|}}} |&rft.date={{urlencode:{{{Date}}}}}

}}{{

#if: {{{Series|}}} |&rft.series={{urlencode:{{{Series}}}}}

}}{{

#if: {{{Volume|}}} |&rft.volume={{urlencode:{{{Volume}}}}}

}}{{

#if: {{{Issue|}}} |&rft.issue={{urlencode:{{{Issue}}}}}

}}{{

#if: {{{At|}}} |&rft.pages={{urlencode:{{{At}}}}}

}}{{

#if: {{{Edition|}}} |&rft.edition={{urlencode:{{{Edition}}}}}

}}{{

#if: {{{PublicationPlace|}}} |&rft.place={{urlencode:{{{PublicationPlace}}}}}

}}{{

#if: {{{Publisher|}}} |&rft.pub={{urlencode:{{{Publisher}}}}}

}}{{

#if: {{{DOI|}}} |&rft_id=info:doi/{{urlencode:{{{DOI}}}}}

}}{{

#if: {{{PMID|}}} |&rft_id=info:pmid/{{urlencode:{{{PMID}}}}}

}}{{

#if: {{{Bibcode|}}} |&rft_id=info:bibcode/{{urlencode:{{{Bibcode}}}}}

}}{{

#if: {{{OCLC|}}} |&rft_id=info:oclcnum/{{urlencode:{{{OCLC}}}}}

}}{{

#if: {{{ISBN|}}} |&rft.isbn={{urlencode:{{{ISBN}}}}}

}}{{

#if: {{{ISSN|}}} |&rft.issn={{urlencode:{{{ISSN}}}}}

}}{{

#if: {{{URL|{{{IncludedWorkURL|}}}}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}}

}}&rfr_id=info:sid/en.wikipedia.org:{{FULLPAGENAMEE}}"> {{documentation}}