User:Smith609/Citation/core

{{

#if:{{{Ref|}}}

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

|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: {{{Authorlink2|}}}

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

#if: {{{Given2|}}}

|, {{{Given2}}}

}}]]

|{{{Surname2}}}{{

#if: {{{Given2|}}}

|, {{{Given2}}}

}}

}}{{

#if: {{{Surname3|}}}

|{{

#if: {{{Surname4|}}}

|;

| &

}}{{

#if: {{{Authorlink3|}}}

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

#if: {{{Given3|}}}

|, {{{Given3}}}

}}]]

|{{{Surname3}}}{{

#if: {{{Given3|}}}

|, {{{Given3}}}

}}

}}{{

#if:{{{Surname4|}}}

|{{

#if: {{{Surname5|}}}

|;

| &

}}{{

#if: {{{Authorlink4|}}}

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

#if: {{{Given4|}}}

|, {{{Given4}}}

}}]]

|{{{Surname4}}}{{

#if: {{{Given4|}}}

|, {{{Given4}}}

}}

}}{{

#if:{{{Surname5|}}}

|{{

#if: {{{Surname6|}}}

|;

| &

}}{{

#if: {{{Authorlink5|}}}

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

#if: {{{Given5|}}}

|, {{{Given5}}}

}}]]

|{{{Surname5}}}{{

#if: {{{Given5|}}}

|, {{{Given5}}}

}}

}}{{

#if:{{{Surname6|}}}

|{{

#if: {{{Surname7|}}}

|;

| &

}}{{

#if: {{{Authorlink6|}}}

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

#if: {{{Given6|}}}

|, {{{Given6}}}

}}]]

|{{{Surname6}}}{{

#if: {{{Given6|}}}

|, {{{Given6}}}

}}

}}{{

#if:{{{Surname7|}}}

|{{

#if: {{{Surname8|}}}

|;

| &

}}{{

#if: {{{Authorlink7|}}}

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

#if: {{{Given7|}}}

|, {{{Given7}}}

}}]]

|{{{Surname7}}}{{

#if: {{{Given7|}}}

|, {{{Given7}}}

}}

}}{{

#if:{{{Surname8|}}}

|{{

#if: {{{Surname9|}}}

|;

| &

}}{{

#if: {{{Authorlink8|}}}

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

#if: {{{Given8|}}}

|, {{{Given8}}}

}}]]

|{{{Surname8}}}{{

#if: {{{Given8|}}}

|, {{{Given8}}}

}}

}}{{

#if:{{{Surname9|}}}

|; et al.

}}

}}

}}

}}

}}

}}

}}

}}{{

#if: {{{Date|}}}

| ({{{Date}}})

}}

|{{

#if: {{{EditorSurname1|}}}

|{{

#if: {{{Editorlink1|}}}

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

#if: {{{EditorGiven1|}}}

|. {{{EditorGiven1}}}

}}]]

