Jump to content

Template:Citation/core: Difference between revisions

From IdeaWazaWiki
wikademia>David Eppstein
wikademia>Omegatron
move COinS to the end so ref isn't overwritten by extensions
Line 1: Line 1:
<span
<cite  
<!-- This is a COinS tag (http://ocoins.info), which allows automated tools to parse the citation information: -->
    class="Z3988"
    title="ctx_ver=Z39.88-2004&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:}}book{{
      #if: {{{Journal|}}}
      |&rft.genre=article&rft.atitle={{urlencode:{{{Title|}}}}}&rft.title={{urlencode:{{{Periodical|}}}}}
      |{{
        #if: {{{IncludedWorkTitle|}}}
        |&rft.genre=bookitem&rft.atitle={{urlencode:{{{IncludedWorkTitle|}}}}}
        |&rft.genre=book
      }}&rft.title={{urlencode:{{{Title|}}}}}
    }}{{
      #if: {{{Surname1|}}} |&rft.aulast={{urlencode:{{{Surname1}}}}}
    }}{{
      #if: {{{Given1|}}} |&rft.aufirst={{urlencode:{{{Given1}}}}}
    }}{{
      #if: {{{Date|}}} |&rft.date={{urlencode:{{{Date}}}}}
    }}{{
      #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: {{{Place|}}} |&rft.place={{urlencode:{{{Place}}}}}
    }}{{
      #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: {{{ISBN|}}} |&rft.isbn={{urlencode:{{{ISBN}}}}}
    }}{{
      #if: {{{ISSN|}}} |&rft.issn={{urlencode:{{{ISSN}}}}}
    }}{{
      #if: {{{URL|{{{IncludedWorkURL|}}}}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}}
    }}"
><cite  
{{
{{
   #if:{{{Ref|}}}
   #if:{{{Ref|}}}
Line 546: Line 504:
     | .&#32;Retrieved on {{date|{{{AccessDate}}}}}
     | .&#32;Retrieved on {{date|{{{AccessDate}}}}}
   }}
   }}
}}</cite></span>
}}</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:}}book{{
      #if: {{{Journal|}}}
      |&rft.genre=article&rft.atitle={{urlencode:{{{Title|}}}}}&rft.title={{urlencode:{{{Periodical|}}}}}
      |{{
        #if: {{{IncludedWorkTitle|}}}
        |&rft.genre=bookitem&rft.atitle={{urlencode:{{{IncludedWorkTitle|}}}}}
        |&rft.genre=book
      }}&rft.title={{urlencode:{{{Title|}}}}}
    }}{{
      #if: {{{Surname1|}}} |&rft.aulast={{urlencode:{{{Surname1}}}}}
    }}{{
      #if: {{{Given1|}}} |&rft.aufirst={{urlencode:{{{Given1}}}}}
    }}{{
      #if: {{{Date|}}} |&rft.date={{urlencode:{{{Date}}}}}
    }}{{
      #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: {{{Place|}}} |&rft.place={{urlencode:{{{Place}}}}}
    }}{{
      #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: {{{ISBN|}}} |&rft.isbn={{urlencode:{{{ISBN}}}}}
    }}{{
      #if: {{{ISSN|}}} |&rft.issn={{urlencode:{{{ISSN}}}}}
    }}{{
      #if: {{{URL|{{{IncludedWorkURL|}}}}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}}
    }}">&nbsp;</span>

Revision as of 05:20, 21 April 2008