Jump to content

Template:Citation/core: Difference between revisions

From IdeaWazaWiki
wikademia>Jitse Niesen
add space before issue number if no volume number is present, per Template talk:Citation#issue parameter (copied from Template:Citation/core/Sandbox)
wikademia>Salix alba
Coins metadata fixes. Also fix Bibcode
Line 479: Line 479:
<!--============ BIBCODE ============-->  
<!--============ BIBCODE ============-->  
   #if: {{{Bibcode|}}}  
   #if: {{{Bibcode|}}}  
   |, [[Bibcode]]:&nbsp;[http://adsabs.harvard.edu/abs/{{{bibcode}}} {{{bibcode}}}]
   |, [[Bibcode]]:&nbsp;[http://adsabs.harvard.edu/abs/{{{Bibcode}}} {{{Bibcode}}}]
}}{{  
}}{{  
<!--============ DOI ============-->
<!--============ DOI ============-->
Line 519: Line 519:
--><span
--><span
     class="Z3988"
     class="Z3988"
     title="ctx_ver=Z39.88-2004&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:}}book{{
     title="ctx_ver=Z39.88-2004&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:}}{{
       #if: {{{Journal|}}}
       #if: {{{Periodical|}}}
       |&rft.genre=article&rft.atitle={{urlencode:{{{Title|}}}}}&rft.title={{urlencode:{{{Periodical|}}}}}
       |journal&rft.genre=article&rft.atitle={{urlencode:{{{Title|}}}}}&rft.jtitle={{urlencode:{{{Periodical|}}}}}
       |{{
       |book{{
         #if: {{{IncludedWorkTitle|}}}
         #if: {{{IncludedWorkTitle|}}}
         |&rft.genre=bookitem&rft.atitle={{urlencode:{{{IncludedWorkTitle|}}}}}
         |&rft.genre=bookitem&rft.btitle={{urlencode:{{{IncludedWorkTitle|}}}}}&rft.atitle={{urlencode:{{{Title|}}}}}
         |&rft.genre=book
         |&rft.genre=book&rft.btitle={{urlencode:{{{Title|}}}}}
      }}&rft.title={{urlencode:{{{Title|}}}}}
      }}
     }}{{
     }}{{
      #if: {{{Surname1|}}} |&rft.aulast={{urlencode:{{{Surname1}}}}}
    #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: {{{Given1|}}} |&rft.aufirst={{urlencode:{{{Given1}}}}}
       #if: {{{Date|}}} |&rft.date={{urlencode:{{{Date}}}}}
     }}{{
     }}{{
       #if: {{{Date|}}} |&rft.date={{urlencode:{{{Date}}}}}
       #if: {{{Series|}}} |&rft.series={{urlencode:{{{Series}}}}}  
     }}{{
     }}{{
       #if: {{{Volume|}}} |&rft.volume={{urlencode:{{{Volume}}}}}
       #if: {{{Volume|}}} |&rft.volume={{urlencode:{{{Volume}}}}}
Line 541: Line 579:
     }}{{
     }}{{
       #if: {{{Edition|}}} |&rft.edition={{urlencode:{{{Edition}}}}}
       #if: {{{Edition|}}} |&rft.edition={{urlencode:{{{Edition}}}}}
    }}{{
      #if: {{{Place|}}} |&rft.place={{urlencode:{{{Place}}}}}
     }}{{
     }}{{
       #if: {{{PublicationPlace|}}} |&rft.place={{urlencode:{{{PublicationPlace}}}}}
       #if: {{{PublicationPlace|}}} |&rft.place={{urlencode:{{{PublicationPlace}}}}}
Line 548: Line 584:
       #if: {{{Publisher|}}} |&rft.pub={{urlencode:{{{Publisher}}}}}
       #if: {{{Publisher|}}} |&rft.pub={{urlencode:{{{Publisher}}}}}
     }}{{
     }}{{
       #if: {{{DOI|}}} |&rft_id=info:doi/{{urlencode:{{{DOI}}}}}
       #if: {{{doi|}}} |&rft_id=info:doi/{{urlencode:{{{doi}}}}}
     }}{{
     }}{{
       #if: {{{PMID|}}} |&rft_id=info:pmid/{{urlencode:{{{PMID}}}}}
       #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: {{{ISBN|}}} |&rft.isbn={{urlencode:{{{ISBN}}}}}
Line 557: Line 597:
     }}{{
     }}{{
       #if: {{{URL|{{{IncludedWorkURL|}}}}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}}
       #if: {{{URL|{{{IncludedWorkURL|}}}}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}}
     }}"><span style="display: none;">&nbsp;</span></span>
     }}&rfr_id=info:sid/en.wikipedia.org:{{FULLPAGENAMEE}}"><span style="display: none;">&nbsp;</span></span>

Revision as of 23:14, 15 September 2008