Difference between revisions of "Template:Citation/core"

From Self-sufficiency
Jump to: navigation, search
(Don't automatically link PMCs whilst they are under embargo if told not to)
m (1 revision: Digital circuits (Import from Wikipedia))
 
(26 intermediate revisions by 15 users not shown)
Line 1: Line 1:
<span class="citation {{{Citation class|}}}"
+
<span class="citation {{{Citation class|{{{Citation type|}}}}}}"
 
{{
 
{{
 
   #switch:{{{Ref|}}}
 
   #switch:{{{Ref|}}}
Line 34: Line 34:
 
     #if: {{{Surname2|}}}
 
     #if: {{{Surname2|}}}
 
     |{{#ifexpr:{{{Trunc|8}}}<2
 
     |{{#ifexpr:{{{Trunc|8}}}<2
       |&#32;''et al''.
+
       |&#32;et al.
 
       |{{
 
       |{{
 
           #iferror: {{ #expr: 1*0.0{{{AuthorMask|}}} }}
 
           #iferror: {{ #expr: 1*0.0{{{AuthorMask|}}} }}
Line 56: Line 56:
 
           #if: {{{Surname3|}}}
 
           #if: {{{Surname3|}}}
 
           |{{#ifexpr:{{{Trunc|8}}}<3
 
           |{{#ifexpr:{{{Trunc|8}}}<3
             |&#32;''et al''.
+
             |&#32;et al.
 
             |{{
 
             |{{
 
               #if: {{{Surname4|}}}
 
               #if: {{{Surname4|}}}
Line 74: Line 74:
 
               #if:{{{Surname4|}}}
 
               #if:{{{Surname4|}}}
 
               |{{#ifexpr:{{{Trunc|8}}}<4
 
               |{{#ifexpr:{{{Trunc|8}}}<4
                 |&#32;''et al''.
+
                 |&#32;et al.
 
                 |{{
 
                 |{{
 
                     #if: {{{Surname5|}}}
 
                     #if: {{{Surname5|}}}
Line 92: Line 92:
 
                   #if:{{{Surname5|}}}
 
                   #if:{{{Surname5|}}}
 
                   |{{#ifexpr:{{{Trunc|8}}}<5
 
                   |{{#ifexpr:{{{Trunc|8}}}<5
                     |&#32;''et al''.
+
                     |&#32;et al.
 
                     |{{
 
                     |{{
 
                     #if: {{{Surname6|}}}
 
                     #if: {{{Surname6|}}}
Line 110: Line 110:
 
                     #if:{{{Surname6|}}}
 
                     #if:{{{Surname6|}}}
 
                     |{{#ifexpr:{{{Trunc|8}}}<6
 
                     |{{#ifexpr:{{{Trunc|8}}}<6
                     |&#32;''et al''.
+
                     |&#32;et al.
 
                       |{{
 
                       |{{
 
                         #if: {{{Surname7|}}}
 
                         #if: {{{Surname7|}}}
Line 128: Line 128:
 
                         #if:{{{Surname7|}}}
 
                         #if:{{{Surname7|}}}
 
                         |{{#ifexpr:{{{Trunc|8}}}<7
 
                         |{{#ifexpr:{{{Trunc|8}}}<7
                           |&#32;''et al''.
+
                           |&#32;et al.
 
                         |{{
 
                         |{{
 
                           #if: {{{Surname8|}}}
 
                           #if: {{{Surname8|}}}
Line 146: Line 146:
 
                                       #if:{{{Surname8|}}}
 
                                       #if:{{{Surname8|}}}
 
                                       |{{#ifexpr:{{{Trunc|8}}}<8
 
                                       |{{#ifexpr:{{{Trunc|8}}}<8
                                           |&#32;''et al''.
+
                                           |&#32;et al.
 
                                           |{{
 
                                           |{{
 
                                               #if: {{{Surname9|}}}
 
                                               #if: {{{Surname9|}}}
Line 163: Line 163:
 
                                             }}{{
 
                                             }}{{
 
                                               #if:{{{Surname9|}}}
 
                                               #if:{{{Surname9|}}}
                                               |&#32;''et al''.
+
                                               |&#32;et al.
 
                                             }}
 
                                             }}
 
                                         }}
 
                                         }}
Line 171: Line 171:
 
                             }}
 
                             }}
 
                           }}
 
                           }}
                       }}                  
+
                       }}
 
                     }}
 
                     }}
 
                   }}
 
                   }}
Line 178: Line 178:
 
         }}
 
         }}
 
       }}
 
       }}
    
+
 
 +
   }}{{
 +
    #if: {{{Coauthors|}}}
 +
    |{{{AuthorSep|&#059;&#32;}}}{{{Coauthors|}}}|
 
   }}{{
 
   }}{{
 
     #if: {{{Date|}}}
 
     #if: {{{Date|}}}
Line 245: Line 248:
 
}}{{
 
}}{{
 
<!--============  Title of included work  ============-->
 
<!--============  Title of included work  ============-->
   #if: {{{IncludedWorkTitle|}}}
+
   #if: {{{IncludedWorkTitle|}}}{{#if:{{{Periodical|}}}||{{#if:{{{TransItalic|}}}||{{{TransTitle|}}}}}}}
  {{
+
    #if:{{{Periodical|}}}||{{#if:{{{TransItalic|}}}||{{{TransTitle|}}}}}
+
  }}
+
 
   |{{
 
   |{{
     #if:{{{Surname1|}}}{{{EditorSurname1|}}}  
+
     #if:{{{Surname1|}}}{{{EditorSurname1|}}}
     |{{{Sep|,}}}&#32;  
+
     |{{{Sep|,}}}&#32;
   }}{{#if:{{{Periodical|}}}||"}}{{Citation/make link
+
   }}{{Citation/make link
 
     | 1={{
 
     | 1={{
 
           #if: {{{IncludedWorkURL|}}}
 
           #if: {{{IncludedWorkURL|}}}
Line 259: Line 259:
 
               #if: {{{URL|}}}
 
               #if: {{{URL|}}}
 
               |{{{URL}}}
 
               |{{{URL}}}
<!-- Only link URL if to a free full text - as at PubMedCentral (PMC)-->
 
              |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }}
 
                |{{
 
                  #if: {{{PMC|}}}
 
                  |http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
 
                }}
 
              }}
 
 
             }}
 
             }}
 
         }}
 
         }}
 
     | 2={{
 
     | 2={{
 
           #if: {{{Periodical|}}}
 
           #if: {{{Periodical|}}}
           |''{{{IncludedWorkTitle}}}''
+
           |''<nowiki />{{{IncludedWorkTitle}}}<nowiki />''
           |{{{IncludedWorkTitle|}}}{{
+
           |"{{{IncludedWorkTitle|}}}{{
        #if: {{{TransTitle|}}}
+
            #if: {{{TransTitle|}}}
        |{{#if: {{{IncludedWorkTitle|}}}|&#32;}}&#91;{{{TransTitle}}}&#93;}}
+
            |{{
 +
                #if: {{{IncludedWorkTitle|}}}
 +
                |&#32;
 +
              }}&#91;{{{TransTitle}}}&#93;
 +
          }}"
 
         }}
 
         }}
   }}{{#if:{{{Periodical|}}}||"}}
+
   }}
 
}}{{
 
}}{{
 
<!--============  Place (if different than PublicationPlace) ============-->
 
<!--============  Place (if different than PublicationPlace) ============-->
Line 283: Line 280:
 
     |
 
     |
 
     |{{
 
     |{{
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
+
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}
         |{{{Sep|,}}} written at {{{Place}}}
+
         |{{{Sep|,}}}&#32;written at {{{Place}}}
 
       }}
 
       }}
 
   }}
 
   }}
Line 292: Line 289:
 
   |{{
 
   |{{
 
     #if: {{{Surname1|}}}
 
     #if: {{{Surname1|}}}
     |{{{Sep|,}}} {{
+
     |{{{Sep|,}}}&#32;{{
 
         #if: {{{IncludedWorkTitle|}}}
 
         #if: {{{IncludedWorkTitle|}}}
         |in&#32;
+
         |{{#ifeq:{{{Sep|,}}}|.|I|i}}n&#32;
 
       }}{{
 
       }}{{
 
         #if: {{{Editorlink1|}}}
 
         #if: {{{Editorlink1|}}}
Line 344: Line 341:
 
         #if: {{{IncludedWorkTitle|}}}
 
         #if: {{{IncludedWorkTitle|}}}
 
         |
 
         |
         |{{{Sep|,}}} ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}
+
         |{{{Sep|,}}}&#32;ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}
 
       }}
 
       }}
 
   }}
 
   }}
Line 351: Line 348:
 
   #if: {{{Periodical|}}}
 
   #if: {{{Periodical|}}}
 
   |{{
 
   |{{
     #if: {{{Other|}}}  
+
     #if: {{{Other|}}}
     |{{{Sep|,}}} {{{Other|}}}
+
     |{{{Sep|,}}}&#32;{{{Other|}}}
 
   }}{{
 
   }}{{
     #if: {{{Surname1|}}}{{{EditorSurname1|}}}
+
     #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}
 
     |{{{Sep|,}}}&#32;}}{{
 
     |{{{Sep|,}}}&#32;}}{{
 
     #if: {{{Title|}}}{{{TransTitle|}}}
 
     #if: {{{Title|}}}{{{TransTitle|}}}
     |"{{Citation/make link
+
     |{{Citation/make link
 
         | 1={{
 
         | 1={{
 
               #if: {{{IncludedWorkTitle|}}}
 
               #if: {{{IncludedWorkTitle|}}}
Line 365: Line 362:
 
                     #if: {{{URL|}}}
 
                     #if: {{{URL|}}}
 
                     |{{{URL}}}
 
                     |{{{URL}}}
                    |{{
 
                      #ifexpr: {{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }} | {{
 
                        #if: {{{PMC|}}}
 
                        |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
 
                      }}
 
                    }}
 
 
                   }}
 
                   }}
 
               }}
 
               }}
Line 376: Line 367:
 
                 #if: {{{URL|}}}
 
                 #if: {{{URL|}}}
 
                 |{{{URL}}}
 
                 |{{{URL}}}
                |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }} |{{
 
                      #if: {{{PMC|}}}
 
                      |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
 
                    }}
 
                }}
 
 
               }}
 
               }}
 
             }}
 
             }}
         | 2={{{Title}}}{{
+
         | 2="{{{Title}}}{{
        #if: {{{TransTitle|}}}
+
          #if: {{{TransTitle|}}}
        |{{#if: {{{Title|}}}|&#32;}}&#91;{{{TransTitle}}}&#93;}}
+
          |{{
       }}"{{
+
            #if: {{{Title|}}}
 +
            |&#32;
 +
          }}&#91;{{{TransTitle}}}&#93;
 +
        }}"
 +
       }}{{
 
         #if: {{{TitleNote|}}}
 
         #if: {{{TitleNote|}}}
 
         |{{{Sep|,}}}&#32;{{{TitleNote}}}
 
         |{{{Sep|,}}}&#32;{{{TitleNote}}}
      }}
 
  }}
 
}}{{
 
#if:{{{language|}}}
 
  | &#32;(in {{{language}}})
 
}}{{#if:{{{format|}}}
 
  |&#32;({{{format}}})
 
}}{{
 
  #if: {{{Periodical|}}}|{{
 
      #if:{{{IncludedWorkTitle|}}}{{{Title|}}}{{{TransTitle|}}}|{{{Sep|,}}}&#32;}}''{{{Periodical}}}''{{
 
    #if: {{{Series|}}}
 
    |{{{Sep|,}}} {{{Series}}}
 
  }}{{
 
    #if: {{{PublicationPlace|}}}
 
    |{{
 
        #if: {{{Publisher|}}}
 
        |&#32;({{{PublicationPlace}}}<nowiki>: </nowiki>{{{Publisher}}})
 
        |&#32;({{{PublicationPlace}}})
 
 
       }}
 
       }}
    |{{
 
        #if: {{{Publisher|}}}
 
        |&#32;({{{Publisher}}})
 
      }}
 
  }}{{
 
    #if: {{{Volume|}}}
 
    |&#32;'''{{{Volume}}}'''{{
 
        #if: {{{Issue|}}}
 
        |&#32;({{{Issue}}})
 
      }}
 
    |{{
 
        #if: {{{Issue|}}}
 
        |&#32;({{{Issue}}})
 
      }}
 
  }}{{
 
    #if: {{{At|}}}
 
    |<nowiki>: </nowiki> {{{At}}}
 
 
   }}
 
   }}
   |{{
+
}}{{
    <!--============ Anything else with a title, including books ============-->
+
   #if: {{{language|}}}
    #if: {{{Title|}}}{{{TransItalic|}}}
+
  |&#32;(in {{{language}}})
    |{{
+
}}{{
        #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
+
  #if: {{{format|}}}
        |{{{Sep|,}}}&#32;|&#32;
+
  |&#32;({{{format}}})
      }}''<nowiki></nowiki>{{Citation/make link
+
}}{{
        | 1={{
+
  #if: {{{Periodical|}}}
              #if: {{{IncludedWorkTitle|}}}
+
  |{{
              |{{
+
      #if:{{{IncludedWorkTitle|}}}{{{Title|}}}{{{TransTitle|}}}
                #if: {{{IncludedWorkURL|}}}
+
      |{{{Sep|,}}}&#32;
                |{{
+
    }}''<nowiki />{{{Periodical}}}<nowiki />''{{
                    #if: {{{URL|}}}
+
      #if: {{{Series|}}}
                    |{{{URL}}}
+
      |{{{Sep|,}}}&#32;{{{Series}}}
                    |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }}|{{  
+
    }}{{
                      #if: {{{PMC|}}}  
+
      #if: {{{PublicationPlace|}}}
                      | http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
+
      |{{
                    }}}}
+
        #if: {{{Publisher|}}}
                  }}
+
        |&#32;({{{PublicationPlace}}}<nowiki>: </nowiki>{{{Publisher}}})
              }}
+
        |&#32;({{{PublicationPlace}}})
              |{{
+
      }}
                #if: {{{URL|}}}
+
      |{{
                |{{{URL}}}
+
        #if: {{{Publisher|}}}
                              |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }}|{{  
+
        |&#32;({{{Publisher}}})
                    #if: {{{PMC|}}}  
+
      }}
                    | http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}      
+
    }}{{
                   }}}}
+
      #if: {{{Volume|}}}
               }}
