Difference between revisions of "Template:Citation/core"
From Self-sufficiency
(Pass COinS metadata handling to Template:COinS for forward-compatability and code clarity) |
(Undid revision 294803543. See this discussion – this seems to be the edit at fault) |
||
Line 544: | Line 544: | ||
}}{{#if:{{{quote|}}} | }}{{#if:{{{quote|}}} | ||
|{{{Sep|,}}}  "{{{quote}}}" | |{{{Sep|,}}}  "{{{quote}}}" | ||
− | }}{{{PS|}}}</cite> | + | }}{{{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}}}}} |
− | </ | + | }} |
− | </span><noinclude>{{documentation}}</noinclude> | + | }}{{ |
+ | #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> |
Revision as of 19:38, 6 June 2009
[edit]
Documentation