Still working to recover. Please don't edit quite yet.
Difference between revisions of "Template:Citation/core"
From Anarchopedia
Anarchangel (Talk | contribs) (Categories fix) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | [[ | + | <span class="citation {{{Citation class|{{{Citation type|}}}}}}" |
+ | {{ | ||
+ | #switch:{{{Ref|}}} | ||
+ | ||none = | ||
+ | |#default = id="{{anchorencode:{{{Ref}}}}}" | ||
+ | |harv = {{#if:{{{Surname1|}}}{{{EditorSurname1|}}} | ||
+ | |id="CITEREF{{anchorencode:{{#if:{{{Surname1|}}} | ||
+ | |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}} | ||
+ | |{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}} | ||
+ | }}{{{Year|{{{Date|}}}}}}}}" | ||
+ | }} | ||
+ | }}>{{ | ||
+ | <!--============ Author or editor and date ============--> | ||
+ | #if:{{{Surname1|}}} | ||
+ | |{{ | ||
+ | #if: {{{AuthorMask|}}} | ||
+ | |{{ | ||
+ | #iferror: {{ #expr: 1*{{{AuthorMask}}} }} | ||
+ | |{{{AuthorMask}}} | ||
+ | |<del>{{loop|{{{AuthorMask}}}|2= }}</del> | ||
+ | }} | ||
+ | |{{ | ||
+ | #if: {{{Authorlink1|}}} | ||
+ | |[[{{{Authorlink1}}} |{{{Surname1}}}{{ | ||
+ | #if: {{{Given1|}}} | ||
+ | |{{{NameSep|, }}}{{{Given1}}} | ||
+ | }}]] | ||
+ | |{{{Surname1}}}{{ | ||
+ | #if: {{{Given1|}}} | ||
+ | |{{{NameSep|, }}}{{{Given1}}} | ||
+ | }} | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if: {{{Surname2|}}} | ||
+ | |{{#ifexpr:{{{Trunc|8}}}<2 | ||
+ | | ''et al''. | ||
+ | |{{ | ||
+ | #iferror: {{ #expr: 1*0.0{{{AuthorMask|}}} }} | ||
+ | | <!-- then punctuation should be included in AuthorMask --> | ||
+ | |{{ | ||
+ | #if: {{{Surname3|}}} | ||
+ | |{{{AuthorSep|; }}} | ||
+ | |{{#if:{{{amp|}}}| & |{{{AuthorSep|; }}}}} | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if: {{{Authorlink2|}}} | ||
+ | |[[{{{Authorlink2}}} |{{{Surname2}}}{{ | ||
+ | #if: {{{Given2|}}} | ||
+ | |{{{NameSep|, }}}{{{Given2}}} | ||
+ | }}]] | ||
+ | |{{{Surname2}}}{{ | ||
+ | #if: {{{Given2|}}} | ||
+ | |{{{NameSep|, }}}{{{Given2}}} | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if: {{{Surname3|}}} | ||
+ | |{{#ifexpr:{{{Trunc|8}}}<3 | ||
+ | | ''et al''. | ||
+ | |{{ | ||
+ | #if: {{{Surname4|}}} | ||
+ | |{{{AuthorSep|; }}} | ||
+ | |{{#if:{{{amp|}}}| & |{{{AuthorSep|; }}}}} | ||
+ | }}{{ | ||
+ | #if: {{{Authorlink3|}}} | ||
+ | |[[{{{Authorlink3}}} |{{{Surname3}}}{{ | ||
+ | #if: {{{Given3|}}} | ||
+ | |{{{NameSep|, }}}{{{Given3}}} | ||
+ | }}]] | ||
+ | |{{{Surname3}}}{{ | ||
+ | #if: {{{Given3|}}} | ||
+ | |{{{NameSep|, }}}{{{Given3}}} | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if:{{{Surname4|}}} | ||
+ | |{{#ifexpr:{{{Trunc|8}}}<4 | ||
+ | | ''et al''. | ||
+ | |{{ | ||
+ | #if: {{{Surname5|}}} | ||
+ | |{{{AuthorSep|; }}} | ||
+ | |{{#if:{{{amp|}}}| & |{{{AuthorSep|; }}}}} | ||
+ | }}{{ | ||
+ | #if: {{{Authorlink4|}}} | ||
+ | |[[{{{Authorlink4}}} |{{{Surname4}}}{{ | ||
+ | #if: {{{Given4|}}} | ||
+ | |{{{NameSep|, }}}{{{Given4}}} | ||
+ | }}]] | ||
+ | |{{{Surname4}}}{{ | ||
+ | #if: {{{Given4|}}} | ||
+ | |{{{NameSep|, }}}{{{Given4}}} | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if:{{{Surname5|}}} | ||
+ | |{{#ifexpr:{{{Trunc|8}}}<5 | ||
+ | | ''et al''. | ||
+ | |{{ | ||
+ | #if: {{{Surname6|}}} | ||
+ | |{{{AuthorSep|; }}} | ||
+ | |{{#if:{{{amp|}}}| & |{{{AuthorSep|; }}}}} | ||
+ | }}{{ | ||
+ | #if: {{{Authorlink5|}}} | ||
+ | |[[{{{Authorlink5}}} |{{{Surname5}}}{{ | ||
+ | #if: {{{Given5|}}} | ||
+ | |{{{NameSep|, }}}{{{Given5}}} | ||
+ | }}]] | ||
+ | |{{{Surname5}}}{{ | ||
+ | #if: {{{Given5|}}} | ||
+ | |{{{NameSep|, }}}{{{Given5}}} | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if:{{{Surname6|}}} | ||
+ | |{{#ifexpr:{{{Trunc|8}}}<6 | ||
+ | | ''et al''. | ||
+ | |{{ | ||
+ | #if: {{{Surname7|}}} | ||
+ | |{{{AuthorSep|; }}} | ||
+ | |{{#if:{{{amp|}}}| & |{{{AuthorSep|; }}}}} | ||
+ | }}{{ | ||
+ | #if: {{{Authorlink6|}}} | ||
+ | |[[{{{Authorlink6}}} |{{{Surname6}}}{{ | ||
+ | #if: {{{Given6|}}} | ||
+ | |{{{NameSep|, }}}{{{Given6}}} | ||
+ | }}]] | ||
+ | |{{{Surname6}}}{{ | ||
+ | #if: {{{Given6|}}} | ||
+ | |{{{NameSep|, }}}{{{Given6}}} | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if:{{{Surname7|}}} | ||
+ | |{{#ifexpr:{{{Trunc|8}}}<7 | ||
+ | | ''et al''. | ||
+ | |{{ | ||
+ | #if: {{{Surname8|}}} | ||
+ | |{{{AuthorSep|; }}} | ||
+ | |{{#if:{{{amp|}}}| & |{{{AuthorSep|; }}}}} | ||
+ | }}{{ | ||
+ | #if: {{{Authorlink7|}}} | ||
+ | |[[{{{Authorlink7}}} |{{{Surname7}}}{{ | ||
+ | #if: {{{Given7|}}} | ||
+ | |{{{NameSep|, }}}{{{Given7}}} | ||
+ | }}]] | ||
+ | |{{{Surname7}}}{{ | ||
+ | #if: {{{Given7|}}} | ||
+ | |{{{NameSep|, }}}{{{Given7}}} | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if:{{{Surname8|}}} | ||
+ | |{{#ifexpr:{{{Trunc|8}}}<8 | ||
+ | | ''et al''. | ||
+ | |{{ | ||
+ | #if: {{{Surname9|}}} | ||
+ | |{{{AuthorSep|; }}} | ||
+ | |{{#if:{{{amp|}}}| & |{{{AuthorSep|; }}}}} | ||
+ | }}{{ | ||
+ | #if: {{{Authorlink8|}}} | ||
+ | |[[{{{Authorlink8}}} |{{{Surname8}}}{{ | ||
+ | #if: {{{Given8|}}} | ||
+ | |{{{NameSep|, }}}{{{Given8}}} | ||
+ | }}]] | ||
+ | |{{{Surname8}}}{{ | ||
+ | #if: {{{Given8|}}} | ||
+ | |{{{NameSep|, }}}{{{Given8}}} | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if:{{{Surname9|}}} | ||
+ | | ''et al''. | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
− | ''' | + | }}{{ |
+ | #if: {{{Coauthors|}}} | ||
+ | |{{{AuthorSep|; }}}{{{Coauthors|}}}| | ||
+ | }}{{ | ||
+ | #if: {{{Date|}}} | ||
+ | | ({{{Date}}}){{ | ||
+ | #if:{{{YearNote|}}} | ||
+ | | [{{{YearNote}}}] | ||
+ | }} | ||
+ | }} | ||
+ | |{{<!-- ============== No author: display editors first == --> | ||
+ | #if: {{{EditorSurname1|}}} | ||
+ | |{{ | ||
+ | #if: {{{Editorlink1|}}} | ||
+ | |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{ | ||
+ | #if: {{{EditorGiven1|}}} | ||
+ | |, {{{EditorGiven1}}} | ||
+ | }}]] | ||
+ | |{{{EditorSurname1}}}{{ | ||
+ | #if: {{{EditorGiven1|}}} | ||
+ | |, {{{EditorGiven1}}} | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if: {{{EditorSurname2|}}} | ||
+ | |{{ | ||
+ | #if: {{{EditorSurname3|}}} | ||
+ | |{{{AuthorSep|; }}} | ||
+ | |{{#if:{{{amp|}}}| & |{{{AuthorSep|; }}}}} | ||
+ | }}{{ | ||
+ | #if: {{{Editorlink2|}}} | ||
+ | |[[{{{Editorlink2}}} |{{{EditorSurname2}}}{{ | ||
+ | #if: {{{EditorGiven2|}}} | ||
+ | |, {{{EditorGiven2}}} | ||
+ | }}]] | ||
+ | |{{{EditorSurname2}}}{{ | ||
+ | #if: {{{EditorGiven2|}}} | ||
+ | |, {{{EditorGiven2}}} | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if: {{{EditorSurname3|}}} | ||
+ | |{{ | ||
+ | #if: {{{EditorSurname4|}}} | ||
+ | |{{{AuthorSep|; }}} | ||
+ | |{{#if:{{{amp|}}}| & |{{{AuthorSep|; }}}}} | ||
+ | }}{{ | ||
+ | #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}}}] | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }}{{ | ||
+ | <!--============ Title of included work ============--> | ||
+ | #if: {{{IncludedWorkTitle|}}}{{#if:{{{Periodical|}}}||{{#if:{{{TransItalic|}}}||{{{TransTitle|}}}}}}} | ||
+ | |{{ | ||
+ | #if:{{{Surname1|}}}{{{EditorSurname1|}}} | ||
+ | |{{{Sep|,}}}  | ||
+ | }}{{Citation/make link | ||
+ | | 1={{ | ||
+ | #if: {{{IncludedWorkURL|}}} | ||
+ | |{{{IncludedWorkURL}}} | ||
+ | |{{ | ||
+ | #if: {{{URL|}}} | ||
+ | |{{{URL}}} | ||
+ | <!-- Only link URL if to a free full text - as at PubMedCentral (PMC)--> | ||
+ | |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }} | ||
+ | |{{ | ||
+ | #if: {{{PMC|}}} | ||
+ | |http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | | 2={{ | ||
+ | #if: {{{Periodical|}}} | ||
+ | |''<nowiki />{{{IncludedWorkTitle}}}<nowiki />'' | ||
+ | |"{{{IncludedWorkTitle|}}}{{ | ||
+ | #if: {{{TransTitle|}}} | ||
+ | |{{ | ||
+ | #if: {{{IncludedWorkTitle|}}} | ||
+ | |  | ||
+ | }}[{{{TransTitle}}}] | ||
+ | }}" | ||
+ | }} | ||
+ | }} | ||
+ | }}{{ | ||
+ | <!--============ Place (if different than PublicationPlace) ============--> | ||
+ | #if: {{{Place|}}} | ||
+ | |{{ | ||
+ | #ifeq: {{{Place|}}} | {{{PublicationPlace|}}} | ||
+ | | | ||
+ | |{{ | ||
+ | #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}} | ||
+ | |{{{Sep|,}}} written at {{{Place}}} | ||
+ | }} | ||
+ | }} | ||
+ | }}{{ | ||
+ | <!--============ Editor of compilation ============--> | ||
+ | #if: {{{EditorSurname1|}}} | ||
+ | |{{ | ||
+ | #if: {{{Surname1|}}} | ||
+ | |{{{Sep|,}}} {{ | ||
+ | #if: {{{IncludedWorkTitle|}}} | ||
+ | |{{#ifeq:{{{Sep|,}}}|.|I|i}}n  | ||
+ | }}{{ | ||
+ | #if: {{{Editorlink1|}}} | ||
+ | |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{ | ||
+ | #if: {{{EditorGiven1|}}} | ||
+ | |, {{{EditorGiven1}}} | ||
+ | }}]] | ||
+ | |{{{EditorSurname1}}}{{ | ||
+ | #if: {{{EditorGiven1|}}} | ||
+ | |, {{{EditorGiven1}}} | ||
+ | }}}}{{ | ||
+ | #if: {{{EditorSurname2|}}} | ||
+ | |{{ | ||
+ | #if: {{{EditorSurname3|}}} | ||
+ | |{{{AuthorSep|; }}} | ||
+ | |{{#if:{{{amp|}}}| & |{{{AuthorSep|; }}}}} | ||
+ | }}{{ | ||
+ | #if: {{{Editorlink2|}}} | ||
+ | |[[{{{Editorlink2}}}|{{{EditorSurname2}}}{{ | ||
+ | #if: {{{EditorGiven2|}}} | ||
+ | |, {{{EditorGiven2}}} | ||
+ | }}]] | ||
+ | |{{{EditorSurname2}}}{{ | ||
+ | #if: {{{EditorGiven2|}}} | ||
+ | |, {{{EditorGiven2}}} | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if: {{{EditorSurname3|}}} | ||
+ | |{{ | ||
+ | #if: {{{EditorSurname4|}}} | ||
+ | |;  | ||
+ | |{{#if:{{{amp|}}}| & |{{{AuthorSep|; }}}}} | ||
+ | }}{{ | ||
+ | #if: {{{Editorlink3|}}} | ||
+ | |[[{{{Editorlink3}}}|{{{EditorSurname3}}}{{ | ||
+ | #if: {{{EditorGiven3|}}} | ||
+ | |, {{{EditorGiven3}}} | ||
+ | }}]] | ||
+ | |{{{EditorSurname3}}}{{ | ||
+ | #if: {{{EditorGiven3|}}} | ||
+ | |, {{{EditorGiven3}}} | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if:{{{EditorSurname4|}}} | ||
+ | | et al. | ||
+ | }} | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if: {{{IncludedWorkTitle|}}} | ||
+ | | | ||
+ | |{{{Sep|,}}} ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}} | ||
+ | }} | ||
+ | }} | ||
+ | }}{{ | ||
+ | <!--============ Periodicals ============--> | ||
+ | #if: {{{Periodical|}}} | ||
+ | |{{ | ||
+ | #if: {{{Other|}}} | ||
+ | |{{{Sep|,}}} {{{Other|}}} | ||
+ | }}{{ | ||
+ | #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}} | ||
+ | |{{{Sep|,}}} }}{{ | ||
+ | #if: {{{Title|}}}{{{TransTitle|}}} | ||
+ | |{{Citation/make link | ||
+ | | 1={{ | ||
+ | #if: {{{IncludedWorkTitle|}}} | ||
+ | |{{ | ||
+ | #if: {{{IncludedWorkURL|}}} | ||
+ | |{{ | ||
+ | #if: {{{URL|}}} | ||
+ | |{{{URL}}} | ||
+ | |{{ | ||
+ | #ifexpr: {{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }} | {{ | ||
+ | #if: {{{PMC|}}} | ||
+ | | http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | |{{ | ||
+ | #if: {{{URL|}}} | ||
+ | |{{{URL}}} | ||
+ | |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }} |{{ | ||
+ | #if: {{{PMC|}}} | ||
+ | | http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | | 2="{{{Title}}}{{ | ||
+ | #if: {{{TransTitle|}}} | ||
+ | |{{ | ||
+ | #if: {{{Title|}}} | ||
+ | |  | ||
+ | }}[{{{TransTitle}}}] | ||
+ | }}" | ||
+ | }}{{ | ||
+ | #if: {{{TitleNote|}}} | ||
+ | |{{{Sep|,}}} {{{TitleNote}}} | ||
+ | }} | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if: {{{language|}}} | ||
+ | | (in {{{language}}}) | ||
+ | }}{{ | ||
+ | #if: {{{format|}}} | ||
+ | | ({{{format}}}) | ||
+ | }}{{ | ||
+ | #if: {{{Periodical|}}} | ||
+ | |{{ | ||
+ | #if:{{{IncludedWorkTitle|}}}{{{Title|}}}{{{TransTitle|}}} | ||
+ | |{{{Sep|,}}}  | ||
+ | }}''<nowiki />{{{Periodical}}}<nowiki />''{{ | ||
+ | #if: {{{Series|}}} | ||
+ | |{{{Sep|,}}} {{{Series}}} | ||
+ | }}{{ | ||
+ | #if: {{{PublicationPlace|}}} | ||
+ | |{{ | ||
+ | #if: {{{Publisher|}}} | ||
+ | | ({{{PublicationPlace}}}<nowiki>: </nowiki>{{{Publisher}}}) | ||
+ | | ({{{PublicationPlace}}}) | ||
+ | }} | ||
+ | |{{ | ||
+ | #if: {{{Publisher|}}} | ||
+ | | ({{{Publisher}}}) | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if: {{{Volume|}}} | ||
+ | | '''<nowiki />{{{Volume}}}<nowiki />'''{{ | ||
+ | #if: {{{Issue|}}} | ||
+ | | ({{{Issue}}}) | ||
+ | }} | ||
+ | |{{ | ||
+ | #if: {{{Issue|}}} | ||
+ | | ({{{Issue}}}) | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if: {{{At|}}} | ||
+ | |<nowiki>: </nowiki> {{{At}}} | ||
+ | }} | ||
+ | |{{ | ||
+ | <!--============ Anything else with a title, including books ============--> | ||
+ | #if: {{{Title|}}}{{{TransItalic|}}} | ||
+ | |{{ | ||
+ | #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}} | ||
+ | |{{{Sep|,}}} | ||
+ | }} {{Citation/make link | ||
+ | | 1={{ | ||
+ | #if: {{{IncludedWorkTitle|}}} | ||
+ | |{{ | ||
+ | #if: {{{IncludedWorkURL|}}} | ||
+ | |{{ | ||
+ | #if: {{{URL|}}} | ||
+ | |{{{URL}}} | ||
+ | |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }}|{{ | ||
+ | #if: {{{PMC|}}} | ||
+ | | http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}} | ||
+ | }}}} | ||
+ | }} | ||
+ | }} | ||
+ | |{{ | ||
+ | #if: {{{URL|}}} | ||
+ | |{{{URL}}} | ||
+ | |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }}|{{ | ||
+ | #if: {{{PMC|}}} | ||
+ | | http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}} | ||
+ | }}}} | ||
+ | }} | ||
+ | }} | ||
+ | | 2=''<nowiki />{{{Title|}}}{{ | ||
+ | #if:{{{TransItalic|}}}| [{{{TransItalic}}}] | ||
+ | }}<nowiki />'' | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if: {{{TitleType|}}} | ||
+ | | ({{{TitleType}}}) | ||
+ | }}{{ | ||
+ | #if: {{{Series|}}} | ||
+ | |{{{Sep|,}}} {{{Series}}} | ||
+ | }}{{ | ||
+ | #if: {{{Volume|}}} | ||
+ | |{{{Sep|,}}} '''<nowiki />{{{Volume}}}<nowiki />''' | ||
+ | }}{{ | ||
+ | #if: {{{Other|}}} | ||
+ | |{{{Sep|,}}} {{{Other|}}} | ||
+ | }}{{ | ||
+ | #if: {{{Edition|}}} | ||
+ | | ({{{Edition}}} ed.) | ||
+ | }}{{ | ||
+ | #if: {{{PublicationPlace|}}} | ||
+ | |{{{Sep|,}}} {{{PublicationPlace}}} | ||
+ | }}{{ | ||
+ | #if: {{{Publisher|}}} | ||
+ | |{{ | ||
+ | #if: {{{PublicationPlace|}}} | ||
+ | |<nowiki>:</nowiki> | ||
+ | |{{{Sep|,}}} | ||
+ | }} {{{Publisher}}} | ||
+ | }} | ||
+ | }}{{ | ||
+ | <!--============ Date (if no author/editor) ============--> | ||
+ | #if: {{{Surname1|}}}{{{EditorSurname1|}}} | ||
+ | | | ||
+ | |{{ | ||
+ | #if: {{{Date|}}} | ||
+ | |{{{Sep|,}}} {{{Date}}}{{ | ||
+ | #if:{{{YearNote|}}} | ||
+ | | [{{{YearNote}}}] | ||
+ | }} | ||
+ | }} | ||
+ | }}{{ | ||
+ | <!--============ Publication date ============--> | ||
+ | #if: {{{PublicationDate|}}} | ||
+ | |{{ | ||
+ | #ifeq: {{{PublicationDate|}}} | {{{Date|}}} | ||
+ | | | ||
+ | |{{ | ||
+ | #if: {{{EditorSurname1|}}} | ||
+ | |{{ | ||
+ | #if: {{{Surname1|}}} | ||
+ | |{{{Sep|,}}} {{{PublicationDate}}} | ||
+ | | (published {{{PublicationDate}}}) | ||
+ | }} | ||
+ | |{{ | ||
+ | #if: {{{Periodical|}}} | ||
+ | |{{{Sep|,}}} {{{PublicationDate}}} | ||
+ | | (published {{{PublicationDate}}}) | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }}{{ | ||
+ | <!--============ Page within included work ============--> | ||
+ | #if: {{{Periodical|}}} | ||
+ | | | ||
+ | |{{ | ||
+ | #if: {{{At|}}} | ||
+ | |{{{Sep|,}}} {{{At}}} | ||
+ | }} | ||
+ | }}{{ | ||
+ | <!--===============DOI================--> | ||
+ | #if:{{{DOI|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=doi |input1={{{DOI|}}} |input2={{{DoiBroken|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ Misc. Identifier ============--> | ||
+ | #if: {{{ID|}}} | ||
+ | |{{ | ||
+ | #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}{{{Title|}}}{{{TransItalic|}}} | ||
+ | |{{{Sep|,}}} {{{ID}}} | ||
+ | |{{{ID}}} | ||
+ | }} | ||
+ | }}{{ | ||
+ | <!--============ ISBN ============--> | ||
+ | #if: {{{ISBN|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=isbn |input1={{{ISBN|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ ISSN ============--> | ||
+ | #if: {{{ISSN|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=issn |input1={{{ISSN|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ OCLC ============--> | ||
+ | #if: {{{OCLC|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=oclc |input1={{{OCLC|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ PMID ============--> | ||
+ | #if: {{{PMID|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=pmid |input1={{{PMID|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ PMC ============--> | ||
+ | #if: {{{PMC|}}} | ||
+ | |{{ | ||
+ | #if: {{{URL|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=pmc |input1={{{PMC|}}} }} | ||
+ | |{{only in print|{{{Sep|,}}} {{citation/identifier |identifier=pmc |input1={{{PMC|}}} }} }}<!--Should only display by default in print--> | ||
+ | }} | ||
+ | }}{{ | ||
+ | <!--============ BIBCODE ============--> | ||
+ | #if: {{{Bibcode|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=bibcode |input1={{{Bibcode|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ Archive data, etc ===========--> | ||
+ | #if: {{{Archive|}}} | ||
+ | |{{{Sep|,}}} {{{Archive}}}[[Category:Pages using deprecated citation archive parameters]] | ||
+ | |{{ | ||
+ | #if:{{{ArchiveURL|}}}{{{ArchiveDate|}}} | ||
+ | |{{{Sep|,}}} {{#ifeq:{{{Sep}}}|.|A|a}}rchived{{ | ||
+ | #if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}} | ||
+ | |{{#if:{{{ArchiveURL|}}}| from {{Citation/make link|{{{OriginalURL|{{{IncludedWorkURL|}}}}}}|the original}}}} | ||
+ | }}{{ | ||
+ | #if:{{{ArchiveDate|}}} | ||
+ | | on {{{ArchiveDate}}} | ||
+ | }}{{ | ||
+ | #if:{{#if:{{{ArchiveURL|}}}||A}}{{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}||B}}{{#if:{{{ArchiveDate|}}}||C}} | ||
+ | |. {{citation error|nocat={{{template doc demo|}}} | ||
+ | |If you specify <code>|{{#if:{{{ArchiveURL|}}}|archiveurl|archivedate}}=</code>, you must {{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}| also specify <code>|{{#if:{{{ArchiveURL|}}}|archivedate|archiveurl}}=</code>|first specify <code>|url=</code>}}}} | ||
+ | }} | ||
+ | }} | ||
+ | }}{{ | ||
+ | <!--============ URL and AccessDate ============--> | ||
+ | #if: {{{URL|}}}{{{IncludedWorkURL|}}} | ||
+ | |{{ | ||
+ | #if: {{{Title|}}}{{{IncludedWorkTitle|}}}{{{TransTitle|}}} | ||
+ | |<span class="printonly">{{{Sep|,}}} {{ | ||
+ | #if: {{{IncludedWorkURL|}}} | ||
+ | |{{{IncludedWorkURL}}} | ||
+ | |{{{URL}}} | ||
+ | }}</span> | ||
+ | |{{{Sep|,}}} {{ | ||
+ | #if: {{{IncludedWorkURL|}}} | ||
+ | |{{{IncludedWorkURL}}} | ||
+ | |{{{URL}}} | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if: {{{AccessDate|}}} | ||
+ | | <span class="reference-accessdate">{{#ifeq:{{{Sep|,}}}|,|, r|. R}}etrieved {{{AccessDate}}}</span> | ||
+ | }} | ||
+ | }}{{#if:{{{laysummary|}}} | ||
+ | |{{{Sep|,}}} [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}| – ''<nowiki />{{{laysource}}}<nowiki />''}} | ||
+ | }}{{#if:{{{laydate|}}} | ||
+ | |  ({{{laydate}}}) | ||
+ | }}{{#if:{{{quote|}}} | ||
+ | |{{{Sep|,}}} "{{{quote}}}" | ||
+ | }}{{{PS|}}}</span><!-- | ||
− | + | === This is a COinS tag (http://ocoins.info), which allows automated tools to parse the citation information: === | |
− | + | --><span | |
− | + | 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:{{{NameSep|, }}}{{{Given1}}}}} |
− | + | }} | |
− | + | }}{{ | |
− | == | + | #if: {{{Surname2|}}} |&rft.au={{urlencode:{{{Surname2}}}}}{{ |
− | + | #if: {{{Given2|}}} |{{urlencode:{{{NameSep|, }}}{{{Given2}}}}} | |
− | + | }} | |
− | + | }}{{ | |
− | == | + | #if: {{{Surname3|}}} |&rft.au={{urlencode:{{{Surname3}}}}}{{ |
− | + | #if: {{{Given3|}}} |{{urlencode:{{{NameSep|, }}}{{{Given3}}}}} | |
− | + | }} | |
− | + | }}{{ | |
− | + | #if: {{{Surname4|}}} |&rft.au={{urlencode:{{{Surname4}}}}}{{ | |
− | + | #if: {{{Given4|}}} |{{urlencode:{{{NameSep|, }}}{{{Given4}}}}} | |
− | [[ | + | }} |
− | [[Category: | + | }}{{ |
+ | #if: {{{Surname5|}}} |&rft.au={{urlencode:{{{Surname5}}}}}{{ | ||
+ | #if: {{{Given5|}}} |{{urlencode:{{{NameSep|, }}}{{{Given5}}}}} | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if: {{{Surname6|}}} |&rft.au={{urlencode:{{{Surname6}}}}}{{ | ||
+ | #if: {{{Given6|}}} |{{urlencode:{{{NameSep|, }}}{{{Given6}}}}} | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if: {{{Surname7|}}} |&rft.au={{urlencode:{{{Surname7}}}}}{{ | ||
+ | #if: {{{Given7|}}} |{{urlencode:{{{NameSep|, }}}{{{Given7}}}}} | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if: {{{Surname8|}}} |&rft.au={{urlencode:{{{Surname8}}}}}{{ | ||
+ | #if: {{{Given8|}}} |{{urlencode:{{{NameSep|, }}}{{{Given8}}}}} | ||
+ | }} | ||
+ | }}{{ | ||
+ | #if: {{{Surname9|}}} |&rft.au={{urlencode:{{{Surname9}}}}}{{ | ||
+ | #if: {{{Given9|}}} |{{urlencode:{{{NameSep|, }}}{{{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|}}}{{{Place|}}} |&rft.place={{urlencode:{{{PublicationPlace|{{{Place}}}}}}}} | ||
+ | }}{{ | ||
+ | #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}}"><noinclude> | ||
+ | {{Documentation}}Includes content from Wikipedia [[Template:Citation]] and [[Template:Citation/make link]][[Category:Templates]] | ||
+ | </noinclude> |
Latest revision as of 09:08, 8 September 2012
Template:DocumentationIncludes content from Wikipedia Template:Citation and Template:Citation/make link