|{{{EditorSurname1}}}{{

#if: {{{EditorGiven1|}}}

|. {{{EditorGiven1}}}

}}

}}{{

#if: {{{EditorSurname2|}}}

|{{

#if: {{{EditorSurname3|}}}

|;

| &

}}{{

#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}}.{{

#if: {{{Date|}}}

| ({{{Date}}})

}}

}}

}}{{

#if: {{{IncludedWorkTitle|}}}

|{{

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

|.

}}{{citation/make link

| 1={{

#if: {{{IncludedWorkURL|}}}

|{{{IncludedWorkURL}}}

|{{

#if: {{{URL|}}}

|{{{URL}}}

|{{

#if: {{{PMC|}}}

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

}}

}}

}}

| 2={{

#if: {{{Periodical|}}}

|{{{IncludedWorkTitle}}}

|"{{{IncludedWorkTitle}}}"

}}

}}{{

  1. if:{{{language|}}}

| (in {{{language}}})

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

| ({{{format}}})

}}

}}{{

#if: {{{Place|}}}

|{{

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

|

|{{

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

|. Written at {{{Place}}}

}}

}}

}}{{

#if: {{{EditorSurname1|}}}

|{{

#if: {{{Surname1|}}}

|. {{

#if: {{{IncludedWorkTitle|}}}

|in

}}{{

#if: {{{Editorlink1|}}}

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

#if: {{{EditorGiven1|}}}

|, {{{EditorGiven1}}}

}}]]

|{{{EditorSurname1}}}{{

#if: {{{EditorGiven1|}}}

|, {{{EditorGiven1}}}

}}

}}{{

#if: {{{EditorSurname2|}}}

|{{

#if: {{{EditorSurname3|}}}

|;

| &

}}{{

#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|}}}

|

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

}}

}}

}}{{

#if: {{{Periodical|}}}

|{{

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

|.

}}{{

#if: {{{Title|}}}

|"{{citation/make link

| 1={{

#if: {{{IncludedWorkTitle|}}}

|{{

#if: {{{IncludedWorkURL|}}}

|{{

#if: {{{URL|}}}

|{{{URL}}}

|{{

#if: {{{PMC|}}}

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

}}

}}

}}

|{{

#if: {{{URL|}}}

|{{{URL}}}

| {{

#if: {{{PMC|}}}

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

}}

}}

}}

| 2={{{Title}}}

}}"{{

#if:{{{language|}}}

| (in {{{language}}})

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

| ({{{format}}})

}}.

}}{{{Periodical}}}{{

#if: {{{Series|}}}

|, {{{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|}}}

|.

}}''{{citation/make link

| 1={{

#if: {{{IncludedWorkTitle|}}}

|{{

#if: {{{IncludedWorkURL|}}}

|{{

#if: {{{URL|}}}

|{{{URL}}}

|{{

#if: {{{PMC|}}}

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

}}

}}

}}

|{{

#if: {{{URL|}}}

|{{{URL}}}

|{{

#if: {{{PMC|}}}

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

}}

}}

}}

| 2={{{Title}}}

}}''{{

#if: {{{Series|}}}

|. {{{Series}}}

}}{{

#if: {{{Volume|}}}

|. {{{Volume}}}

}}{{

#if: {{{Edition|}}}

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

}}{{

#if: {{{PublicationPlace|}}}

|. {{{PublicationPlace}}}

}}{{

#if: {{{Publisher|}}}

|{{

#if: {{{PublicationPlace|}}}

|:

|.

}} {{{Publisher}}}

}}

}}

}}{{

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

|

|{{

#if: {{{Date|}}}

|. {{{Date}}}

}}

}}{{

#if: {{{PublicationDate|}}}

|{{

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

|

|{{

#if: {{{EditorSurname1|}}}

|{{

#if: {{{Surname1|}}}

|. {{{PublicationDate}}}

| (published {{{PublicationDate}}})

}}

|{{

#if: {{{Periodical|}}}

|. {{{PublicationDate}}}

| (published {{{PublicationDate}}})

}}

}}

}}

}}{{

#if: {{{Periodical|}}}

|

|{{

#if: {{{At|}}}

|. {{{At}}}

}}

}}{{

  1. if:{{{doi|}}}

|. doi:{{#if: {{{doi_brokendate|}}}

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

| [http://dx.doi.org/{{urlencode:{{{doi}}}}} {{#tag:nowiki|{{{doi}}}}}]

}}

}}{{

#if: {{{ID|}}}

|. {{{ID}}}

}}{{

#if: {{{ISBN|}}}

|. ISBN {{{ISBN}}}

}}{{

#if: {{{ISSN|}}}

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

}}{{

#if: {{{OCLC|}}}

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

}}{{

#if: {{{PMID|}}}

|. PMID {{{PMID}}}

}}{{

#if: {{{Bibcode|}}}

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

}}{{

#if: {{{DOI|}}}

|{{

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

|. {{doi| {{{DOI}}} }}

|, doi {{{DOI}}}

}}

}}{{

#if: {{{URL|}}}

|{{

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

|, <{{

#if: {{{IncludedWorkURL|}}}

|{{{IncludedWorkURL}}}

|{{{URL}}}

}}>

|, <{{

#if: {{{IncludedWorkURL|}}}

|{{{IncludedWorkURL}}}

|{{{URL}}}

}}>

}}

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

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

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

| ({{{laydate}}})

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

| "{{{quote}}}"

}}

class="Z3988"

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

#if: {{{Journal|}}}

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

|{{

#if: {{{IncludedWorkTitle|}}}

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

|&rft.genre=book

}}&rft.title={{urlencode:{{{Title|}}}}}

}}{{

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

}}{{

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

}}{{

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

}}{{

#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: {{{Place|}}} |&rft.place={{urlencode:{{{Place}}}}}

}}{{

#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: {{{ISBN|}}} |&rft.isbn={{urlencode:{{{ISBN}}}}}

}}{{

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

}}{{

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

}}">