Difference between revisions of "Template:Citation/identifier"

From MansonWiki, the Marilyn Manson encyclopedia
Jump to: navigation, search
(some experiments to remove the "hide in print" template)
Line 1: Line 1:
 
{{#switch:{{{identifier}}}
 
{{#switch:{{{identifier}}}
  |arxiv={{hide in print
+
  |arxiv=[[arXiv]]:[http://arxiv.org/abs/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
        |[[arXiv]]:[http://arxiv.org/abs/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
+
  |asin=[[Amazon Standard Identification Number|ASIN]] [http://www.amazon.com/dp/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
        }}
+
  |bibcode=[[Bibcode]] [http://adsabs.harvard.edu/abs/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
  |asin={{hide in print
+
  |doi={{#if:{{{input2|}}}
        |[[Amazon Standard Identification Number|ASIN]] [http://www.amazon.com/dp/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
+
      }}
+
  |bibcode={{hide in print
+
          |[[Bibcode]] [http://adsabs.harvard.edu/abs/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
+
          }}
+
  |doi={{hide in print
+
      |{{#if:{{{input2|}}}
+
 
         |[[Digital object identifier|doi]]:{{{input1|}}} (inactive {{{input2|}}}) {{#ifeq: {{NAMESPACE}} | {{ns:0}}
 
         |[[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|}}} }}]]
Line 17: Line 10:
 
         |[[Digital object identifier|doi]]:[http://dx.doi.org/{{urlencode:{{{input1|}}}}} {{#tag:nowiki|{{{input1|}}}}}]
 
         |[[Digital object identifier|doi]]:[http://dx.doi.org/{{urlencode:{{{input1|}}}}} {{#tag:nowiki|{{{input1|}}}}}]
 
         }}
 
         }}
      }}
 
 
  |isbn=ISBN [[Special:BookSources/{{{input1|}}}|{{{input1|}}}]]
 
  |isbn=ISBN [[Special:BookSources/{{{input1|}}}|{{{input1|}}}]]
  |issn={{hide in print
+
  |issn=ISSN [http://www.worldcat.org/issn/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
        |ISSN [http://www.worldcat.org/issn/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
+
  |jfm=[[Jahrbuch über die Fortschritte der Mathematik|JFM]] [http://www.zentralblatt-math.org/zmath/en/search/?q{{=}}an:{{{input1|}}}&format{{=}}complete {{#tag:nowiki|{{{input1|}}}}}]
      }}
+
  |jstor=[[JSTOR]] [http://www.jstor.org/stable/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
  |jfm={{hide in print
+
  |lccn=[[Library of Congress Control Number|LCCN]] [http://lccn.loc.gov/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
      |[[Jahrbuch über die Fortschritte der Mathematik|JFM]] [http://www.zentralblatt-math.org/zmath/en/search/?q{{=}}an:{{{input1|}}}&format{{=}}complete {{#tag:nowiki|{{{input1|}}}}}]
+
  |mr=[[Mathematical Reviews|MR]][http://www.ams.org/mathscinet-getitem?mr{{=}}{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
      }}
+
  |oclc=[[Online Computer Library Center|OCLC]] [http://www.worldcat.org/oclc/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
  |jstor={{hide in print
+
  |ol=[[Open Library|OL]][http://openlibrary.org/b/OL{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
        |[[JSTOR]] [http://www.jstor.org/stable/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
+
  |osti=[[Office of Scientific and Technical Information|OSTI]] [http://www.osti.gov/energycitations/product.biblio.jsp?osti_id{{=}}{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
        }}
+
  |pmc=[[PubMed Central|PMC]] [http://www.pubmedcentral.gov/articlerender.fcgi?tool{{=}}pmcentrez&artid{{=}}{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
  |lccn={{hide in print
+
  |pmid=[[PubMed Identifier|PMID]] [http://www.ncbi.nlm.nih.gov/pubmed/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
        |[[Library of Congress Control Number|LCCN]] [http://lccn.loc.gov/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
+
  |rfc=[[Request for Comments|RFC]] [http://tools.ietf.org/html/rfc{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
        }}
+
  |ssrn=[[Social Science Research Network|SSRN]] [http://ssrn.com/abstract{{=}}{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
  |mr={{hide in print
+
  |zbl=[[Zentralblatt MATH|Zbl]] [http://www.zentralblatt-math.org/zmath/en/search/?q{{=}}an:{{{input1|}}}&format{{=}}complete {{#tag:nowiki|{{{input1|}}}}}]
      |[[Mathematical Reviews|MR]][http://www.ams.org/mathscinet-getitem?mr{{=}}{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
+
    }}
+
  |oclc={{hide in print
+
        |[[Online Computer Library Center|OCLC]] [http://www.worldcat.org/oclc/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
+
      }}
+
  |ol={{hide in print
+
        |[[Open Library|OL]][http://openlibrary.org/b/OL{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
+
      }}
+
  |osti={{hide in print
+
        |[[Office of Scientific and Technical Information|OSTI]] [http://www.osti.gov/energycitations/product.biblio.jsp?osti_id{{=}}{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
+
      }}
+
  |pmc={{hide in print
+
      |[[PubMed Central|PMC]] [http://www.pubmedcentral.gov/articlerender.fcgi?tool{{=}}pmcentrez&artid{{=}}{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
+
      }}
+
  |pmid={{hide in print
+
        |[[PubMed Identifier|PMID]] [http://www.ncbi.nlm.nih.gov/pubmed/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
+
      }}
+
  |rfc={{hide in print
+
        |[[Request for Comments|RFC]] [http://tools.ietf.org/html/rfc{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
+
      }}
+
  |ssrn={{hide in print
+
        |[[Social Science Research Network|SSRN]] [http://ssrn.com/abstract{{=}}{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}]
+
      }}
+
  |zbl={{hide in print
+
        |[[Zentralblatt MATH|Zbl]] [http://www.zentralblatt-math.org/zmath/en/search/?q{{=}}an:{{{input1|}}}&format{{=}}complete {{#tag:nowiki|{{{input1|}}}}}]
+
      }}
+
 
}}
 
}}

Revision as of 09:20, 6 March 2023