Difference between revisions of "Template:Citation/core"

From Self-sufficiency
Jump to: navigation, search
(ISBN linked automatically by mediawiki software; this template should be uniform with standard ISBN display.)
(change as per talk on Template_talk:Citation#Identifier_overhaul)
Line 536: Line 536:
 
<!--===============DOI================-->
 
<!--===============DOI================-->
 
#if:{{{DOI|}}}
 
#if:{{{DOI|}}}
   |{{{Sep|,}}}&#32;[[Digital object identifier|doi]]:{{#if: {{{DoiBroken|}}}
+
   |{{{Sep|,}}}&#32;{{citation/identifier |identifier=doi |input1={{{DOI|}}} |input2={{{DoiBroken|}}} }}
    | {{#tag:nowiki|{{{DOI}}}}} (inactive {{{DoiBroken|}}}) {{#ifeq: {{NAMESPACE}} | {{ns:0}} | [[Category:Pages with DOIs broken since {{#time: Y | {{{DoiBroken|}}} }}]] }}
+
    | <span class="neverexpand">[http://dx.doi.org/{{urlencode:{{{DOI}}}}} {{#tag:nowiki|{{{DOI}}}}}]</span>
+
    }}
+
 
}}{{
 
}}{{
<!--============ Misc. Identifier ============-->
+
<!--============ Misc. Identifier ============-->
 
   #if: {{{ID|}}}
 
   #if: {{{ID|}}}
 
   |{{
 
   |{{
Line 549: Line 546:
 
   }}
 
   }}
 
}}{{
 
}}{{
<!--============ ISBN ============-->
+
<!--============ ISBN ============-->
 
   #if: {{{ISBN|}}}
 
   #if: {{{ISBN|}}}
   |{{{Sep|,}}}&#32;ISBN {{{ISBN}}}
+
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=isbn |input1={{{ISBN|}}} }}
 
}}{{
 
}}{{
<!--============ ISSN ============-->
+
<!--============ ISSN ============-->
 
   #if: {{{ISSN|}}}
 
   #if: {{{ISSN|}}}
   |{{{Sep|,}}}&#32;[[International Standard Serial Number|ISSN]] [http://worldcat.org/issn/{{{ISSN}}} {{{ISSN}}}]
+
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=issn |input1={{{ISSN|}}} }}
 
}}{{
 
}}{{
<!--============ OCLC ============-->
+
<!--============ OCLC ============-->
 
   #if: {{{OCLC|}}}
 
   #if: {{{OCLC|}}}
   |{{{Sep|,}}}&#32;[[Online Computer Library Center|OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{OCLC}}}}} {{{OCLC}}}]
+
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=oclc |input1={{{OCLC|}}} }}
 
}}{{
 
}}{{
<!--============ PMID ============-->
+
<!--============ PMID ============-->
 
   #if: {{{PMID|}}}
 
   #if: {{{PMID|}}}
   |{{{Sep|,}}}&#32;[[PubMed Identifier|PMID]] [http://www.ncbi.nlm.nih.gov/pubmed/{{{PMID}}} {{{PMID}}}]
+
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=pmid |input1={{{PMID|}}} }}
 
}}{{
 
}}{{
<!--============ PMC ============-->
+
<!--============ PMC ============-->
 
   #if: {{{PMC|}}}
 
   #if: {{{PMC|}}}
 
   |{{
 
   |{{
 
     #if: {{{URL|}}}
 
     #if: {{{URL|}}}
     |{{{Sep|,}}}&#32;[[PubMed Central|PMC]] [http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}} {{{PMC}}}]
+
     |{{{Sep|,}}}&&#32;{{citation/identifier  |identifier=pmc |input1={{{PMC|}}} }}
 +
    |{{only in  print|{{{Sep|,}}}&#32;{{citation/identifier  |identifier=pmc |input1={{{PMC|}}} }} }}<!--Should  only display by default in print-->
 
   }}
 
   }}
 
}}{{
 
}}{{
 
<!--============ BIBCODE ============-->
 
<!--============ BIBCODE ============-->
 
   #if: {{{Bibcode|}}}
 
   #if: {{{Bibcode|}}}
   |{{{Sep|,}}}&#32;[[Bibcode]]:&nbsp;[http://adsabs.harvard.edu/abs/{{{Bibcode}}} {{{Bibcode}}}]
+
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=bibcode |input1={{{Bibcode|}}} }}
 
}}{{
 
}}{{
<!--============ Archive data, etc ===========-->
+
<!--============ Archive data, etc ===========-->
 
#if: {{{Archive|}}}
 
#if: {{{Archive|}}}
 
|{{{Sep|,}}}&#32;{{{Archive}}}[[Category:Pages using deprecated citation archive parameters]]
 
|{{{Sep|,}}}&#32;{{{Archive}}}[[Category:Pages using deprecated citation archive parameters]]

Revision as of 20:49, 6 March 2010