+
      |&#32;'''<nowiki />{{{Volume}}}<nowiki />'''{{
            }}
+
        #if: {{{Issue|}}}
        | 2={{{Title|}}}{{
+
        |&#32;({{{Issue}}})
        #if:{{{TransItalic|}}}|&#32;&#91;{{{TransItalic}}}&#93;}}
+
      }}
      }}<nowiki></nowiki>''}}{{
+
      |{{
        #if: {{{Series|}}}
+
        #if: {{{Issue|}}}
        |{{{Sep|,}}} {{{Series}}}
+
        |&#32;({{{Issue}}})
      }}{{
+
      }}
        #if: {{{Volume|}}}
+
    }}{{
        |{{{Sep|,}}} '''{{{Volume}}}'''
+
      #if: {{{At|}}}
      }}{{
+
      |<nowiki>: </nowiki> {{{At}}}
        #if: {{{Other|}}}  
+
    }}
        |{{{Sep|,}}} {{{Other|}}}
+
  |{{
      }}{{
+
      <!--============ Anything else with a title, including books ============-->
        #if: {{{Edition|}}}
+
      #if: {{{Title|}}}{{{TransItalic|}}}
        |&#32;({{{Edition}}} ed.)
+
      |{{
      }}{{
+
        #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
        #if: {{{PublicationPlace|}}}
+
        |{{{Sep|,}}}
        |{{{Sep|,}}} {{{PublicationPlace}}}
+
      }}&#32;{{Citation/make link
      }}{{
+
        | 1={{
        #if: {{{Publisher|}}}
+
              #if: {{{IncludedWorkTitle|}}}
        |{{
+
              |{{
          #if: {{{PublicationPlace|}}}
+
                  #if: {{{IncludedWorkURL|}}}
          |<nowiki>:</nowiki>
+
                   |{{
          |{{{Sep|,}}}
+
                    #if: {{{URL|}}}
        }} {{{Publisher}}}
+
                    |{{{URL}}}
      }}
+
                  }}
  }}{{
+
                }}
 +
               |{{
 +
                  #if: {{{URL|}}}
 +
                  |{{{URL}}}
 +
                }}
 +
            }}
 +
        | 2=''<nowiki />{{{Title|}}}{{
 +
            #if:{{{TransItalic|}}}|&#32;&#91;{{{TransItalic}}}&#93;
 +
          }}<nowiki />''
 +
      }}
 +
    }}{{
 +
      #if: {{{TitleType|}}}
 +
      |&#32;({{{TitleType}}})
 +
    }}{{
 +
      #if: {{{Series|}}}
 +
      |{{{Sep|,}}}&#32;{{{Series}}}
 +
    }}{{
 +
      #if: {{{Volume|}}}
 +
      |{{{Sep|,}}}&#32;'''<nowiki />{{{Volume}}}<nowiki />'''
 +
    }}{{
 +
      #if: {{{Other|}}}
 +
      |{{{Sep|,}}}&#32;{{{Other|}}}
 +
    }}{{
 +
      #if: {{{Edition|}}}
 +
      |&#32;({{{Edition}}} ed.)
 +
    }}{{
 +
      #if: {{{PublicationPlace|}}}
 +
      |{{{Sep|,}}}&#32;{{{PublicationPlace}}}
 +
    }}{{
 +
      #if: {{{Publisher|}}}
 +
      |{{
 +
        #if: {{{PublicationPlace|}}}
 +
        |<nowiki>:</nowiki>
 +
        |{{{Sep|,}}}
 +
      }}&#32;{{{Publisher}}}
 +
    }}
 +
}}{{
 
<!--============ Date (if no author/editor) ============-->
 
<!--============ Date (if no author/editor) ============-->
 
   #if: {{{Surname1|}}}{{{EditorSurname1|}}}
 
   #if: {{{Surname1|}}}{{{EditorSurname1|}}}
Line 486: Line 477:
 
   |{{
 
   |{{
 
     #if: {{{Date|}}}
 
     #if: {{{Date|}}}
     |{{{Sep|,}}} {{{Date}}}{{
+
     |{{{Sep|,}}}&#32;{{{Date}}}{{
 
       #if:{{{YearNote|}}}
 
       #if:{{{YearNote|}}}
 
     |&#32;[{{{YearNote}}}]
 
     |&#32;[{{{YearNote}}}]
Line 501: Line 492:
 
         |{{
 
         |{{
 
           #if: {{{Surname1|}}}
 
           #if: {{{Surname1|}}}
           |{{{Sep|,}}} {{{PublicationDate}}}
+
           |{{{Sep|,}}}&#32;{{{PublicationDate}}}
 
           |&#32;(published {{{PublicationDate}}})
 
           |&#32;(published {{{PublicationDate}}})
 
         }}
 
         }}
 
         |{{
 
         |{{
 
           #if: {{{Periodical|}}}
 
           #if: {{{Periodical|}}}
           |{{{Sep|,}}} {{{PublicationDate}}}
+
           |{{{Sep|,}}}&#32;{{{PublicationDate}}}
 
           |&#32;(published {{{PublicationDate}}})
 
           |&#32;(published {{{PublicationDate}}})
 
         }}
 
         }}
Line 517: Line 508:
 
   |{{
 
   |{{
 
     #if: {{{At|}}}
 
     #if: {{{At|}}}
     |{{{Sep|,}}} {{{At}}}
+
     |{{{Sep|,}}}&#32;{{{At}}}
 
   }}
 
   }}
 
}}{{
 
}}{{
<!--===============DOI================-->
+
<!--============ arXiv ==============-->
#if:{{{DOI|}}}  
+
  #if: {{{ARXIV|}}}
   |{{{Sep|,}}} [[Digital object identifier|doi]]:{{#if: {{{DoiBroken|}}}
+
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=arxiv |input1={{{ARXIV|}}} }}
    | {{#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 ============-->
+
<!--============ ASIN ===============-->
   #if: {{{ID|}}}
+
   #if: {{{ASIN|}}}
   |{{{Sep|,}}} {{{ID}}}
+
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=asin |input1={{{ASIN|}}} }}
 
}}{{
 
}}{{
<!--============ ISBN ============-->
+
<!--============ BIBCODE ============-->
 +
  #if: {{{BIBCODE|}}}
 +
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=bibcode |input1={{{BIBCODE|}}} }}
 +
}}{{
 +
<!--============ DOI ================-->
 +
#if:{{{DOI|}}}
 +
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=doi |input1={{{DOI|}}}  |input2={{{DoiBroken|}}} }}
 +
}}{{
 +
<!--============ ISBN ===============-->
 
   #if: {{{ISBN|}}}
 
   #if: {{{ISBN|}}}
   |{{{Sep|,}}} ISBN {{{ISBN}}}
+
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=isbn |input1={{{ISBN|}}} }}
 
}}{{
 
}}{{
<!--============ ISSN ============-->
+
<!--============ ISSN ===============-->
 
   #if: {{{ISSN|}}}
 
   #if: {{{ISSN|}}}
   |{{{Sep|,}}} [[International Standard Serial Number|ISSN]] [http://worldcat.org/issn/{{{ISSN}}} {{{ISSN}}}]
+
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=issn |input1={{{ISSN|}}} }}
 
}}{{
 
}}{{
<!--============ OCLC ============-->
+
<!--============ JFM ================-->
 +
  #if: {{{JFM|}}}
 +
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=jfm |input1={{{JFM|}}} }}
 +
}}{{
 +
<!--============ JSTOR ==============-->
 +
  #if: {{{JSTOR|}}}
 +
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=jstor |input1={{{JSTOR|}}} }}
 +
}}{{
 +
<!--============ LCCN ===============-->
 +
  #if: {{{LCCN|}}}
 +
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=lccn |input1={{{LCCN|}}} }}
 +
}}{{
 +
<!--============ MR =================-->
 +
  #if: {{{MR|}}}
 +
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=mr |input1={{{MR|}}} }}
 +
}}{{
 +
<!--============ OCLC ===============-->
 
   #if: {{{OCLC|}}}
 
   #if: {{{OCLC|}}}
   |{{{Sep|,}}} [[Online Computer Library Center|OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{OCLC}}}}} {{{OCLC}}}]
