Difference between revisions of "Template:Citation/core"
From Self-sufficiency
(Created page with '<span class="citation {{{Citation class|{{{Citation type|}}}}}}" {{ #switch:{{{Ref|}}} ||none = |#default = id="{{anchorencode:{{{Ref}}}}}" |harv = {{#if:{{{Surname1|}}}{…') |
|||
(11 intermediate revisions by the same user not shown) | |||
Line 171: | Line 171: | ||
}} | }} | ||
}} | }} | ||
− | }} | + | }} |
}} | }} | ||
}} | }} | ||
Line 178: | Line 178: | ||
}} | }} | ||
}} | }} | ||
− | + | ||
+ | }}{{ | ||
+ | #if: {{{Coauthors|}}} | ||
+ | |{{{AuthorSep|; }}}{{{Coauthors|}}}| | ||
}}{{ | }}{{ | ||
#if: {{{Date|}}} | #if: {{{Date|}}} | ||
Line 245: | 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 271: | Line 271: | ||
#if: {{{Periodical|}}} | #if: {{{Periodical|}}} | ||
|''<nowiki />{{{IncludedWorkTitle}}}<nowiki />'' | |''<nowiki />{{{IncludedWorkTitle}}}<nowiki />'' | ||
− | |{{{IncludedWorkTitle|}}}{{ | + | |"{{{IncludedWorkTitle|}}}{{ |
− | + | #if: {{{TransTitle|}}} | |
− | + | |{{ | |
+ | #if: {{{IncludedWorkTitle|}}} | ||
+ | |  | ||
+ | }}[{{{TransTitle}}}] | ||
+ | }}" | ||
}} | }} | ||
− | + | }} | |
}}{{ | }}{{ | ||
<!--============ Place (if different than PublicationPlace) ============--> | <!--============ Place (if different than PublicationPlace) ============--> | ||
Line 284: | Line 288: | ||
|{{ | |{{ | ||
#if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}} | #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}} | ||
− | |{{{Sep|,}}} written at {{{Place}}} | + | |{{{Sep|,}}} written at {{{Place}}} |
}} | }} | ||
}} | }} | ||
Line 292: | Line 296: | ||
|{{ | |{{ | ||
#if: {{{Surname1|}}} | #if: {{{Surname1|}}} | ||
− | |{{{Sep|,}}} {{ | + | |{{{Sep|,}}} {{ |
#if: {{{IncludedWorkTitle|}}} | #if: {{{IncludedWorkTitle|}}} | ||
|in  | |in  | ||
Line 344: | Line 348: | ||
#if: {{{IncludedWorkTitle|}}} | #if: {{{IncludedWorkTitle|}}} | ||
| | | | ||
− | |{{{Sep|,}}} ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}} | + | |{{{Sep|,}}} ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}} |
}} | }} | ||
}} | }} | ||
Line 351: | Line 355: | ||
#if: {{{Periodical|}}} | #if: {{{Periodical|}}} | ||
|{{ | |{{ | ||
− | #if: {{{Other|}}} | + | #if: {{{Other|}}} |
− | |{{{Sep|,}}} {{{Other|}}} | + | |{{{Sep|,}}} {{{Other|}}} |
}}{{ | }}{{ | ||
− | #if: {{{Surname1|}}}{{{EditorSurname1|}}} | + | #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}} |
|{{{Sep|,}}} }}{{ | |{{{Sep|,}}} }}{{ | ||
#if: {{{Title|}}}{{{TransTitle|}}} | #if: {{{Title|}}}{{{TransTitle|}}} | ||
− | | | + | |{{Citation/make link |
| 1={{ | | 1={{ | ||
#if: {{{IncludedWorkTitle|}}} | #if: {{{IncludedWorkTitle|}}} | ||
Line 367: | Line 371: | ||
|{{ | |{{ | ||
#ifexpr: {{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }} | {{ | #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}}} | ||
}} | }} | ||
Line 376: | Line 380: | ||
#if: {{{URL|}}} | #if: {{{URL|}}} | ||
|{{{URL}}} | |{{{URL}}} | ||
− | |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }} |{{ | + | |{{#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}}} | ||
}} | }} | ||
Line 383: | Line 387: | ||
}} | }} | ||
}} | }} | ||
− | | 2={{{Title}}}{{ | + | | 2="{{{Title}}}{{ |
− | + | #if: {{{TransTitle|}}} | |
− | + | |{{ | |
− | }} | + | #if: {{{Title|}}} |
+ | |  | ||
+ | }}[{{{TransTitle}}}] | ||
+ | }}" | ||
+ | }}{{ | ||
#if: {{{TitleNote|}}} | #if: {{{TitleNote|}}} | ||
|{{{Sep|,}}} {{{TitleNote}}} | |{{{Sep|,}}} {{{TitleNote}}} | ||
− | }} | + | }} |
}} | }} | ||
}}{{ | }}{{ | ||
− | #if: {{{language|}}} | + | #if: {{{language|}}} |
| (in {{{language}}}) | | (in {{{language}}}) | ||
− | }}{{#if: {{{format|}}} | + | }}{{ |
+ | #if: {{{format|}}} | ||
| ({{{format}}}) | | ({{{format}}}) | ||
}}{{ | }}{{ | ||
− | #if: {{{Periodical|}}}|{{ | + | #if: {{{Periodical|}}} |
− | #if:{{{IncludedWorkTitle|}}}{{{Title|}}}{{{TransTitle|}}}|{{{Sep|,}}} }}''<nowiki />{{{Periodical}}}<nowiki />''{{ | + | |{{ |
+ | #if:{{{IncludedWorkTitle|}}}{{{Title|}}}{{{TransTitle|}}} | ||
+ | |{{{Sep|,}}}  | ||
+ | }}''<nowiki />{{{Periodical}}}<nowiki />''{{ | ||
#if: {{{Series|}}} | #if: {{{Series|}}} | ||
− | |{{{Sep|,}}} {{{Series}}} | + | |{{{Sep|,}}} {{{Series}}} |
}}{{ | }}{{ | ||
#if: {{{PublicationPlace|}}} | #if: {{{PublicationPlace|}}} | ||
Line 431: | Line 443: | ||
|{{ | |{{ | ||
#if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}} | #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}} | ||
− | |{{{Sep|,}}}  | + | |{{{Sep|,}}} |
− | + | }} {{Citation/make link | |
| 1={{ | | 1={{ | ||
#if: {{{IncludedWorkTitle|}}} | #if: {{{IncludedWorkTitle|}}} | ||
Line 440: | Line 452: | ||
#if: {{{URL|}}} | #if: {{{URL|}}} | ||
|{{{URL}}} | |{{{URL}}} | ||
− | |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }}|{{ | + | |{{#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}}} | ||
}}}} | }}}} | ||
Line 449: | Line 461: | ||
#if: {{{URL|}}} | #if: {{{URL|}}} | ||
|{{{URL}}} | |{{{URL}}} | ||
− | |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }}|{{ | + | |{{#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}}} |
}}}} | }}}} | ||
}} | }} | ||
Line 457: | Line 469: | ||
| 2=''<nowiki />{{{Title|}}}{{ | | 2=''<nowiki />{{{Title|}}}{{ | ||
#if:{{{TransItalic|}}}| [{{{TransItalic}}}] | #if:{{{TransItalic|}}}| [{{{TransItalic}}}] | ||
− | }}<nowiki />''}}}}{{ | + | }}<nowiki />'' |
+ | }} | ||
+ | }}{{ | ||
+ | #if: {{{TitleType|}}} | ||
+ | | ({{{TitleType}}}) | ||
+ | }}{{ | ||
#if: {{{Series|}}} | #if: {{{Series|}}} | ||
− | |{{{Sep|,}}} {{{Series}}} | + | |{{{Sep|,}}} {{{Series}}} |
}}{{ | }}{{ | ||
#if: {{{Volume|}}} | #if: {{{Volume|}}} | ||
− | |{{{Sep|,}}} '''<nowiki />{{{Volume}}}<nowiki />''' | + | |{{{Sep|,}}} '''<nowiki />{{{Volume}}}<nowiki />''' |
}}{{ | }}{{ | ||
− | #if: {{{Other|}}} | + | #if: {{{Other|}}} |
− | |{{{Sep|,}}} {{{Other|}}} | + | |{{{Sep|,}}} {{{Other|}}} |
}}{{ | }}{{ | ||
#if: {{{Edition|}}} | #if: {{{Edition|}}} | ||
Line 471: | Line 488: | ||
}}{{ | }}{{ | ||
#if: {{{PublicationPlace|}}} | #if: {{{PublicationPlace|}}} | ||
− | |{{{Sep|,}}} {{{PublicationPlace}}} | + | |{{{Sep|,}}} {{{PublicationPlace}}} |
}}{{ | }}{{ | ||
#if: {{{Publisher|}}} | #if: {{{Publisher|}}} | ||
Line 478: | Line 495: | ||
|<nowiki>:</nowiki> | |<nowiki>:</nowiki> | ||
|{{{Sep|,}}} | |{{{Sep|,}}} | ||
− | }} {{{Publisher}}} | + | }} {{{Publisher}}} |
}} | }} | ||
}}{{ | }}{{ | ||
Line 486: | Line 503: | ||
|{{ | |{{ | ||
#if: {{{Date|}}} | #if: {{{Date|}}} | ||
− | |{{{Sep|,}}} {{{Date}}}{{ | + | |{{{Sep|,}}} {{{Date}}}{{ |
#if:{{{YearNote|}}} | #if:{{{YearNote|}}} | ||
| [{{{YearNote}}}] | | [{{{YearNote}}}] | ||
Line 501: | 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 517: | 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|}}} | ||
|{{ | |{{ | ||
#if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}{{{Title|}}}{{{TransItalic|}}} | #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}{{{Title|}}}{{{TransItalic|}}} | ||
− | |{{{Sep|,}}} {{{ID}}} | + | |{{{Sep|,}}} {{{ID}}} |
|{{{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 ============--> | + | <!--============ PMC ============--> |
− | #if: {{{PMC|}}} | + | #if: {{{PMC|}}} |
− | |{{#if: {{{URL|}}} | + | |{{ |
− | |{{{Sep|,}}} | + | #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 ============--> | + | <!--============ BIBCODE ============--> |
− | #if: {{{Bibcode|}}} | + | #if: {{{Bibcode|}}} |
− | |{{{Sep|,}}} | + | |{{{Sep|,}}} {{citation/identifier |identifier=bibcode |input1={{{Bibcode|}}} }} |
}}{{ | }}{{ | ||
− | <!--============ Archive data, etc ===========--> | + | <!--============ Archive data, etc ===========--> |
#if: {{{Archive|}}} | #if: {{{Archive|}}} | ||
− | |{{{Sep|,}}} {{{Archive}}}[[Category:Pages using deprecated citation archive parameters]] | + | |{{{Sep|,}}} {{{Archive}}}[[Category:Pages using deprecated citation archive parameters]] |
|{{ | |{{ | ||
#if:{{{ArchiveURL|}}}{{{ArchiveDate|}}} | #if:{{{ArchiveURL|}}}{{{ArchiveDate|}}} | ||
− | |{{{Sep|,}}} {{#ifeq:{{{Sep}}}|.|A|a}}rchived{{ | + | |{{{Sep|,}}} {{#ifeq:{{{Sep}}}|.|A|a}}rchived{{ |
#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}} | #if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}} | ||
|{{#if:{{{ArchiveURL|}}}| from {{Citation/make link|{{{OriginalURL|{{{IncludedWorkURL|}}}}}}|the original}}}} | |{{#if:{{{ArchiveURL|}}}| from {{Citation/make link|{{{OriginalURL|{{{IncludedWorkURL|}}}}}}|the original}}}} | ||
Line 578: | Line 594: | ||
}} | }} | ||
}} | }} | ||
− | }}{{ | + | }}{{ |
<!--============ URL and AccessDate ============--> | <!--============ URL and AccessDate ============--> | ||
#if: {{{URL|}}}{{{IncludedWorkURL|}}} | #if: {{{URL|}}}{{{IncludedWorkURL|}}} | ||
|{{ | |{{ | ||
#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 597: | Line 613: | ||
| <span class="reference-accessdate">{{#ifeq:{{{Sep|,}}}|,|, r|. R}}etrieved {{{AccessDate}}}</span> | | <span class="reference-accessdate">{{#ifeq:{{{Sep|,}}}|,|, r|. R}}etrieved {{{AccessDate}}}</span> | ||
}} | }} | ||
− | }}{{#if:{{{laysummary|}}} | + | }}{{#if:{{{laysummary|}}} |
− | |{{{Sep|,}}} [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}| – ''<nowiki />{{{laysource}}}<nowiki />''}} | + | |{{{Sep|,}}} [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}| – ''<nowiki />{{{laysource}}}<nowiki />''}} |
}}{{#if:{{{laydate|}}} | }}{{#if:{{{laydate|}}} | ||
|  ({{{laydate}}}) | |  ({{{laydate}}}) | ||
}}{{#if:{{{quote|}}} | }}{{#if:{{{quote|}}} | ||
− | |{{{Sep|,}}}  "{{{quote}}}" | + | |{{{Sep|,}}} "{{{quote}}}" |
}}{{{PS|}}}</span><!-- | }}{{{PS|}}}</span><!-- | ||
Line 660: | Line 676: | ||
#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 670: | 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 687: | Line 703: | ||
}}{{ | }}{{ | ||
#if: {{{URL|}}}{{{IncludedWorkURL|}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}} | #if: {{{URL|}}}{{{IncludedWorkURL|}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}} | ||
− | }}&rfr_id=info:sid/en.wikipedia.org:{{FULLPAGENAMEE}}"><span style="display: none;"> </span></span> | + | }}&rfr_id=info:sid/en.wikipedia.org:{{FULLPAGENAMEE}}"><span style="display: none;"> </span></span><noinclude> |
+ | {{Pp-template|small=yes}} | ||
+ | {{Documentation}} | ||
+ | </noinclude> |
Revision as of 18:11, 20 May 2010
[edit]
Documentation