Difference between revisions of "Template:Citation/core/sandbox"
< Template:Citation | core
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 1: | Line 1: | ||
{{ | <cite style="font-style:normal" class="{{{Citation class|Journal}}}" | ||
<!-- | {{ | ||
#if:{{{Ref|}}} | |||
|{{#ifeq:{{{Ref|}}}|none||id="{{anchorencode:{{{Ref|}}}}}"}} | |||
|id="CITEREF{{anchorencode:{{#if:{{{Surname1|}}} | |||
|{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}} | |||
|{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}} | |||
}}{{{Year|{{{Date|}}}}}}}}" | |||
}}>{{ | |||
<!--============ Author or editor and date ============--> | |||
#if:{{{Surname1|}}} | |||
|{{ | |||
#if: {{{Authorlink1|}}} | |||
|[[{{{Authorlink1}}} |{{{Surname1}}}{{ | |||
#if: {{{Given1|}}} | |||
|, {{{Given1}}} | |||
}}]] | |||
|{{{Surname1}}}{{ | |||
#if: {{{Given1|}}} | |||
|, {{{Given1}}} | |||
}} | |||
}}{{ | |||
#if: {{{Surname2|}}} | |||
|{{ | |||
#if: {{{Surname3|}}} | |||
|<nowiki>; </nowiki> | |||
|{{#if:{{{amp|}}}| & |<nowiki>; </nowiki>}} | |||
}}{{ | |||
#if: {{{Authorlink2|}}} | |||
|[[{{{Authorlink2}}} |{{{Surname2}}}{{ | |||
#if: {{{Given2|}}} | |||
|, {{{Given2}}} | |||
}}]] | |||
|{{{Surname2}}}{{ | |||
#if: {{{Given2|}}} | |||
|, {{{Given2}}} | |||
}} | |||
}}{{ | |||
#if: {{{Surname3|}}} | |||
|{{ | |||
#if: {{{Surname4|}}} | |||
|<nowiki>; </nowiki> | |||
|{{#if:{{{amp|}}}| & |<nowiki>; </nowiki>}} | |||
}}{{ | |||
#if: {{{Authorlink3|}}} | |||
|[[{{{Authorlink3}}} |{{{Surname3}}}{{ | |||
#if: {{{Given3|}}} | |||
|, {{{Given3}}} | |||
}}]] | |||
|{{{Surname3}}}{{ | |||
#if: {{{Given3|}}} | |||
|, {{{Given3}}} | |||
}} | |||
}}{{ | |||
#if:{{{Surname4|}}} | |||
|{{ | |||
#if: {{{Surname5|}}} | |||
|<nowiki>; </nowiki> | |||
|{{#if:{{{amp|}}}| & |<nowiki>; </nowiki>}} | |||
}}{{ | |||
#if: {{{Authorlink4|}}} | |||
|[[{{{Authorlink4}}} |{{{Surname4}}}{{ | |||
#if: {{{Given4|}}} | |||
|, {{{Given4}}} | |||
}}]] | |||
|{{{Surname4}}}{{ | |||
#if: {{{Given4|}}} | |||
|, {{{Given4}}} | |||
}} | |||
}}{{ | |||
#if:{{{Surname5|}}} | |||
|{{ | |||
#if: {{{Surname6|}}} | |||
|<nowiki>; </nowiki> | |||
|{{#if:{{{amp|}}}| & |<nowiki>; </nowiki>}} | |||
}}{{ | |||
#if: {{{Authorlink5|}}} | |||
|[[{{{Authorlink5}}} |{{{Surname5}}}{{ | |||
#if: {{{Given5|}}} | |||
|, {{{Given5}}} | |||
}}]] | |||
|{{{Surname5}}}{{ | |||
#if: {{{Given5|}}} | |||
|, {{{Given5}}} | |||
}} | |||
}}{{ | |||
#if:{{{Surname6|}}} | |||
|{{ | |||
#if: {{{Surname7|}}} | |||
|<nowiki>; </nowiki> | |||
|{{#if:{{{amp|}}}| & |<nowiki>; </nowiki>}} | |||
}}{{ | |||
#if: {{{Authorlink6|}}} | |||
|[[{{{Authorlink6}}} |{{{Surname6}}}{{ | |||
#if: {{{Given6|}}} | |||
|, {{{Given6}}} | |||
}}]] | |||
|{{{Surname6}}}{{ | |||
#if: {{{Given6|}}} | |||
|, {{{Given6}}} | |||
}} | |||
}}{{ | |||
#if:{{{Surname7|}}} | |||
|{{ | |||
#if: {{{Surname8|}}} | |||
|<nowiki>; </nowiki> | |||
|{{#if:{{{amp|}}}| & |<nowiki>; </nowiki>}} | |||
}}{{ | |||
#if: {{{Authorlink7|}}} | |||
|[[{{{Authorlink7}}} |{{{Surname7}}}{{ | |||
#if: {{{Given7|}}} | |||
|, {{{Given7}}} | |||
}}]] | |||
|{{{Surname7}}}{{ | |||
#if: {{{Given7|}}} | |||
|, {{{Given7}}} | |||
}} | |||
}}{{ | |||
#if:{{{Surname8|}}} | |||
|{{ | |||
#if: {{{Surname9|}}} | |||
|<nowiki>; </nowiki> | |||
|{{#if:{{{amp|}}}| & |<nowiki>; </nowiki>}} | |||
}}{{ | |||
#if: {{{Authorlink8|}}} | |||
|[[{{{Authorlink8}}} |{{{Surname8}}}{{ | |||
#if: {{{Given8|}}} | |||
|, {{{Given8}}} | |||
}}]] | |||
|{{{Surname8}}}{{ | |||
#if: {{{Given8|}}} | |||
|, {{{Given8}}} | |||
}} | |||
}}{{ | |||
#if:{{{Surname9|}}} | |||
|<nowiki>; </nowiki> ''et al''. | |||
}} | |||
}} | |||
}} | |||
}} | |||
}} | |||
}} | |||
}} | |||
}}{{ | |||
#if: {{{Date|}}} | |||
| ({{date|{{{Date}}}|{{{DateFormat|dmy}}}}}){{ | |||
#if:{{{YearNote|}}} | |||
| [{{{YearNote}}}] | |||
}} | |||
}} | |||
|{{<!-- ============== No author display editors first == --> | |||
#if: {{{EditorSurname1|}}} | |||
|{{ | |||
#if: {{{Editorlink1|}}} | |||
|[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{ | |||
#if: {{{EditorGiven1|}}} | |||
|, {{{EditorGiven1}}} | |||
}}]] | |||
|{{{EditorSurname1}}}{{ | |||
#if: {{{EditorGiven1|}}} | |||
|, {{{EditorGiven1}}} | |||
}} | |||
}}{{ | |||
#if: {{{EditorSurname2|}}} | |||
|<nowiki>; </nowiki>{{ | |||
#if: {{{Editorlink2|}}} | |||
|[[{{{Editorlink2}}} |{{{EditorSurname2}}}{{ | |||
#if: {{{EditorGiven2|}}} | |||
|, {{{EditorGiven2}}} | |||
}}]] | |||
|{{{EditorSurname2}}}{{ | |||
#if: {{{EditorGiven2|}}} | |||
|, {{{EditorGiven2}}} | |||
}} | |||
}}{{ | |||
#if: {{{EditorSurname3|}}} | |||
|<nowiki>; </nowiki> {{ | |||
#if: {{{Editorlink3|}}} | |||
|[[{{{Editorlink3}}} |{{{EditorSurname3}}}{{ | |||
#if: {{{EditorGiven3|}}} | |||
|, {{{EditorGiven3}}} | |||
}}]] | |||
|{{{EditorSurname3}}}{{ | |||
#if: {{{EditorGiven3|}}} | |||
|, {{{EditorGiven3}}} | |||
}} | |||
}}{{ | |||
#if:{{{EditorSurname4|}}} | |||
| et al. | |||
}} | |||
}} | |||
}}, ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}{{ | |||
#if: {{{Date|}}} | |||
| ({{date|{{{Date}}}|{{{DateFormat|dmy}}}}}) | |||
}} | |||
}} | |||
}}{{ | |||
<!--============ Title of included work ============--> | |||
#if: {{{IncludedWorkTitle|}}} | |||
|{{ | |||
#if:{{{Surname1|}}}{{{EditorSurname1|}}} | |||
|{{{Sep|,}}}  | |||
}}{{Link | |||
| 1={{ | |||
#if: {{{IncludedWorkURL|}}} | |||
|{{{IncludedWorkURL}}} | |||
|{{ | |||
#if: {{{URL|}}} | |||
|{{{URL}}} | |||
<!-- Only link URL if to a free full text - as at PubMedCentral (PMC)--> | |||
|{{ | |||
#if: {{{PMC|}}} | |||
|http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}} | |||
}} | |||
}} | |||
}} | |||
| 2={{ | |||
#if: {{{Periodical|}}} | |||
|''{{{IncludedWorkTitle}}}'' | |||
|"{{{IncludedWorkTitle}}}" | |||
}} | |||
}} | |||
}}{{ | |||
<!--============ Place (if different than PublicationPlace) ============--> | |||
#if: {{{Place|}}} | |||
|{{ | |||
#ifeq: {{{Place|}}} | {{{PublicationPlace|}}} | |||
| | |||
|{{ | |||
#if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}} | |||
|{{{Sep|,}}} written at {{{Place}}} | |||
}} | |||
}} | |||
}}{{ | |||
<!--============ Editor of compilation ============--> | |||
#if: {{{EditorSurname1|}}} | |||
|{{ | |||
#if: {{{Surname1|}}} | |||
|{{{Sep|,}}} {{ | |||
#if: {{{IncludedWorkTitle|}}} | |||
|in  | |||
}}{{ | |||
#if: {{{Editorlink1|}}} | |||
|[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{ | |||
#if: {{{EditorGiven1|}}} | |||
|, {{{EditorGiven1}}} | |||
}}]] | |||
|{{{EditorSurname1}}}{{ | |||
#if: {{{EditorGiven1|}}} | |||
|, {{{EditorGiven1}}} | |||
}}}}{{ | |||
#if: {{{EditorSurname2|}}} | |||
|<nowiki>; </nowiki>{{ | |||
#if: {{{Editorlink2|}}} | |||
|[[{{{Editorlink2}}}|{{{EditorSurname2}}}{{ | |||
#if: {{{EditorGiven2|}}} | |||
|, {{{EditorGiven2}}} | |||
}}]] | |||
|{{{EditorSurname2}}}{{ | |||
#if: {{{EditorGiven2|}}} | |||
|, {{{EditorGiven2}}} | |||
}} | |||
}}{{ | |||
#if: {{{EditorSurname3|}}} | |||
|<nowiki>; </nowiki>{{ | |||
#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: {{{Surname1|}}}{{{EditorSurname1|}}} | |||
|{{{Sep|,}}} }}{{ | |||
#if: {{{Title|}}} | |||
|"{{Link | |||
| 1={{ | |||
#if: {{{IncludedWorkTitle|}}} | |||
|{{ | |||
#if: {{{IncludedWorkURL|}}} | |||
|{{ | |||
#if: {{{URL|}}} | |||
|{{{URL}}} | |||
|{{ | |||
#if: {{{PMC|}}} | |||
| http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}} | |||
}} | |||
}} | |||
}} | |||
|{{ | |||
#if: {{{URL|}}} | |||
|{{{URL}}} | |||
| {{ | |||
#if: {{{PMC|}}} | |||
| http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}} | |||
}} | |||
}} | |||
}} | |||
| 2={{{Title}}} | |||
}}"}} | |||
}}{{ | |||
#if:{{{language|}}} | |||
|  (in {{{language}}}) | |||
}}{{#if:{{{format|}}} | |||
| ({{{format}}}) | |||
}}{{ | |||
#if: {{{Periodical|}}}|{{ | |||
#if:{{{IncludedWorkTitle|}}}{{{Title|}}}|{{{Sep|,}}} }}''{{{Periodical}}}''{{ | |||
#if: {{{Series|}}} | |||
|{{{Sep|,}}} {{{Series}}} | |||
}}{{ | |||
#if: {{{PublicationPlace|}}} | |||
|{{ | |||
#if: {{{Publisher|}}} | |||
| ({{{PublicationPlace}}}<nowiki>: </nowiki>{{{Publisher}}}) | |||
| ({{{PublicationPlace}}}) | |||
}} | |||
|{{ | |||
#if: {{{Publisher|}}} | |||
| ({{{Publisher}}}) | |||
}} | |||
}}{{ | |||
#if: {{{Volume|}}} | |||
| '''{{{Volume}}}'''{{ | |||
#if: {{{Issue|}}} | |||
| ({{{Issue}}}) | |||
}} | |||
|{{ | |||
#if: {{{Issue|}}} | |||
| ({{{Issue}}}) | |||
}} | |||
}}{{ | |||
#if: {{{At|}}} | |||
|<nowiki>: </nowiki> {{{At}}} | |||
}} | |||
|{{ | |||
<!--============ Anything else with a title, including books ============--> | |||
#if: {{{Title|}}} | |||
|{{ | |||
#if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}} | |||
|{{{Sep|,}}}  | |||
}}''{{Link | |||
| 1={{ | |||
#if: {{{IncludedWorkTitle|}}} | |||
|{{ | |||
#if: {{{IncludedWorkURL|}}} | |||
|{{ | |||
#if: {{{URL|}}} | |||
|{{{URL}}} | |||
|{{ | |||
#if: {{{PMC|}}} | |||
| http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}} | |||
}} | |||
}} | |||
}} | |||
|{{ | |||
#if: {{{URL|}}} | |||
|{{{URL}}} | |||
|{{ | |||
#if: {{{PMC|}}} | |||
| http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}} | |||
}} | |||
}} | |||
}} | |||
| 2={{{Title}}} | |||
}}''}}{{ | |||
#if: {{{Series|}}} | |||
|{{{Sep|,}}} {{{Series}}} | |||
}}{{ | |||
#if: {{{Volume|}}} | |||
|{{{Sep|,}}} '''{{{Volume}}}''' | |||
}}{{ | |||
#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|{{{Date}}}|{{{DateFormat|dmy}}}}} | |||
}} | |||
}}{{ | |||
<!--============ Publication date ============--> | |||
#if: {{{PublicationDate|}}} | |||
|{{ | |||
#ifeq: {{{PublicationDate|}}} | {{{Date|}}} | |||
| | |||
|{{ | |||
#if: {{{EditorSurname1|}}} | |||
|{{ | |||
#if: {{{Surname1|}}} | |||
|{{{Sep|,}}} {{date|{{{PublicationDate}}}|{{{DateFormat|dmy}}}}} | |||
| (published {{date|{{{PublicationDate}}}|{{{DateFormat|dmy}}}}}) | |||
}} | |||
|{{ | |||
#if: {{{Periodical|}}} | |||
|{{{Sep|,}}} {{date|{{{PublicationDate}}}|{{{DateFormat|dmy}}}}} | |||
| (published {{date|{{{PublicationDate}}}|{{{DateFormat|dmy}}}}}) | |||
}} | |||
}} | |||
}} | |||
}}{{ | |||
<!--============ Page within included work ============--> | |||
#if: {{{Periodical|}}} | |||
| | |||
|{{ | |||
#if: {{{At|}}} | |||
|{{{Sep|,}}} {{{At}}} | |||
}} | |||
}}{{ | |||
<!--===============DOI================--> | |||
#if:{{{DOI|}}} | |||
|{{{Sep|,}}} [[Digital object identifier|doi]]:{{#if: {{{DoiBroken|}}} | |||
| {{#tag:nowiki|{{{DOI}}}}} (inactive {{date|{{{DoiBroken|}}}|{{{DateFormat|dmy}}}}}) {{#ifeq: {{NAMESPACE}} | {{ns:0}} | [[Category:Pages with DOIs broken since {{#time: Y | {{{DoiBroken|}}} }}]] }} | |||
| <span class="neverexpand">[http://dx.doi.org/{{urlencode:{{{DOI}}}}} {{#tag:nowiki|{{{DOI}}}}}]</span> | |||
}} | |||
}}{{ | |||
<!--============ Misc. Identifier ============--> | |||
#if: {{{ID|}}} | |||
|{{{Sep|,}}} {{{ID}}} | |||
}}{{ | |||
<!--============ ISBN ============--> | |||
#if: {{{ISBN|}}} | |||
|{{{Sep|,}}} ISBN {{{ISBN}}} | |||
}}{{ | |||
<!--============ ISSN ============--> | |||
#if: {{{ISSN|}}} | |||
|{{{Sep|,}}} [[International Standard Serial Number|ISSN]] [http://worldcat.org/issn/{{{ISSN}}} {{{ISSN}}}] | |||
}}{{ | |||
<!--============ OCLC ============--> | |||
#if: {{{OCLC|}}} | |||
|{{{Sep|,}}} [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{OCLC}}}}} {{{OCLC}}}] | |||
}}{{ | |||
<!--============ PMID ============--> | |||
#if: {{{PMID|}}} | |||
|{{{Sep|,}}} PMID {{{PMID}}} | |||
}}{{ | |||
<!--============ PMC ============--> | |||
#if: {{{PMC|}}} | |||
|{{#if: {{{URL|}}} | |||
|{{{Sep|,}}} [[PubMed Central|PMC]]: [http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}} {{{PMC}}}] | |||
}} | |||
}}{{ | |||
<!--============ BIBCODE ============--> | |||
#if: {{{Bibcode|}}} | |||
|{{{Sep|,}}} [[Bibcode]]: [http://adsabs.harvard.edu/abs/{{{Bibcode}}} {{{Bibcode}}}] | |||
}}{{ | |||
<!--============ Archive data, etc ===========--> | |||
#if: {{{Archive|}}} | |||
|{{{Sep|,}}} {{{Archive}}} | |||
}}{{ | |||
<!--============ URL and AccessDate ============--> | |||
#if: {{{URL|{{{IncludedWorkURL|}}}}}} | |||
|{{ | |||
#if: {{{Title|}}}{{{IncludedWorkTitle|}}} | |||
|<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 on {{date|{{{AccessDate}}}|{{{DateFormat|dmy}}} }}</span> | |||
}} | |||
}}{{#if:{{{laysummary|}}} | |||
|{{{Sep|,}}} [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}| – ''{{{laysource}}}''}} | |||
}}{{#if:{{{laydate|}}} | |||
|  ({{{laydate}}}) | |||
}}{{#if:{{{quote|}}} | |||
|{{{Sep|,}}}  "{{{quote}}}" | |||
}}{{{PS|}}}</cite><!-- | |||
=== | === 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:, {{{Given1}}}}} | |||
}} | |||
}}{{ | |||
#if: {{{Surname2|}}} |&rft.au={{urlencode:{{{Surname2}}}}}{{ | |||
</ | #if: {{{Given2|}}} |{{urlencode:, {{{Given2}}}}} | ||
}} | |||
}}{{ | |||
#if: {{{Surname3|}}} |&rft.au={{urlencode:{{{Surname3}}}}}{{ | |||
#if: {{{Given3|}}} |{{urlencode:, {{{Given3}}}}} | |||
}} | |||
}}{{ | |||
#if: {{{Surname4|}}} |&rft.au={{urlencode:{{{Surname4}}}}}{{ | |||
#if: {{{Given4|}}} |{{urlencode:, {{{Given4}}}}} | |||
}} | |||
}}{{ | |||
#if: {{{Surname5|}}} |&rft.au={{urlencode:{{{Surname5}}}}}{{ | |||
#if: {{{Given5|}}} |{{urlencode:, {{{Given5}}}}} | |||
}} | |||
}}{{ | |||
#if: {{{Surname6|}}} |&rft.au={{urlencode:{{{Surname6}}}}}{{ | |||
#if: {{{Given6|}}} |{{urlencode:, {{{Given6}}}}} | |||
}} | |||
}}{{ | |||
#if: {{{Surname7|}}} |&rft.au={{urlencode:{{{Surname7}}}}}{{ | |||
#if: {{{Given7|}}} |{{urlencode:, {{{Given7}}}}} | |||
}} | |||
}}{{ | |||
#if: {{{Surname8|}}} |&rft.au={{urlencode:{{{Surname8}}}}}{{ | |||
#if: {{{Given8|}}} |{{urlencode:, {{{Given8}}}}} | |||
}} | |||
}}{{ | |||
#if: {{{Surname9|}}} |&rft.au={{urlencode:{{{Surname9}}}}}{{ | |||
#if: {{{Given9|}}} |{{urlencode:, {{{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|}}} |&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: {{{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}}"><span style="display: none;"> </span></span><noinclude>{{documentation}}</noinclude> |
Latest revision as of 14:55, 3 February 2009
[edit] Template documentation
About this template
Template:Citation/core can be thought of as an engine producing consistent output for Wikipedia's citations. Templates such as {{citation}} provide this core template with a list of parameters, which it uses to produce a formatted text (HTML) output, which contains embedded COinS metadata. This metadata allows many readers to find cited references more easily, or to extract their details to a reference manager.
The presence of a central template makes individual citation templates simpler to code and amend, and produces a consistent look throughout the encyclopaedia.
Templates using this 'engine'
Changes to this central template can affect the output of several 'upstream' templates. A list of templates using citation/core is provided below for testing purposes.
- Template:Citation
- Template:Cite book
- Template:Cite journal
- Template:Cite web
- Template:Cite encyclopedia
- Template:Cite mailing list
- Template:Cite news
Parameter details
- |AccessDate= date when the |URL= was accessed.
- |Archive= details of an archived copy of the source; the calling template will pass on a string such as "archived from the original on 02-02-2002". The URL passed as |IncludedWorkURL= may therefore end up being the URL of the source, or the URL of the archive copy, as determined by the calling template.
- |At= page reference within the source.
- |Authorlink1= title of an existing Wikipedia article about the first author.
- |Authorlink2=, |Authorlink3=, ..., |Authorlink9= title of an existing Wikipedia article about up to eight additional authors.
- |Bibcode= A Bibcode id
- |DOI= Digital object identifier.
- |Date= date of the authorship, if different from date of publication.
- |DoiBroken= Date the DOI is broken
- |Edition= number or name of the edition, if not the first; for example: |Edition=2nd.
- |EditorGiven1= first editor's first or given name(s).
- |EditorGiven2=, |EditorGiven3=, |EditorGiven4= second, third, and fourth editors' first or given name(s).
- |EditorSurname1= first editor's surname or last name.
- |EditorSurname2=, |EditorSurname3=, |EditorSurname4= second, third, and fourth editor' surname or last name.
- |Editorlink1= title of an existing Wikipedia article about the first editor.
- |Editorlink2=, |Editorlink3=, |Editorlink4= title of an existing Wikipedia article about the second, third, and fourth editor.
- |format= file format of the source, if not the common format.
- |Given1= first author's first or given name(s).
- |Given2=, |Given3=, ..., |Given9= up to eight additional authors' first or given name(s).
- |ID= miscellaneous identifier, other than |DOI=, |ISBN=, |ISSN=, |OCLC=, |PMID=, or |PMC=.
- |ISBN= International Standard Book Number.
- |ISSN= International Standard Serial Number identifying the periodical.
- |IncludedWorkTitle= title of the contribution, chapter, or other included work.
- |IncludedWorkURL= URL of the contribution or chapter, or other included work.
- |Issue= issue number of the periodical.
- |language= specifies the language in which the source is written, if not English.
- |laydate= Date of a lay summary
- |laysummary= Summary of the source in a layman-friendly journal - for instance a BBC news article about a paper in Nature.
- |OCLC=Online Computer Library Center ID number.
- |Other= Other details to be inserted in a particular place
- |PMC= PubMed Central article number for full-text free repository of an article.
- |PMID= PubMed Unique Identifier.
- |Periodical= name of the periodical, journal, or magazine. This parameter controls whether or not the template will generate a citation in the style appropriate to a periodical, jorunal, magazine, or other serial publication.
- |Place= place where the item was created.
- |PublicationDate= date of publication.
- |PublicationPlace= city of publication.
- |Publisher= name of the publisher.
- |quote= text to be quoted from the source.
- |Ref= A reference name - if the citation is referred to using the Havard referencing suite of templates (LINK!)
- |Sep= specifies the punctuation mark used to separate fields. This usually defaults to a period, but may occasionally be a comma.
- |Series= series of which this periodical is a part.
- |Surname1= first author's surname or last name.
- |Surname2=, |Surname3=, ..., |Surname9= up to eight additional authors' surname or last name.
- |Title= title of the article in the periodical.
- |URL= Uniform Resource Locator of an online location where the article can be found.
- |Volume= volume number of a multi-volume book or compilation.
- |YearNote= Note to accompany the year. Example: First published 1886
- |Year= year of authorship or publication.
Category:
- Citation templates