Template:Citation/core: Difference between revisions
From KevinWiki
Jump to navigationJump to search
New page: <cite style="font-style:normal" class="{{{Citation class|}}}" {{ #if:{{{Ref|}}} |{{#ifeq:{{{Ref|}}}|none||id="{{anchorencode:{{{Ref|}}}}}"}} |{{#if:{{{Surname1|}}}{{{EditorSurname1|}... |
No edit summary |
||
| Line 1: | Line 1: | ||
< | <span class="citation {{{Citation class|{{{Citation type|}}}}}}" | ||
{{ | {{ | ||
# | #switch:{{{Ref|}}} | ||
| | ||none = | ||
|{{#if:{{{Surname1|}}}{{{EditorSurname1|}}} | |#default = id="{{anchorencode:{{{Ref}}}}}" | ||
|harv = {{#if:{{{Surname1|}}}{{{EditorSurname1|}}} | |||
|id="CITEREF{{anchorencode:{{#if:{{{Surname1|}}} | |id="CITEREF{{anchorencode:{{#if:{{{Surname1|}}} | ||
|{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}} | |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}} | ||
| Line 13: | Line 14: | ||
#if:{{{Surname1|}}} | #if:{{{Surname1|}}} | ||
|{{ | |{{ | ||
#if: {{{ | #if: {{{AuthorMask|}}} | ||
| | |{{ | ||
# | #iferror: {{ #expr: 1*{{{AuthorMask}}} }} | ||
|{{{AuthorMask}}} | |||
|<del>{{loop|{{{AuthorMask}}}|2= }}</del> | |||
}} | }} | ||
|{{ | |{{ | ||
#if: {{{ | #if: {{{Authorlink1|}}} | ||
| | |[[{{{Authorlink1}}} |{{{Surname1}}}{{ | ||
#if: {{{Given1|}}} | |||
|{{{NameSep|, }}}{{{Given1}}} | |||
}}]] | }}]] | ||
|{{{ | |{{{Surname1}}}{{ | ||
#if: {{{ | #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: {{{ | #if: {{{Surname5|}}} | ||
| | |{{{AuthorSep|; }}} | ||
|{{#if:{{{amp|}}}| & | | |{{#if:{{{amp|}}}| & |{{{AuthorSep|; }}}}} | ||
}}{{ | }}{{ | ||
#if: {{{ | #if: {{{Authorlink4|}}} | ||
|[[{{{ | |[[{{{Authorlink4}}} |{{{Surname4}}}{{ | ||
#if: {{{ | #if: {{{Given4|}}} | ||
|, {{{ | |{{{NameSep|, }}}{{{Given4}}} | ||
}}]] | }}]] | ||
|{{{ | |{{{Surname4}}}{{ | ||
#if: {{{ | #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''. | |||
}} | |||
}} | |||
}} | |||
}} | |||
}} | |||
}} | |||
}} | |||
}} | |||
}} | }} | ||
}} | }} | ||
| Line 144: | Line 178: | ||
}} | }} | ||
}} | }} | ||
}}{{ | |||
#if: {{{Coauthors|}}} | |||
|{{{AuthorSep|; }}}{{{Coauthors|}}}| | |||
}}{{ | }}{{ | ||
#if: {{{Date|}}} | #if: {{{Date|}}} | ||
| Line 151: | Line 189: | ||
}} | }} | ||
}} | }} | ||
|{{<!-- ============== No author display editors first == --> | |{{<!-- ============== No author: display editors first == --> | ||
#if: {{{EditorSurname1|}}} | #if: {{{EditorSurname1|}}} | ||
|{{ | |{{ | ||
| Line 165: | Line 203: | ||
}}{{ | }}{{ | ||
#if: {{{EditorSurname2|}}} | #if: {{{EditorSurname2|}}} | ||
| | |{{ | ||
#if: {{{EditorSurname3|}}} | |||
|{{{AuthorSep|; }}} | |||
|{{#if:{{{amp|}}}| & |{{{AuthorSep|; }}}}} | |||
}}{{ | |||
#if: {{{Editorlink2|}}} | #if: {{{Editorlink2|}}} | ||
|[[{{{Editorlink2}}} |{{{EditorSurname2}}}{{ | |[[{{{Editorlink2}}} |{{{EditorSurname2}}}{{ | ||
| Line 177: | Line 219: | ||
}}{{ | }}{{ | ||
#if: {{{EditorSurname3|}}} | #if: {{{EditorSurname3|}}} | ||
| | |{{ | ||
#if: {{{EditorSurname4|}}} | |||
|{{{AuthorSep|; }}} | |||
|{{#if:{{{amp|}}}| & |{{{AuthorSep|; }}}}} | |||
}}{{ | |||
#if: {{{Editorlink3|}}} | #if: {{{Editorlink3|}}} | ||
|[[{{{Editorlink3}}} |{{{EditorSurname3}}}{{ | |[[{{{Editorlink3}}} |{{{EditorSurname3}}}{{ | ||
| Line 194: | Line 240: | ||
}}, ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}{{ | }}, ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}{{ | ||
#if: {{{Date|}}} | #if: {{{Date|}}} | ||
| ({{{Date}}}) | | ({{{Date}}}){{ | ||
#if:{{{YearNote|}}} | |||
| [{{{YearNote}}}] | |||
}} | |||
}} | }} | ||
}} | }} | ||
}}{{ | }}{{ | ||
<!--============ Title of included work ============--> | <!--============ Title of included work ============--> | ||
#if: {{{IncludedWorkTitle|}}} | #if: {{{IncludedWorkTitle|}}}{{#if:{{{Periodical|}}}||{{#if:{{{TransItalic|}}}||{{{TransTitle|}}}}}}} | ||
|{{ | |{{ | ||
#if:{{{Surname1|}}}{{{EditorSurname1|}}} | #if:{{{Surname1|}}}{{{EditorSurname1|}}} | ||
|{{{Sep|,}}}  | |{{{Sep|,}}}  | ||
}}{{ | }}{{Citation/make link | ||
| 1={{ | | 1={{ | ||
#if: {{{IncludedWorkURL|}}} | #if: {{{IncludedWorkURL|}}} | ||
| Line 211: | Line 260: | ||
|{{{URL}}} | |{{{URL}}} | ||
<!-- Only link URL if to a free full text - as at PubMedCentral (PMC)--> | <!-- 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={{ | | 2={{ | ||
#if: {{{Periodical|}}} | #if: {{{Periodical|}}} | ||
|''{{{IncludedWorkTitle}}}'' | |''<nowiki />{{{IncludedWorkTitle}}}<nowiki />'' | ||
|"{{{IncludedWorkTitle}}}" | |"{{{IncludedWorkTitle|}}}{{ | ||
#if: {{{TransTitle|}}} | |||
|{{ | |||
#if: {{{IncludedWorkTitle|}}} | |||
|  | |||
}}[{{{TransTitle}}}] | |||
}}" | |||
}} | }} | ||
}} | }} | ||
| Line 230: | Line 287: | ||
| | | | ||
|{{ | |{{ | ||
#if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle | #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}} | ||
|{{{Sep|,}}} written at {{{Place}}} | |{{{Sep|,}}} written at {{{Place}}} | ||
}} | }} | ||
}} | }} | ||
| Line 239: | Line 296: | ||
|{{ | |{{ | ||
#if: {{{Surname1|}}} | #if: {{{Surname1|}}} | ||
|{{{Sep|,}}} {{ | |{{{Sep|,}}} {{ | ||
#if: {{{IncludedWorkTitle|}}} | #if: {{{IncludedWorkTitle|}}} | ||
|in  | |in  | ||
| Line 253: | Line 310: | ||
}}}}{{ | }}}}{{ | ||
#if: {{{EditorSurname2|}}} | #if: {{{EditorSurname2|}}} | ||
| | |{{ | ||
#if: {{{EditorSurname3|}}} | |||
|{{{AuthorSep|; }}} | |||
|{{#if:{{{amp|}}}| & |{{{AuthorSep|; }}}}} | |||
}}{{ | |||
#if: {{{Editorlink2|}}} | #if: {{{Editorlink2|}}} | ||
|[[{{{Editorlink2}}}|{{{EditorSurname2}}}{{ | |[[{{{Editorlink2}}}|{{{EditorSurname2}}}{{ | ||
| Line 265: | Line 326: | ||
}}{{ | }}{{ | ||
#if: {{{EditorSurname3|}}} | #if: {{{EditorSurname3|}}} | ||
| | |{{ | ||
#if: {{{EditorSurname4|}}} | |||
|;  | |||
|{{#if:{{{amp|}}}| & |{{{AuthorSep|; }}}}} | |||
}}{{ | |||
#if: {{{Editorlink3|}}} | #if: {{{Editorlink3|}}} | ||
|[[{{{Editorlink3}}}|{{{EditorSurname3}}}{{ | |[[{{{Editorlink3}}}|{{{EditorSurname3}}}{{ | ||
| Line 283: | Line 348: | ||
#if: {{{IncludedWorkTitle|}}} | #if: {{{IncludedWorkTitle|}}} | ||
| | | | ||
|{{{Sep|,}}} ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}} | |{{{Sep|,}}} ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}} | ||
}} | }} | ||
}} | }} | ||
| Line 290: | Line 355: | ||
#if: {{{Periodical|}}} | #if: {{{Periodical|}}} | ||
|{{ | |{{ | ||
#if: {{{Surname1|}}}{{{EditorSurname1|}}} | #if: {{{Other|}}} | ||
|{{{Sep|,}}} {{{Other|}}} | |||
}}{{ | |||
#if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}} | |||
|{{{Sep|,}}} }}{{ | |{{{Sep|,}}} }}{{ | ||
#if: {{{Title|}}} | #if: {{{Title|}}}{{{TransTitle|}}} | ||
| | |{{Citation/make link | ||
| 1={{ | | 1={{ | ||
#if: {{{IncludedWorkTitle|}}} | #if: {{{IncludedWorkTitle|}}} | ||
| Line 301: | Line 369: | ||
#if: {{{URL|}}} | #if: {{{URL|}}} | ||
|{{{URL}}} | |{{{URL}}} | ||
|{{ | |{{ | ||
#if: {{{PMC|}}} | #ifexpr: {{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }} | {{ | ||
#if: {{{PMC|}}} | |||
}} | | http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}} | ||
}} | |||
}} | |||
}} | }} | ||
}} | }} | ||
| Line 310: | Line 380: | ||
#if: {{{URL|}}} | #if: {{{URL|}}} | ||
|{{{URL}}} | |{{{URL}}} | ||
| {{ | |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }} |{{ | ||
#if: {{{PMC|}}} | #if: {{{PMC|}}} | ||
| http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}} | | http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}} | ||
}} | }} | ||
}} | |||
}} | }} | ||
}} | }} | ||
| 2={{{Title} | | 2="{{{Title}}}{{ | ||
#if: {{{TransTitle|}}} | |||
}}{{ | |{{ | ||
#if: {{{Title|}}} | |||
|  | |||
}}[{{{TransTitle}}}] | |||
}}" | |||
}}{{ | |||
#if: {{{TitleNote|}}} | |||
|{{{Sep|,}}} {{{TitleNote}}} | |||
#if: {{{ | |||
| | |||
}} | }} | ||
}} | }} | ||
|{{ | }}{{ | ||
#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) ============--> | <!--============ Date (if no author/editor) ============--> | ||
#if: {{{Surname1|}}}{{{EditorSurname1|}}} | #if: {{{Surname1|}}}{{{EditorSurname1|}}} | ||
| Line 413: | Line 503: | ||
|{{ | |{{ | ||
#if: {{{Date|}}} | #if: {{{Date|}}} | ||
|{{{Sep|,}}} {{{Date}}} | |{{{Sep|,}}} {{{Date}}}{{ | ||
#if:{{{YearNote|}}} | |||
| [{{{YearNote}}}] | |||
}} | |||
}} | }} | ||
}}{{ | }}{{ | ||
| Line 425: | Line 518: | ||
|{{ | |{{ | ||
#if: {{{Surname1|}}} | #if: {{{Surname1|}}} | ||
|{{{Sep|,}}} {{{PublicationDate}}} | |{{{Sep|,}}} {{{PublicationDate}}} | ||
| (published {{{PublicationDate}}}) | | (published {{{PublicationDate}}}) | ||
}} | }} | ||
|{{ | |{{ | ||
#if: {{{Periodical|}}} | #if: {{{Periodical|}}} | ||
|{{{Sep|,}}} {{{PublicationDate}}} | |{{{Sep|,}}} {{{PublicationDate}}} | ||
| (published {{{PublicationDate}}}) | | (published {{{PublicationDate}}}) | ||
}} | }} | ||
| Line 441: | Line 534: | ||
|{{ | |{{ | ||
#if: {{{At|}}} | #if: {{{At|}}} | ||
|{{{Sep|,}}} {{{At}}} | |{{{Sep|,}}} {{{At}}} | ||
}} | }} | ||
}}{{ | }}{{ | ||
<!--===============DOI================--> | <!--===============DOI================--> | ||
#if:{{{DOI|}}} | #if:{{{DOI|}}} | ||
|{{{Sep|,}}} | |{{{Sep|,}}} {{citation/identifier |identifier=doi |input1={{{DOI|}}} |input2={{{DoiBroken|}}} }} | ||
}}{{ | }}{{ | ||
<!--============ Misc. Identifier ============--> | <!--============ Misc. Identifier ============--> | ||
#if: {{{ID|}}} | #if: {{{ID|}}} | ||
|{{{Sep|,}}} {{{ID}}} | |{{ | ||
#if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}{{{Title|}}}{{{TransItalic|}}} | |||
|{{{Sep|,}}} {{{ID}}} | |||
|{{{ID}}} | |||
}} | |||
}}{{ | }}{{ | ||
<!--============ ISBN ============--> | <!--============ ISBN ============--> | ||
#if: {{{ISBN|}}} | #if: {{{ISBN|}}} | ||
|{{{Sep|,}}} | |{{{Sep|,}}} {{citation/identifier |identifier=isbn |input1={{{ISBN|}}} }} | ||
}}{{ | }}{{ | ||
<!--============ ISSN ============--> | <!--============ ISSN ============--> | ||
#if: {{{ISSN|}}} | #if: {{{ISSN|}}} | ||
|{{{Sep|,}}} | |{{{Sep|,}}} {{citation/identifier |identifier=issn |input1={{{ISSN|}}} }} | ||
}}{{ | }}{{ | ||
<!--============ OCLC ============--> | <!--============ OCLC ============--> | ||
#if: {{{OCLC|}}} | #if: {{{OCLC|}}} | ||
|{{{Sep|,}}} | |{{{Sep|,}}} {{citation/identifier |identifier=oclc |input1={{{OCLC|}}} }} | ||
}}{{ | }}{{ | ||
<!--============ PMID ============--> | <!--============ PMID ============--> | ||
#if: {{{PMID|}}} | #if: {{{PMID|}}} | ||
|{{{Sep|,}}} | |{{{Sep|,}}} {{citation/identifier |identifier=pmid |input1={{{PMID|}}} }} | ||
}}{{ | }}{{ | ||
<!--============ | <!--============ PMC ============--> | ||
#if: {{{ | #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 | |||
|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 ============--> | <!--============ URL and AccessDate ============--> | ||
#if: {{{URL|{{{IncludedWorkURL| | #if: {{{URL|}}}{{{IncludedWorkURL|}}} | ||
|{{ | |{{ | ||
#if: {{{Title|}}}{{{IncludedWorkTitle|}}} | #if: {{{Title|}}}{{{IncludedWorkTitle|}}}{{{TransTitle|}}} | ||
|<span class="printonly">{{{Sep|,}}} {{ | |<span class="printonly">{{{Sep|,}}} {{ | ||
#if: {{{IncludedWorkURL|}}} | #if: {{{IncludedWorkURL|}}} | ||
|{{{IncludedWorkURL}}} | |{{{IncludedWorkURL}}} | ||
|{{{URL}}} | |{{{URL}}} | ||
}}</span> | }}</span> | ||
|{{{Sep|,}}} {{ | |{{{Sep|,}}} {{ | ||
#if: {{{IncludedWorkURL|}}} | #if: {{{IncludedWorkURL|}}} | ||
|{{{IncludedWorkURL}}} | |{{{IncludedWorkURL}}} | ||
| Line 510: | Line 611: | ||
}}{{ | }}{{ | ||
#if: {{{AccessDate|}}} | #if: {{{AccessDate|}}} | ||
| <span class="reference-accessdate">{{#ifeq:{{{Sep|,}}}|,|, r|. R}}etrieved | | <span class="reference-accessdate">{{#ifeq:{{{Sep|,}}}|,|, r|. R}}etrieved {{{AccessDate}}}</span> | ||
}} | }} | ||
}}{{#if:{{{laysummary|}}} | }}{{#if:{{{laysummary|}}} | ||
|{{{Sep|,}}} [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}| – ''{{{laysource}}}''}} | |{{{Sep|,}}} [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}| – ''<nowiki />{{{laysource}}}<nowiki />''}} | ||
}}{{#if:{{{laydate|}}} | }}{{#if:{{{laydate|}}} | ||
|  ({{{laydate}}}) | |  ({{{laydate}}}) | ||
}}{{#if:{{{quote|}}} | }}{{#if:{{{quote|}}} | ||
|{{{Sep|,}}}  "{{{quote}}}" | |{{{Sep|,}}} "{{{quote}}}" | ||
}}{{{PS|}}}</ | }}{{{PS|}}}</span><!-- | ||
=== This is a COinS tag (http://ocoins.info), which allows automated tools to parse the citation information: === | === This is a COinS tag (http://ocoins.info), which allows automated tools to parse the citation information: === | ||
| Line 538: | Line 639: | ||
}}{{ | }}{{ | ||
#if: {{{Surname1|}}} |&rft.au={{urlencode:{{{Surname1}}}}}{{ | #if: {{{Surname1|}}} |&rft.au={{urlencode:{{{Surname1}}}}}{{ | ||
#if: {{{Given1|}}} |{{urlencode:, {{{Given1}}}}} | #if: {{{Given1|}}} |{{urlencode:{{{NameSep|, }}}{{{Given1}}}}} | ||
}} | }} | ||
}}{{ | }}{{ | ||
#if: {{{Surname2|}}} |&rft.au={{urlencode:{{{Surname2}}}}}{{ | #if: {{{Surname2|}}} |&rft.au={{urlencode:{{{Surname2}}}}}{{ | ||
#if: {{{Given2|}}} |{{urlencode:, {{{Given2}}}}} | #if: {{{Given2|}}} |{{urlencode:{{{NameSep|, }}}{{{Given2}}}}} | ||
}} | }} | ||
}}{{ | }}{{ | ||
#if: {{{Surname3|}}} |&rft.au={{urlencode:{{{Surname3}}}}}{{ | #if: {{{Surname3|}}} |&rft.au={{urlencode:{{{Surname3}}}}}{{ | ||
#if: {{{Given3|}}} |{{urlencode:, {{{Given3}}}}} | #if: {{{Given3|}}} |{{urlencode:{{{NameSep|, }}}{{{Given3}}}}} | ||
}} | }} | ||
}}{{ | }}{{ | ||
#if: {{{Surname4|}}} |&rft.au={{urlencode:{{{Surname4}}}}}{{ | #if: {{{Surname4|}}} |&rft.au={{urlencode:{{{Surname4}}}}}{{ | ||
#if: {{{Given4|}}} |{{urlencode:, {{{Given4}}}}} | #if: {{{Given4|}}} |{{urlencode:{{{NameSep|, }}}{{{Given4}}}}} | ||
}} | }} | ||
}}{{ | }}{{ | ||
#if: {{{Surname5|}}} |&rft.au={{urlencode:{{{Surname5}}}}}{{ | #if: {{{Surname5|}}} |&rft.au={{urlencode:{{{Surname5}}}}}{{ | ||
#if: {{{Given5|}}} |{{urlencode:, {{{Given5}}}}} | #if: {{{Given5|}}} |{{urlencode:{{{NameSep|, }}}{{{Given5}}}}} | ||
}} | }} | ||
}}{{ | }}{{ | ||
#if: {{{Surname6|}}} |&rft.au={{urlencode:{{{Surname6}}}}}{{ | #if: {{{Surname6|}}} |&rft.au={{urlencode:{{{Surname6}}}}}{{ | ||
#if: {{{Given6|}}} |{{urlencode:, {{{Given6}}}}} | #if: {{{Given6|}}} |{{urlencode:{{{NameSep|, }}}{{{Given6}}}}} | ||
}} | }} | ||
}}{{ | }}{{ | ||
#if: {{{Surname7|}}} |&rft.au={{urlencode:{{{Surname7}}}}}{{ | #if: {{{Surname7|}}} |&rft.au={{urlencode:{{{Surname7}}}}}{{ | ||
#if: {{{Given7|}}} |{{urlencode:, {{{Given7}}}}} | #if: {{{Given7|}}} |{{urlencode:{{{NameSep|, }}}{{{Given7}}}}} | ||
}} | }} | ||
}}{{ | }}{{ | ||
#if: {{{Surname8|}}} |&rft.au={{urlencode:{{{Surname8}}}}}{{ | #if: {{{Surname8|}}} |&rft.au={{urlencode:{{{Surname8}}}}}{{ | ||
#if: {{{Given8|}}} |{{urlencode:, {{{Given8}}}}} | #if: {{{Given8|}}} |{{urlencode:{{{NameSep|, }}}{{{Given8}}}}} | ||
}} | }} | ||
}}{{ | }}{{ | ||
#if: {{{Surname9|}}} |&rft.au={{urlencode:{{{Surname9}}}}}{{ | #if: {{{Surname9|}}} |&rft.au={{urlencode:{{{Surname9}}}}}{{ | ||
#if: {{{Given9|}}} |{{urlencode:, {{{Given9}}}}} | #if: {{{Given9|}}} |{{urlencode:{{{NameSep|, }}}{{{Given9}}}}} | ||
}} | }} | ||
}}{{ | }}{{ | ||
#if: {{{Date|}}} |&rft.date={{urlencode:{{{Date}}}}} | #if: {{{Date|}}} |&rft.date={{urlencode:{{{Date}}}}} | ||
}}{{ | }}{{ | ||
#if: {{{Series|}}} |&rft.series={{urlencode:{{{Series}}}}} | #if: {{{Series|}}} |&rft.series={{urlencode:{{{Series}}}}} | ||
}}{{ | }}{{ | ||
#if: {{{Volume|}}} |&rft.volume={{urlencode:{{{Volume}}}}} | #if: {{{Volume|}}} |&rft.volume={{urlencode:{{{Volume}}}}} | ||
| Line 585: | Line 686: | ||
#if: {{{Edition|}}} |&rft.edition={{urlencode:{{{Edition}}}}} | #if: {{{Edition|}}} |&rft.edition={{urlencode:{{{Edition}}}}} | ||
}}{{ | }}{{ | ||
#if: {{{PublicationPlace|}}} |&rft.place={{urlencode:{{{PublicationPlace}}}}} | #if: {{{PublicationPlace|}}}{{{Place|}}} |&rft.place={{urlencode:{{{PublicationPlace|{{{Place}}}}}}}} | ||
}}{{ | }}{{ | ||
#if: {{{Publisher|}}} |&rft.pub={{urlencode:{{{Publisher}}}}} | #if: {{{Publisher|}}} |&rft.pub={{urlencode:{{{Publisher}}}}} | ||
| Line 601: | Line 702: | ||
#if: {{{ISSN|}}} |&rft.issn={{urlencode:{{{ISSN}}}}} | #if: {{{ISSN|}}} |&rft.issn={{urlencode:{{{ISSN}}}}} | ||
}}{{ | }}{{ | ||
#if: {{{URL|{{{IncludedWorkURL| | #if: {{{URL|}}}{{{IncludedWorkURL|}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}} | ||
}}&rfr_id=info:sid/en.wikipedia.org:{{FULLPAGENAMEE}}"><span style="display: none;"> </span></span><noinclude>{{ | }}&rfr_id=info:sid/en.wikipedia.org:{{FULLPAGENAMEE}}"><span style="display: none;"> </span></span><noinclude> | ||
{{Pp-template|small=yes}} | |||
{{Documentation}} | |||
</noinclude> | |||
Latest revision as of 10:31, 2 August 2010
[create] File:Template-info.svg Template documentation
| Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |