Template:Citation/identifier

From 2012.igem.org

Revision as of 19:59, 22 August 2012 by Nickveeken (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#switch:{{{identifier}}}

|arxiv=arXiv:[http://arxiv.org/abs/ ]
       {{#if:1||arXiv:
       }}
|asin=ASIN [//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/ ]
      {{#if:1||ASIN 
      }}
|bibcode=Bibcode [http://adsabs.harvard.edu/abs/ ]
         {{#if:1||Bibcode 
         }}
|doi={{#ifeq:|10.
        |{{#if:
          |doi: (inactive ) {{#ifeq:Template|
               |[[Category:Pages with DOIs inactive since {{#time: Y |  }}]]
               |
              }}
          |doi:[http://dx.doi.org/ ]
         }}
        |Error: Bad DOI specified{{#if:| when using {{[[Template:{{{2}}}|{{{2}}}]]}}}}{{#ifeq:|true||{{#switch:    
 {{#switch:    
   {{#if: 
     | {{{demospace}}}
     | {{#if: 
       | 
         {{#ifeq:|
         | talk
         |  
         }}
       | 
         {{#ifeq:template|template talk
         | talk
         | template 
         }}
       }}
     }}
 | showall   = showall   
 | main         
 |           = 1
 | talk      =   
 | user      =   
 | wikipedia =   
 | file
 | image     = 2
 | mediawiki =   
 | template  = 2
 | help      = 2
 | category  = 2
 | portal    =   
 | book      =   
 | other
 | #default  =  
 }}

| 1 = {{#if: Pages with DOI errors||}} | 2 = {{#if: Pages with DOI errors||}} | 3 = | 4 = | 5 = | 6 = | showall = {{#if: Pages with DOI errors||}}{{#if: Pages with DOI errors||}} }}}}

       }}
     {{#if:1||{{#if:
        |doi: (inactive )
        |doi:
       }}
     }}
|isbn=ISBN [[Special:BookSources/|]]
      {{#if:1||ISBN 
      }}
|issn=ISSN [//www.worldcat.org/issn/ ]
      {{#if:1||ISSN 
      }}
|jfm=JFM [http://www.zentralblatt-math.org/zmath/en/search/?q=an:&format=complete ]
     {{#if:1||JFM 
     }}
|jstor=JSTOR [http://www.jstor.org/stable/ ]
       {{#if:1||JSTOR 
        }}
|lccn=LCCN [http://lccn.loc.gov/ ]
       {{#if:1||LCCN 
        }}
|mr=MR [http://www.ams.org/mathscinet-getitem?mr= ]
    {{#if:1||MR
    }}
|oclc=OCLC [//www.worldcat.org/oclc/ ]
      {{#if:1||OCLC 
      }}
|ol={{#if:{{#ifeq: {{ safesubst:#if:1|A}} | {{ safesubst:#if:1|}}
 | yes

}}

         |OL[http://openlibrary.org/authors/OL ]
         |{{#if:{{#ifeq: {{ safesubst:#if:1|M}} | {{ safesubst:#if:1|}}
 | yes

}}

           |OL[http://openlibrary.org/books/OL ]
           |{{#if:{{#ifeq: {{ safesubst:#if:1|W}} | {{ safesubst:#if:1|}}
 | yes

}}

             |OL[http://openlibrary.org/works/OL ]
             |
            }}
          }}
        }}{{#if:1||OL{{{1}}}}}
|osti=OSTI [http://www.osti.gov/energycitations/product.biblio.jsp?osti_id= ]
      {{#if:1||OSTI 
      }}
|pmc=PMC [//www.ncbi.nlm.nih.gov/pmc/articles/PMC/?tool=pmcentrez ]
     {{#if:1||PMC 
     }}
|pmid=PMID [//www.ncbi.nlm.nih.gov/pubmed/ ]
      {{#if:1||PMID 
      }}
|rfc=RFC [//tools.ietf.org/html/rfc ]
      {{#if:1||RFC 
      }}
|ssrn=SSRN [http://ssrn.com/abstract= ]
      {{#if:1||SSRN 
      }}
|zbl=Zbl [http://www.zentralblatt-math.org/zmath/en/search/?q=an:&format=complete ]
      {{#if:1||Zbl 
      }}

}}