Difference between revisions of "Template:Citation/core"
From Self-sufficiency
(rv self for now) |
m (1 revision: Digital circuits (Import from Wikipedia)) |
||
(41 intermediate revisions by 18 users not shown) | |||
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 167: | Line 205: | ||
|{{ | |{{ | ||
#if: {{{EditorSurname3|}}} | #if: {{{EditorSurname3|}}} | ||
− | | | + | |{{{AuthorSep|; }}} |
− | |{{#if:{{{amp|}}}| & | | + | |{{#if:{{{amp|}}}| & |{{{AuthorSep|; }}}}} |
}}{{ | }}{{ | ||
#if: {{{Editorlink2|}}} | #if: {{{Editorlink2|}}} | ||
Line 183: | Line 221: | ||
|{{ | |{{ | ||
#if: {{{EditorSurname4|}}} | #if: {{{EditorSurname4|}}} | ||
− | | | + | |{{{AuthorSep|; }}} |
− | |{{#if:{{{amp|}}}| & | | + | |{{#if:{{{amp|}}}| & |{{{AuthorSep|; }}}}} |
}}{{ | }}{{ | ||
#if: {{{Editorlink3|}}} | #if: {{{Editorlink3|}}} | ||
Line 210: | Line 248: | ||
}}{{ | }}{{ | ||
<!--============ 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 224: | Line 259: | ||
#if: {{{URL|}}} | #if: {{{URL|}}} | ||
|{{{URL}}} | |{{{URL}}} | ||
− | + | }} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }} | + | |
}} | }} | ||
| 2={{ | | 2={{ | ||
#if: {{{Periodical|}}} | #if: {{{Periodical|}}} | ||
− | |''{{{IncludedWorkTitle}}}'' | + | |''<nowiki />{{{IncludedWorkTitle}}}<nowiki />'' |
− | |"{{{IncludedWorkTitle}}}{{ | + | |"{{{IncludedWorkTitle|}}}{{ |
− | + | #if: {{{TransTitle|}}} | |
− | + | |{{ | |
+ | #if: {{{IncludedWorkTitle|}}} | ||
+ | |  | ||
+ | }}[{{{TransTitle}}}] | ||
+ | }}" | ||
}} | }} | ||
}} | }} | ||
Line 246: | Line 280: | ||
| | | | ||
|{{ | |{{ | ||
− | #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle | + | #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}} |
− | |{{{Sep|,}}} written at {{{Place}}} | + | |{{{Sep|,}}} written at {{{Place}}} |
}} | }} | ||
}} | }} | ||
Line 255: | Line 289: | ||
|{{ | |{{ | ||
#if: {{{Surname1|}}} | #if: {{{Surname1|}}} | ||
− | |{{{Sep|,}}} {{ | + | |{{{Sep|,}}} {{ |
#if: {{{IncludedWorkTitle|}}} | #if: {{{IncludedWorkTitle|}}} | ||
− | | | + | |{{#ifeq:{{{Sep|,}}}|.|I|i}}n  |
}}{{ | }}{{ | ||
#if: {{{Editorlink1|}}} | #if: {{{Editorlink1|}}} | ||
Line 271: | Line 305: | ||
|{{ | |{{ | ||
#if: {{{EditorSurname3|}}} | #if: {{{EditorSurname3|}}} | ||
− | | | + | |{{{AuthorSep|; }}} |
− | |{{#if:{{{amp|}}}| & | | + | |{{#if:{{{amp|}}}| & |{{{AuthorSep|; }}}}} |
}}{{ | }}{{ | ||
#if: {{{Editorlink2|}}} | #if: {{{Editorlink2|}}} | ||
Line 287: | Line 321: | ||
|{{ | |{{ | ||
#if: {{{EditorSurname4|}}} | #if: {{{EditorSurname4|}}} | ||
− | | | + | |;  |
− | |{{#if:{{{amp|}}}| & | | + | |{{#if:{{{amp|}}}| & |{{{AuthorSep|; }}}}} |
}}{{ | }}{{ | ||
#if: {{{Editorlink3|}}} | #if: {{{Editorlink3|}}} | ||
Line 307: | Line 341: | ||
#if: {{{IncludedWorkTitle|}}} | #if: {{{IncludedWorkTitle|}}} | ||
| | | | ||
− | |{{{Sep|,}}} ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}} | + | |{{{Sep|,}}} ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}} |
}} | }} | ||
}} | }} | ||
Line 314: | Line 348: | ||
#if: {{{Periodical|}}} | #if: {{{Periodical|}}} | ||
|{{ | |{{ | ||
− | #if: {{{Surname1|}}}{{{EditorSurname1|}}} | + | #if: {{{Other|}}} |
+ | |{{{Sep|,}}} {{{Other|}}} | ||
+ | }}{{ | ||
+ | #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}} | ||
|{{{Sep|,}}} }}{{ | |{{{Sep|,}}} }}{{ | ||
#if: {{{Title|}}}{{{TransTitle|}}} | #if: {{{Title|}}}{{{TransTitle|}}} | ||
− | | | + | |{{Citation/make link |
| 1={{ | | 1={{ | ||
#if: {{{IncludedWorkTitle|}}} | #if: {{{IncludedWorkTitle|}}} | ||
Line 325: | Line 362: | ||
#if: {{{URL|}}} | #if: {{{URL|}}} | ||
|{{{URL}}} | |{{{URL}}} | ||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
}} | }} | ||
Line 334: | Line 367: | ||
#if: {{{URL|}}} | #if: {{{URL|}}} | ||
|{{{URL}}} | |{{{URL}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
}} | }} | ||
− | | 2={{{Title}}}{{ | + | | 2="{{{Title}}}{{ |
− | + | #if: {{{TransTitle|}}} | |
− | + | |{{ | |
− | }} | + | #if: {{{Title|}}} |
+ | |  | ||
+ | }}[{{{TransTitle}}}] | ||
+ | }}" | ||
+ | }}{{ | ||
#if: {{{TitleNote|}}} | #if: {{{TitleNote|}}} | ||
|{{{Sep|,}}} {{{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}}} | |
− | + | }} | |
+ | }} | ||
+ | |{{ | ||
+ | #if: {{{URL|}}} | ||
+ | |{{{URL}}} | ||
+ | }} | ||
+ | }} | ||
+ | | 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 443: | Line 477: | ||
|{{ | |{{ | ||
#if: {{{Date|}}} | #if: {{{Date|}}} | ||
− | |{{{Sep|,}}} {{{Date}}}{{ | + | |{{{Sep|,}}} {{{Date}}}{{ |
#if:{{{YearNote|}}} | #if:{{{YearNote|}}} | ||
| [{{{YearNote}}}] | | [{{{YearNote}}}] | ||
Line 458: | Line 492: | ||
|{{ | |{{ | ||
#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 474: | Line 508: | ||
|{{ | |{{ | ||
#if: {{{At|}}} | #if: {{{At|}}} | ||
− | |{{{Sep|,}}} {{{At}}} | + | |{{{Sep|,}}} {{{At}}} |
}} | }} | ||
}}{{ | }}{{ | ||
− | <!--============ | + | <!--============ arXiv ==============--> |
− | #if:{{{ | + | #if: {{{ARXIV|}}} |
− | |{{{Sep|,}}} | + | |{{{Sep|,}}} {{citation/identifier |identifier=arxiv |input1={{{ARXIV|}}} }} |
− | + | ||
− | + | ||
− | + | ||
}}{{ | }}{{ | ||
− | <!--============ | + | <!--============ ASIN ===============--> |
− | #if: {{{ | + | #if: {{{ASIN|}}} |
− | |{{{Sep|,}}} {{{ | + | |{{{Sep|,}}} {{citation/identifier |identifier=asin |input1={{{ASIN|}}} }} |
}}{{ | }}{{ | ||
− | <!--============ ISBN ============--> | + | <!--============ BIBCODE ============--> |
+ | #if: {{{BIBCODE|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=bibcode |input1={{{BIBCODE|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ DOI ================--> | ||
+ | #if:{{{DOI|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=doi |input1={{{DOI|}}} |input2={{{DoiBroken|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ 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|}}} }} |
+ | }}{{ | ||
+ | <!--============ JFM ================--> | ||
+ | #if: {{{JFM|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=jfm |input1={{{JFM|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ JSTOR ==============--> | ||
+ | #if: {{{JSTOR|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=jstor |input1={{{JSTOR|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ LCCN ===============--> | ||
+ | #if: {{{LCCN|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=lccn |input1={{{LCCN|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ MR =================--> | ||
+ | #if: {{{MR|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=mr |input1={{{MR|}}} }} | ||
}}{{ | }}{{ | ||
− | <!--============ OCLC ============--> | + | <!--============ OCLC ===============--> |
#if: {{{OCLC|}}} | #if: {{{OCLC|}}} | ||
− | |{{{Sep|,}}} | + | |{{{Sep|,}}} {{citation/identifier |identifier=oclc |input1={{{OCLC|}}} }} |
}}{{ | }}{{ | ||
− | <!--============ | + | <!--============ OL =================--> |
− | + | #if: {{{OL|}}} | |
− | + | |{{{Sep|,}}} {{citation/identifier |identifier=ol |input1={{{OL|}}} }} | |
− | + | ||
− | + | ||
− | #if: {{{ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}}{{ | }}{{ | ||
− | <!--============ | + | <!--============ OSTI ===============--> |
− | #if: {{{ | + | #if: {{{OSTI|}}} |
− | |{{{Sep|,}}} {{{ | + | |{{{Sep|,}}} {{citation/identifier |identifier=osti |input1={{{OSTI|}}} }} |
− | |{{ | + | }}{{ |
− | + | <!--============ PMC ================--> | |
− | + | #if: {{{PMC|}}} | |
− | + | |{{{Sep|,}}} {{citation/identifier |identifier=pmc |input1={{{PMC|}}} }} | |
− | + | }}{{ | |
− | + | <!--============ PMID ===============--> | |
+ | #if: {{{PMID|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=pmid |input1={{{PMID|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ RFC ================--> | ||
+ | #if: {{{RFC|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=rfc|input1={{{RFC|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ SSRN ================--> | ||
+ | #if: {{{SSRN|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=ssrn |input1={{{SSRN|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ ZBL ================--> | ||
+ | #if: {{{ZBL|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=zbl |input1={{{ZBL|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ Misc. Identifier ============--> | ||
+ | #if: {{{ID|}}} | ||
+ | |{{{Sep|,}}} {{{ID}}} | ||
+ | }}{{ | ||
+ | <!--============ Archive data, etc ===========--> | ||
+ | #if: {{{Archive|}}} | ||
+ | |{{{Sep|,}}} {{{Archive}}}[[Category:Pages using deprecated citation archive parameters]] | ||
+ | |{{ | ||
+ | #if:{{{ArchiveURL|}}}{{{ArchiveDate|}}} | ||
+ | | {{{Sep|,}}} {{#ifeq: {{{DeadURL|}}} | no | ||
+ | | {{#if:{{{ArchiveURL|}}} | ||
+ | |{{Citation/make link|{{{ArchiveURL|}}}|{{#ifeq:{{{Sep}}}|.|A|a}}rchived}} from the original | ||
+ | |{{#ifeq:{{{Sep}}}|.|A|a}}rchived | ||
}} | }} | ||
− | |{{#if:{{{ | + | | {{#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>{{#ifeq:{{{DeadURL|}}}|no|{{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}|| and <code>|deadurl=no</code>}}}}, you must {{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}| also specify <code>|{{#if:{{{ArchiveURL|}}}|archivedate|archiveurl}}=</code>| {{#ifeq:{{{DeadURL|}}}|no|also|first}} specify <code>|url=</code>}}}} | ||
+ | }} | ||
+ | }} | ||
+ | }}{{ | ||
<!--============ URL and AccessDate ============--> | <!--============ URL and AccessDate ============--> | ||
− | #if: {{{URL|{{{IncludedWorkURL|}}}}}} | + | #if: {{{URL|}}}{{{IncludedWorkURL|}}}{{#ifeq:{{{DeadURL|}}}|no|{{{ArchiveURL|}}}|}} |
|{{ | |{{ | ||
#if: {{{Title|}}}{{{IncludedWorkTitle|}}}{{{TransTitle|}}} | #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 543: | Line 623: | ||
}}{{ | }}{{ | ||
#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 571: | Line 651: | ||
}}{{ | }}{{ | ||
#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 618: | Line 698: | ||
#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}}}}} | ||
}}{{ | }}{{ | ||
− | #if: {{{ | + | #if: {{{ARXIV|}}} |&rft_id=info:arxiv/{{urlencode:{{{ARXIV}}}}} |
}}{{ | }}{{ | ||
− | #if: {{{ | + | #if: {{{ASIN|}}} |&rft_id=info:asin/{{urlencode:{{{ASIN}}}}} |
}}{{ | }}{{ | ||
− | #if: {{{ | + | #if: {{{BIBCODE|}}} |&rft_id=info:bibcode/{{urlencode:{{{BIBCODE}}}}} |
}}{{ | }}{{ | ||
− | #if: {{{ | + | #if: {{{DOI|}}} |&rft_id=info:doi/{{urlencode:{{{DOI}}}}} |
}}{{ | }}{{ | ||
#if: {{{ISBN|}}} |&rft.isbn={{urlencode:{{{ISBN}}}}} | #if: {{{ISBN|}}} |&rft.isbn={{urlencode:{{{ISBN}}}}} | ||
Line 634: | Line 714: | ||
#if: {{{ISSN|}}} |&rft.issn={{urlencode:{{{ISSN}}}}} | #if: {{{ISSN|}}} |&rft.issn={{urlencode:{{{ISSN}}}}} | ||
}}{{ | }}{{ | ||
− | #if: {{{ | + | #if: {{{JFM|}}} |&rft.jfm={{urlencode:{{{JFM}}}}} |
− | }}&rfr_id=info:sid/en.wikipedia.org:{{FULLPAGENAMEE}}"><span style="display: none;"> </span></span><noinclude>{{ | + | }}{{ |
+ | #if: {{{JSTOR|}}} |&rft.jstor={{urlencode:{{{JSTOR}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{LCCN|}}} |&rft.lccn={{urlencode:{{{LCCN}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{OCLC|}}} |&rft_id=info:oclcnum/{{urlencode:{{{OCLC}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{OL|}}} |&rft_id=info:olnum/{{urlencode:{{{OL}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{OSTI|}}} |&rft_id=info:osti/{{urlencode:{{{OSTI}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{MR|}}} |&rft.mr={{urlencode:{{{MR}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{PMC|}}} |&rft_id=info:pmc/{{urlencode:{{{PMC}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{PMID|}}} |&rft_id=info:pmid/{{urlencode:{{{PMID}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{RFC|}}} |&rft_id=info:rfc/{{urlencode:{{{RFC}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{SSRN|}}} |&rft_id=info:ssrn/{{urlencode:{{{SSRN}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{ZBL|}}} |&rft_id=info:zbl/{{urlencode:{{{ZBL}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{URL|}}}{{{IncludedWorkURL|}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}} | ||
+ | }}&rfr_id=info:sid/en.wikipedia.org:{{FULLPAGENAMEE}}"><span style="display: none;"> </span></span><noinclude> | ||
+ | {{Documentation}} | ||
+ | </noinclude> |
Latest revision as of 18:11, 9 December 2011
[edit]
Documentation