Difference between revisions of "Template:Citation/core"

From Self-sufficiency
Jump to: navigation, search
(continued)
(Add rudimentary COinS tags.)
Line 1: Line 1:
<cite style="font-style:normal" class="external text" {{#if:{{{Ref|}}}
+
<span
 +
<!-- This is a COinS tag (http://ocoins.info), which allows automated tools to parse the citation information: -->
 +
    class="Z3988"
 +
    title="{{urlencode:ctx_ver=Z39.88-2004&rft_val_fmt=info:ofi/fmt:kev:mtx:book{{
 +
      #if: {{{Journal|}}}
 +
      |&rft.genre=article&rft.atitle={{{Title|}}}&rft.title={{{Periodical|}}}
 +
      |{{
 +
        #if: {{{IncludedWorkTitle|}}}
 +
        |&rft.genre=bookitem&rft.atitle={{{IncludedWorkTitle|}}}
 +
        |&rft.genre=book
 +
      }}&rft.title={{{Title|}}}
 +
    }}{{
 +
      #if: {{{Surname1|}}} |&rft.aulast={{{Surname1}}}
 +
    }}{{
 +
      #if: {{{Given1|}}} |&rft.aufirst={{{Given1}}}
 +
    }}{{
 +
      #if: {{{Date|}}} |&rft.date={{{Date}}}
 +
    }}{{
 +
      #if: {{{Volume|}}} |&rft.volume={{{Volume}}}
 +
    }}{{
 +
      #if: {{{Issue|}}} |&rft.issue={{{Issue}}}
 +
    }}{{
 +
      #if: {{{Pages|}}} |&rft.pages={{{Pages}}}
 +
    }}{{
 +
      #if: {{{ISBN|}}} |&rft.isbn={{{ISBN}}}
 +
    }}{{
 +
      #if: {{{Edition|}}} |&rft.edition={{{Edition}}}
 +
    }}{{
 +
      #if: {{{Place|}}} |&rft.place={{{Place}}}
 +
    }}{{
 +
      #if: {{{Publisher|}}} |&rft.pub={{{Publisher}}}
 +
    }}{{
 +
      #if: {{{DOI|}}} |&rft_id=info:doi/{{{DOI}}}
 +
    }}{{
 +
      #if: {{{URL|{{{IncludedWorkURL|}}}}}} |&rft_id={{{URL|{{{IncludedWorkURL|}}}}}}
 +
    }}}}
 +
><cite  
 +
    style="font-style:normal"
 +
    class="external text"
 +
{{
 +
  #if:{{{Ref|}}}
 
   |{{#ifeq:{{{Ref|}}}|none||id="{{{Ref|}}}"}}
 
   |{{#ifeq:{{{Ref|}}}|none||id="{{{Ref|}}}"}}
 
   |id="CITEREF{{#if:{{{Surname1|}}}
 
   |id="CITEREF{{#if:{{{Surname1|}}}
Line 212: Line 252:
 
     |. Retrieved on {{{AccessDate}}}
 
     |. Retrieved on {{{AccessDate}}}
 
   }}
 
   }}
}}</cite>
+
}}</cite></span>

Revision as of 03:41, 8 June 2007