Template:Citation/identifier

From 2012.igem.org

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

|arxiv=arXiv:
       {{#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 
         {{#if:1||Bibcode 
         }}
|doi={{#ifeq:|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||{{#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 
     {{#if:1||JFM 
     }}
|jstor=JSTOR 
       {{#if:1||JSTOR 
        }}
|lccn=LCCN 
       {{#if:1||LCCN 
        }}
|mr=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[1]
         |{{#if:{{#ifeq: {{ safesubst:#if:1|M}} | {{ safesubst:#if:1|}}
 | yes

}}

           |OL[2]
           |{{#if:{{#ifeq: {{ safesubst:#if:1|W}} | {{ safesubst:#if:1|}}
 | yes

}}

             |OL[3]
             |
            }}
          }}
        }}{{#if:1||OL{{{1}}}}}
|osti=OSTI 
      {{#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 
      {{#if:1||SSRN 
      }}
|zbl=Zbl 
      {{#if:1||Zbl 
      }}

}}