Difference between revisions of "Template:Citation/identifier"

From LIMSWiki
Jump to navigationJump to search
m (1 revision)
m (Ending slash PMC)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch:{{{identifier}}}
{{#switch:{{{identifier}}}
  |arxiv={{hide in print
  |arxiv={{hide in print
         |[[arXiv]]:[http://arxiv.org/abs/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
         |[http://en.wikipedia.org/wiki/ArXiv arXiv]:[http://arxiv.org/abs/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
         }}<!--
         }}<!--
     -->{{only in print
     -->{{only in print
Line 7: Line 7:
         }}
         }}
  |asin={{hide in print
  |asin={{hide in print
         |[[Amazon Standard Identification Number|ASIN]]&nbsp;[http://www.amazon.com/dp/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
         |[http://en.wikipedia.org/wiki/ASIN ASIN]&nbsp;[http://www.amazon.com/dp/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
       }}<!--
       }}<!--
     -->{{only in print
     -->{{only in print
Line 13: Line 13:
       }}
       }}
  |bibcode={{hide in print
  |bibcode={{hide in print
           |[[Bibcode]] [http://adsabs.harvard.edu/abs/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
           |[http://en.wikipedia.org/wiki/Bibcode Bibcode] [http://adsabs.harvard.edu/abs/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
           }}<!--
           }}<!--
       -->{{only in print
       -->{{only in print
Line 20: Line 20:
  |doi={{hide in print
  |doi={{hide in print
       |{{#if:{{{input2|}}}
       |{{#if:{{{input2|}}}
         |[[Digital object identifier|doi]]:{{{input1|}}} (inactive {{{input2|}}}) {{#ifeq: {{NAMESPACE}} | {{ns:0}}
         |[http://en.wikipedia.org/wiki/Digital_object_identifier doi]:{{{input1|}}} (inactive {{{input2|}}}) {{#ifeq: {{NAMESPACE}} | {{ns:0}}
                   |[[Category:Pages with DOIs inactive since {{#time: Y | {{{input2|}}} }}]]
                   |[[Category:Pages with DOIs inactive since {{#time: Y | {{{input2|}}} }}]]
                   |
                   |
                   }}
                   }}
         |[[Digital object identifier|doi]]:[http://dx.doi.org/{{urlencode:{{{input1|}}}}} {{#tag:nowiki|{{{input1|}}}}}]
         |[http://en.wikipedia.org/wiki/Digital_object_identifier doi]:[http://dx.doi.org/{{urlencode:{{{input1|}}}}} {{#tag:nowiki|{{{input1|}}}}}]
         }}
         }}
       }}<!--
       }}<!--
Line 34: Line 34:
       }}
       }}
  |isbn={{hide in print
  |isbn={{hide in print
         |[[International Standard Book Number|ISBN]]&nbsp;[[Special:BookSources/{{{input1|}}}|{{{input1|}}}]]
         |[http://en.wikipedia.org/wiki/International_Standard_Book_Number ISBN]&nbsp;[[Special:BookSources/{{{input1|}}}|{{{input1|}}}]]
       }}<!--
       }}<!--
     -->{{only in print
     -->{{only in print
Line 40: Line 40:
       }}
       }}
  |issn={{hide in print
  |issn={{hide in print
         |[[International Standard Serial Number|ISSN]]&nbsp;[http://www.worldcat.org/issn/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
         |[http://en.wikipedia.org/wiki/International_Standard_Serial_Number ISSN]&nbsp;[http://www.worldcat.org/issn/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
       }}<!--
       }}<!--
     -->{{only in print
     -->{{only in print
Line 46: Line 46:
       }}
       }}
  |jfm={{hide in print
  |jfm={{hide in print
       |[[Jahrbuch über die Fortschritte der Mathematik|JFM]]&nbsp;[http://www.zentralblatt-math.org/zmath/en/search/?q{{=}}an:{{{input1|}}}&format{{=}}complete {{#tag:nowiki|{{{input1|}}}}}]
       |[http://en.wikipedia.org/wiki/Jahrbuch_über_die_Fortschritte_der_Mathematik JFM]&nbsp;[http://www.zentralblatt-math.org/zmath/en/search/?q{{=}}an:{{{input1|}}}&format{{=}}complete {{#tag:nowiki|{{{input1|}}}}}]
       }}<!--
       }}<!--
   -->{{only in print
   -->{{only in print
Line 52: Line 52:
       }}
       }}
  |jstor={{hide in print
  |jstor={{hide in print
         |[[JSTOR]]&nbsp;[http://www.jstor.org/stable/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
         |[http://en.wikipedia.org/wiki/JSTOR JSTOR]&nbsp;[http://www.jstor.org/stable/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
         }}<!--
         }}<!--
     -->{{only in print
     -->{{only in print
Line 58: Line 58:
         }}
         }}
  |lccn={{hide in print
  |lccn={{hide in print
         |[[Library of Congress Control Number|LCCN]]&nbsp;[http://lccn.loc.gov/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
         |[http://en.wikipedia.org/wiki/Library_of_Congress_Control_Number LCCN]&nbsp;[http://lccn.loc.gov/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
         }}<!--
         }}<!--
     -->{{only in print
     -->{{only in print
Line 64: Line 64:
         }}
         }}
  |mr={{hide in print
  |mr={{hide in print
       |[[Mathematical Reviews|MR]][http://www.ams.org/mathscinet-getitem?mr{{=}}{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
       |[http://en.wikipedia.org/wiki/Mathematical_Reviews MR][http://www.ams.org/mathscinet-getitem?mr{{=}}{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
     }}<!--
     }}<!--
   -->{{only in print
   -->{{only in print
Line 70: Line 70:
     }}
     }}
  |oclc={{hide in print
  |oclc={{hide in print
         |[[Online Computer Library Center|OCLC]]&nbsp;[http://www.worldcat.org/oclc/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
         |[http://en.wikipedia.org/wiki/Online_Computer_Library_Center OCLC]&nbsp;[http://www.worldcat.org/oclc/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
       }}<!--
       }}<!--
     -->{{only in print
     -->{{only in print
Line 76: Line 76:
       }}
       }}
  |ol={{hide in print
  |ol={{hide in print
         |[[Open Library|OL]][http://openlibrary.org/b/OL{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
         |[http://en.wikipedia.org/wiki/Open_Library OL][http://openlibrary.org/b/OL{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
       }}<!--
       }}<!--
     -->{{only in print
     -->{{only in print
Line 82: Line 82:
       }}
       }}
  |osti={{hide in print
  |osti={{hide in print
         |[[Office of Scientific and Technical Information|OSTI]]&nbsp;[http://www.osti.gov/energycitations/product.biblio.jsp?osti_id{{=}}{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
         |[http://en.wikipedia.org/wiki/Office_of_Scientific_and_Technical_Information OSTI]&nbsp;[http://www.osti.gov/energycitations/product.biblio.jsp?osti_id{{=}}{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
       }}<!--
       }}<!--
     -->{{only in print
     -->{{only in print
Line 88: Line 88:
       }}
       }}
  |pmc={{hide in print
  |pmc={{hide in print
       |[[PubMed Central|PMC]]&nbsp;[http://www.pubmedcentral.gov/articlerender.fcgi?tool{{=}}pmcentrez&artid{{=}}{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
       |[http://en.wikipedia.org/wiki/PubMed_Central PMC]&nbsp;[http://www.ncbi.nlm.nih.gov/pmc/articles/{{{input1|}}}/ {{#tag:nowiki|{{{input1|}}}}}]
       }}<!--
       }}<!--
   -->{{only in print
   -->{{only in print
Line 94: Line 94:
       }}
       }}
  |pmid={{hide in print
  |pmid={{hide in print
         |[[PubMed Identifier|PMID]]&nbsp;[http://www.ncbi.nlm.nih.gov/pubmed/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
         |[http://en.wikipedia.org/wiki/PubMed_Identifier PMID]&nbsp;[http://www.ncbi.nlm.nih.gov/pubmed/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
       }}<!--
       }}<!--
     -->{{only in print
     -->{{only in print
Line 100: Line 100:
       }}
       }}
  |rfc={{hide in print
  |rfc={{hide in print
         |[[Request for Comments|RFC]]&nbsp;[http://tools.ietf.org/html/rfc{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
         |[http://en.wikipedia.org/wiki/Request_for_Comments RFC]&nbsp;[http://tools.ietf.org/html/rfc{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
       }}<!--
       }}<!--
     -->{{only in print
     -->{{only in print
Line 106: Line 106:
       }}
       }}
  |ssrn={{hide in print
  |ssrn={{hide in print
         |[[Social Science Research Network|SSRN]]&nbsp;[http://ssrn.com/abstract{{=}}{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
         |[http://en.wikipedia.org/wiki/Social_Science_Research_Network SSRN]&nbsp;[http://ssrn.com/abstract{{=}}{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
       }}<!--
       }}<!--
     -->{{only in print
     -->{{only in print
Line 112: Line 112:
       }}
       }}
  |zbl={{hide in print
  |zbl={{hide in print
         |[[Zentralblatt MATH|Zbl]]&nbsp;[http://www.zentralblatt-math.org/zmath/en/search/?q{{=}}an:{{{input1|}}}&format{{=}}complete {{#tag:nowiki|{{{input1|}}}}}]
         |[http://en.wikipedia.org/wiki/Zentralblatt_MATH Zbl]&nbsp;[http://www.zentralblatt-math.org/zmath/en/search/?q{{=}}an:{{{input1|}}}&format{{=}}complete {{#tag:nowiki|{{{input1|}}}}}]
       }}<!--
       }}<!--
     -->{{only in print
     -->{{only in print

Latest revision as of 20:30, 25 July 2016

[edit] [purge] Template documentation

About this template

Template:Citation/identifier is a helper template to LIMSWiki's citation system. This template ties in with other templates like Template:Citation/core. Specifically, it helps render how identifiers like ASIN, ISBN, and JSTOR are rendered in references, producing a consistent look throughout the encyclopedia.

References