+
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=oclc |input1={{{OCLC|}}} }}
 
}}{{
 
}}{{
<!--============ PMID ============-->
+
<!--============ OL =================-->
  #if: {{{PMID|}}}
+
   #if: {{{OL|}}}
  |{{{Sep|,}}} PMID {{{PMID}}}
+
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=ol |input1={{{OL|}}} }}
}}{{
+
<!--============ PMC ============-->  
+
   #if: {{{PMC|}}}  
+
   |{{#if: {{{URL|}}}
+
    |{{{Sep|,}}} [[PubMed Central|PMC]]: [http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}} {{{PMC}}}]
+
  }}
+
}}{{
+
<!--============ BIBCODE ============-->
+
  #if: {{{Bibcode|}}}
+
  |{{{Sep|,}}} [[Bibcode]]:&nbsp;[http://adsabs.harvard.edu/abs/{{{Bibcode}}} {{{Bibcode}}}]
+
 
}}{{
 
}}{{
<!--============ Archive data, etc ===========-->
+
<!--============ OSTI ===============-->
   #if: {{{Archive|}}}
+
   #if: {{{OSTI|}}}
   |{{{Sep|,}}} {{{Archive}}}
+
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=osti |input1={{{OSTI|}}} }}
  |{{
+
}}{{
    #if:{{{OriginalURL|}}}
+
<!--============ PMC ================-->
    |{{{Sep|,}}} {{#ifeq:{{{Sep}}}|.|A|a}}rchived from {{Citation/make link|{{{OriginalURL}}}|the original}}{{
+
  #if: {{{PMC|}}}
      #if:{{{ArchiveDate|}}}
+
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=pmc |input1={{{PMC|}}} }}
      |&#32;on {{{ArchiveDate}}}
+
}}{{
      |. {{citation error|You must specify the date the archive was made using the <code><nowiki>|archivedate=</nowiki></code> parameter}}  
+
<!--============ PMID ===============-->
 +
  #if: {{{PMID|}}}
 +
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=pmid |input1={{{PMID|}}} }}
 +
}}{{
 +
<!--============ RFC ================-->
 +
  #if: {{{RFC|}}}
 +
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=rfc|input1={{{RFC|}}} }}
 +
}}{{
 +
<!--============ SSRN ================-->
 +
  #if: {{{SSRN|}}}
 +
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=ssrn |input1={{{SSRN|}}} }}
 +
}}{{
 +
<!--============ ZBL ================-->
 +
  #if: {{{ZBL|}}}
 +
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=zbl |input1={{{ZBL|}}} }}
 +
}}{{
 +
<!--============  Misc. Identifier ============-->
 +
  #if: {{{ID|}}}
 +
  |{{{Sep|,}}}&#32;{{{ID}}}
 +
}}{{
 +
<!--============  Archive data, etc ===========-->
 +
#if: {{{Archive|}}}
 +
|{{{Sep|,}}}&#32;{{{Archive}}}[[Category:Pages using deprecated citation archive parameters]]
 +
|{{
 +
  #if:{{{ArchiveURL|}}}{{{ArchiveDate|}}}
 +
  | {{{Sep|,}}}&#32;{{#ifeq: {{{DeadURL|}}} | no
 +
    | {{#if:{{{ArchiveURL|}}}
 +
      |{{Citation/make link|{{{ArchiveURL|}}}|{{#ifeq:{{{Sep}}}|.|A|a}}rchived}}&#32;from the original
 +
      |{{#ifeq:{{{Sep}}}|.|A|a}}rchived
 
       }}
 
       }}
     |{{#if:{{{ArchiveDate|}}}|{{{Sep|,}}} {{#ifeq:{{{Sep}}}|.|A|a}}rchived on {{{ArchiveDate}}}; {{citation error|no <code><nowiki>|url=</nowiki></code> specified}}}}
+
     | {{#ifeq:{{{Sep}}}|.|A|a}}rchived{{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}
  }}
+
      |{{#if:{{{ArchiveURL|}}}|&#32;from {{Citation/make link|{{{OriginalURL|{{{IncludedWorkURL|}}}}}}|the original}}}}
}}{{  
+
      }}
 +
    }}{{#if:{{{ArchiveDate|}}}|&#32;on {{{ArchiveDate}}}}}{{
 +
    #if:{{#if:{{{ArchiveURL|}}}||A}}{{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}||B}}{{#if:{{{ArchiveDate|}}}||C}}
 +
    |. {{citation error|nocat={{{template doc demo|}}}
 +
      |If you specify <code>&#124;{{#if:{{{ArchiveURL|}}}|archiveurl|archivedate}}&#61;</code>{{#ifeq:{{{DeadURL|}}}|no|{{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}||&#32;and <code>&#124;deadurl&#61;no</code>}}}}, you must {{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}| also specify <code>&#124;{{#if:{{{ArchiveURL|}}}|archivedate|archiveurl}}&#61;</code>| {{#ifeq:{{{DeadURL|}}}|no|also|first}} specify <code>&#124;url&#61;</code>}}}}
 +
    }}
 +
  }}
 +
}}{{
 
<!--============ URL and AccessDate ============-->
 
<!--============ URL and AccessDate ============-->
   #if: {{{URL|{{{IncludedWorkURL|}}}}}}
+
   #if: {{{URL|}}}{{{IncludedWorkURL|}}}{{#ifeq:{{{DeadURL|}}}|no|{{{ArchiveURL|}}}|}}
 
   |{{
 
   |{{
 
     #if: {{{Title|}}}{{{IncludedWorkTitle|}}}{{{TransTitle|}}}
 
     #if: {{{Title|}}}{{{IncludedWorkTitle|}}}{{{TransTitle|}}}
     |<span class="printonly">{{{Sep|,}}} {{
+
     |<span class="printonly">{{{Sep|,}}}&#32;{{
 
                                       #if: {{{IncludedWorkURL|}}}
 
                                       #if: {{{IncludedWorkURL|}}}
 
                                       |{{{IncludedWorkURL}}}
 
                                       |{{{IncludedWorkURL}}}
 
                                       |{{{URL}}}
 
                                       |{{{URL}}}
 
                                     }}</span>
 
                                     }}</span>
     |{{{Sep|,}}} {{
+
     |{{{Sep|,}}}&#32;{{
 
               #if: {{{IncludedWorkURL|}}}
 
               #if: {{{IncludedWorkURL|}}}
 
               |{{{IncludedWorkURL}}}
 
               |{{{IncludedWorkURL}}}
Line 588: Line 625:
 
     | <span class="reference-accessdate">{{#ifeq:{{{Sep|,}}}|,|,&#32;r|.&#32;R}}etrieved {{{AccessDate}}}</span>
 
     | <span class="reference-accessdate">{{#ifeq:{{{Sep|,}}}|,|,&#32;r|.&#32;R}}etrieved {{{AccessDate}}}</span>
 
     }}
 
     }}
}}{{#if:{{{laysummary|}}}  
+
}}{{#if:{{{laysummary|}}}
   |{{{Sep|,}}} [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}|&nbsp;&ndash;&nbsp;''{{{laysource}}}''}}
+
   |{{{Sep|,}}}&#32;[{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}|&nbsp;&ndash;&nbsp;''<nowiki />{{{laysource}}}<nowiki />''}}
 
}}{{#if:{{{laydate|}}}
 
}}{{#if:{{{laydate|}}}
 
   | &#32;({{{laydate}}})
 
   | &#32;({{{laydate}}})
 
}}{{#if:{{{quote|}}}
 
}}{{#if:{{{quote|}}}
   |{{{Sep|,}}} &#32;"{{{quote}}}"
+
   |{{{Sep|,}}}&#32;"{{{quote}}}"
 
}}{{{PS|}}}</span><!--
 
}}{{{PS|}}}</span><!--
  
Line 651: Line 688:
 
       #if: {{{Date|}}} |&rft.date={{urlencode:{{{Date}}}}}
 
       #if: {{{Date|}}} |&rft.date={{urlencode:{{{Date}}}}}
 
     }}{{
 
     }}{{
       #if: {{{Series|}}} |&rft.series={{urlencode:{{{Series}}}}}  
+
       #if: {{{Series|}}} |&rft.series={{urlencode:{{{Series}}}}}
 
     }}{{
 
     }}{{
 
       #if: {{{Volume|}}} |&rft.volume={{urlencode:{{{Volume}}}}}
 
       #if: {{{Volume|}}} |&rft.volume={{urlencode:{{{Volume}}}}}
Line 661: Line 698:
 
       #if: {{{Edition|}}} |&rft.edition={{urlencode:{{{Edition}}}}}
 
       #if: {{{Edition|}}} |&rft.edition={{urlencode:{{{Edition}}}}}
 
     }}{{
 
     }}{{
       #if: {{{PublicationPlace|}}} |&rft.place={{urlencode:{{{PublicationPlace}}}}}
+
       #if: {{{PublicationPlace|}}}{{{Place|}}} |&rft.place={{urlencode:{{{PublicationPlace|{{{Place}}}}}}}}
 
     }}{{
 
     }}{{
 
       #if: {{{Publisher|}}} |&rft.pub={{urlencode:{{{Publisher}}}}}
 
       #if: {{{Publisher|}}} |&rft.pub={{urlencode:{{{Publisher}}}}}
 
     }}{{
 
     }}{{
       #if: {{{DOI|}}} |&rft_id=info:doi/{{urlencode:{{{DOI}}}}}
+
       #if: {{{ARXIV|}}} |&rft_id=info:arxiv/{{urlencode:{{{ARXIV}}}}}
 
     }}{{
 
     }}{{
       #if: {{{PMID|}}} |&rft_id=info:pmid/{{urlencode:{{{PMID}}}}}
+
       #if: {{{ASIN|}}} |&rft_id=info:asin/{{urlencode:{{{ASIN}}}}}
 
     }}{{
 
     }}{{
       #if: {{{Bibcode|}}} |&rft_id=info:bibcode/{{urlencode:{{{Bibcode}}}}}
+
       #if: {{{BIBCODE|}}} |&rft_id=info:bibcode/{{urlencode:{{{BIBCODE}}}}}
 
     }}{{
 
     }}{{
       #if: {{{OCLC|}}} |&rft_id=info:oclcnum/{{urlencode:{{{OCLC}}}}}
+
       #if: {{{DOI|}}} |&rft_id=info:doi/{{urlencode:{{{DOI}}}}}
 
     }}{{
 
     }}{{
 
       #if: {{{ISBN|}}} |&rft.isbn={{urlencode:{{{ISBN}}}}}
 
       #if: {{{ISBN|}}} |&rft.isbn={{urlencode:{{{ISBN}}}}}
Line 677: Line 714:
 
       #if: {{{ISSN|}}} |&rft.issn={{urlencode:{{{ISSN}}}}}
 
       #if: {{{ISSN|}}} |&rft.issn={{urlencode:{{{ISSN}}}}}
 
     }}{{
 
     }}{{
       #if: {{{URL|{{{IncludedWorkURL|}}}}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}}
+
       #if: {{{JFM|}}} |&rft.jfm={{urlencode:{{{JFM}}}}}
     }}&rfr_id=info:sid/en.wikipedia.org:{{FULLPAGENAMEE}}"><span style="display: none;">&nbsp;</span></span><noinclude>{{documentation}}</noinclude>
+
    }}{{
 +
      #if: {{{JSTOR|}}} |&rft.jstor={{urlencode:{{{JSTOR}}}}}
 +
    }}{{
 +
      #if: {{{LCCN|}}} |&rft.lccn={{urlencode:{{{LCCN}}}}}
 +
    }}{{
 +
      #if: {{{OCLC|}}} |&rft_id=info:oclcnum/{{urlencode:{{{OCLC}}}}}
 +
    }}{{
 +
      #if: {{{OL|}}} |&rft_id=info:olnum/{{urlencode:{{{OL}}}}}
 +
    }}{{
 +
      #if: {{{OSTI|}}} |&rft_id=info:osti/{{urlencode:{{{OSTI}}}}}
 +
    }}{{
 +
      #if: {{{MR|}}} |&rft.mr={{urlencode:{{{MR}}}}}
 +
    }}{{
 +
      #if: {{{PMC|}}} |&rft_id=info:pmc/{{urlencode:{{{PMC}}}}}
 +
    }}{{
 +
      #if: {{{PMID|}}} |&rft_id=info:pmid/{{urlencode:{{{PMID}}}}}
 +
    }}{{
 +
      #if: {{{RFC|}}} |&rft_id=info:rfc/{{urlencode:{{{RFC}}}}}
 +
    }}{{
 +
      #if: {{{SSRN|}}} |&rft_id=info:ssrn/{{urlencode:{{{SSRN}}}}}
 +
    }}{{
 +
      #if: {{{ZBL|}}} |&rft_id=info:zbl/{{urlencode:{{{ZBL}}}}}
 +
    }}{{
 +
      #if: {{{URL|}}}{{{IncludedWorkURL|}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}}
 +
     }}&rfr_id=info:sid/en.wikipedia.org:{{FULLPAGENAMEE}}"><span style="display: none;">&nbsp;</span></span><noinclude>
 +
{{Documentation}}
 +
</noinclude>

Latest revision as of 18:11, 9 December 2011