Template:Citation/identifier: Difference between revisions
Appropedia>Sophivorus No edit summary |
|||
Line 1: | Line 1: | ||
{{#switch:{{{identifier}}} | {{#switch:{{{identifier}}} | ||
| arxiv = [[ | |arxiv=[[arXiv]]:[https://arxiv.org/abs/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}] | ||
|asin=[[Amazon Standard Identification Number|ASIN]] [https://www.amazon.<!-- | |||
| | -->{{#switch: {{{input2|}}} | ||
|ca=ca | |||
|cn=cn | |||
|de=de | |||
|ed=es | |||
|fr=fr | |||
|it=it | |||
|jp=co.jp | |||
|co.jp=co.jp | |||
|uk=co.uk | |||
|co.uk=co.uk | |||
|#default=com | |||
}}/dp/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}] | |||
|bibcode=[[Bibcode]] [https://adsabs.harvard.edu/abs/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}] | |||
|doi={{#ifeq:{{str left|{{{input1|}}}|3}}|10. | |||
|{{#if:{{{input2|}}} | |||
|[[Digital object identifier|doi]]:{{{input1|}}} (inactive {{{input2|}}}) <!-- | |||
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}} | |||
|[[Category:Pages with DOIs inactive since {{#time: Y | {{{input2|}}} }}]] | |||
| | |||
}} | |||
|[[Digital object identifier|doi]]:[https://dx.doi.org/{{urlencode:{{{input1|}}}}} {{#tag:nowiki|{{{input1|}}}}}] | |||
}} | |||
|{{citation error|nocat={{{input3|}}}|cat=Pages with DOI errors|Bad DOI specified}} | |||
}} | |||
|isbn={{ISBN|{{{input1|}}}}} | |||
|issn=[[International Standard Serial Number|ISSN]] [https://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|}}}}}] | |||
|lccn=[[Library of Congress Control Number|LCCN]] [http://lccn.loc.gov/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}] | |||
|mr=[[Mathematical Reviews|MR]] [http://www.ams.org/mathscinet-getitem?mr{{=}}{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}] | |||
|oclc=[[OCLC]] [https://www.worldcat.org/oclc/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}] | |||
|ol={{#if:{{str endswith|{{{input1|}}}|A}} | |||
|[[Open Library|OL]][http://openlibrary.org/authors/OL{{urlencode:{{{input1|}}}}} {{{input1|}}}] | |||
|{{#if:{{str endswith|{{{input1|}}}|M}} | |||
|[[Open Library|OL]][http://openlibrary.org/books/OL{{urlencode:{{{input1|}}}}} {{{input1|}}}] | |||
|{{#if:{{str endswith|{{{input1|}}}|W}} | |||
|[[Open Library|OL]][http://openlibrary.org/works/OL{{urlencode:{{{input1|}}}}} {{{input1|}}}] | |||
|<includeonly>[[Category:Pages with OL errors]]<span class="error">Error: Bad OL specified!</span></includeonly> | |||
}} | }} | ||
}} | |||
}} | |||
|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]] [https://www.ncbi.nlm.nih.gov/pmc/articles/PMC{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}] | |||
| | |pmid=[[PubMed Identifier|PMID]] [https://www.ncbi.nlm.nih.gov/pubmed/{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}] | ||
|rfc=[[Request for Comments|RFC]] [https://tools.ietf.org/html/rfc{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}] | |||
| | |||
|ssrn=[[Social Science Research Network|SSRN]] [http://ssrn.com/abstract{{=}}{{{input1|}}} {{#tag:nowiki|{{{input1|}}}}}] | |||
| | |||
|zbl=[[Zentralblatt MATH|Zbl]] [http://www.zentralblatt-math.org/zmath/en/search/?q{{=}}an:{{{input1|}}}&format{{=}}complete {{#tag:nowiki|{{{input1|}}}}}] | |||
| | |||
| | }}<noinclude> | ||
{{documentation}} | |||
| zbl = [[ | </noinclude> | ||
}}<noinclude>{{ |
Revision as of 22:11, 21 June 2023
{{#switch:{{{identifier}}}
|arxiv=arXiv:
|asin=ASIN [https://www.amazon.{{#switch: |ca=ca |cn=cn |de=de |ed=es |fr=fr |it=it |jp=co.jp |co.jp=co.jp |uk=co.uk |co.uk=co.uk |#default=com }}/dp/ ]
|bibcode=Bibcode
|doi={{#ifeq:Template:Str left|10. |{{#if: |doi: (inactive ) {{#ifeq:Template| |[[Category:Pages with DOIs inactive since {{#time: Y | }}]] | }} |doi: }} |Error: Bad DOI specified{{#if:| when using {{[[Template:{{{2}}}|{{{2}}}]]}}}}{{#ifeq:|true||Template:Namespace detect showall}} }}
|isbn=Template:ISBN
|issn=ISSN
|jfm=JFM
|jstor=JSTOR
|lccn=LCCN
|mr=MR
|oclc=OCLC
|ol={{#if:Template:Str endswith |OL[1] |{{#if:Template:Str endswith |OL[2] |{{#if:Template:Str endswith |OL[3] | }} }} }}
|osti=OSTI
|pmc=PMC
|pmid=PMID
|rfc=RFC
|ssrn=SSRN
|zbl=Zbl
}}
Template documentation{{#if:Lua error in Module:Appropedia at line 16: attempt to index field 'appropedia' (a nil value).|{{#if:|| edit documentation}}}}
{{#if:|{{{content}}}|{{#if:Lua error in Module:Appropedia at line 16: attempt to index field 'appropedia' (a nil value).|{{#ifeq:identifier|doc|Template:Notice}}
This subtemplate generates identifiers for its parent template. |
}}}}