Difference between revisions of "Template:Citation/core"

From Self-sufficiency
Jump to: navigation, search
(Created page with '<span class="citation {{{Citation class|{{{Citation type|}}}}}}" {{ #switch:{{{Ref|}}} ||none = |#default = id="{{anchorencode:{{{Ref}}}}}" |harv = {{#if:{{{Surname1|}}}{…')
 
m (1 revision: Digital circuits (Import from Wikipedia))
 
(21 intermediate revisions by 13 users not shown)
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}}}
 
                }}
 
              }}
 
 
             }}
 
             }}
 
         }}
 
         }}
Line 271: Line 264:
 
           #if: {{{Periodical|}}}
 
           #if: {{{Periodical|}}}
 
           |''<nowiki />{{{IncludedWorkTitle}}}<nowiki />''
 
           |''<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 284: Line 281:
 
     |{{
 
     |{{
 
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}
 
         #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|}}}  
+
   #if: {{{language|}}}
 
   |&#32;(in {{{language}}})
 
   |&#32;(in {{{language}}})
}}{{#if: {{{format|}}}
+
}}{{
 +
  #if: {{{format|}}}
 
   |&#32;({{{format}}})
 
   |&#32;({{{format}}})
 
}}{{
 
}}{{
   #if: {{{Periodical|}}}|{{
+
   #if: {{{Periodical|}}}
       #if:{{{IncludedWorkTitle|}}}{{{Title|}}}{{{TransTitle|}}}|{{{Sep|,}}}&#32;}}''<nowiki />{{{Periodical}}}<nowiki />''{{
+
  |{{
 +
       #if:{{{IncludedWorkTitle|}}}{{{Title|}}}{{{TransTitle|}}}
 +
      |{{{Sep|,}}}&#32;
 +
    }}''<nowiki />{{{Periodical}}}<nowiki />''{{
 
       #if: {{{Series|}}}
 
       #if: {{{Series|}}}
       |{{{Sep|,}}} {{{Series}}}
+
       |{{{Sep|,}}}&#32;{{{Series}}}
 
     }}{{
 
     }}{{
 
       #if: {{{PublicationPlace|}}}
 
       #if: {{{PublicationPlace|}}}
Line 431: Line 425:
 
       |{{
 
       |{{
 
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
 
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
         |{{{Sep|,}}}&#32;|&#32;
+
         |{{{Sep|,}}}
      }}{{Citation/make link
+
      }}&#32;{{Citation/make link
 
         | 1={{
 
         | 1={{
 
               #if: {{{IncludedWorkTitle|}}}
 
               #if: {{{IncludedWorkTitle|}}}
Line 440: Line 434:
 
                     #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 449: Line 439:
 
                   #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=''<nowiki />{{{Title|}}}{{
 
         | 2=''<nowiki />{{{Title|}}}{{
 
             #if:{{{TransItalic|}}}|&#32;&#91;{{{TransItalic}}}&#93;
 
             #if:{{{TransItalic|}}}|&#32;&#91;{{{TransItalic}}}&#93;
           }}<nowiki />''}}}}{{
+
           }}<nowiki />''
 +
      }}
 +
    }}{{
 +
      #if: {{{TitleType|}}}
 +
      |&#32;({{{TitleType}}})
 +
    }}{{
 
       #if: {{{Series|}}}
 
       #if: {{{Series|}}}
       |{{{Sep|,}}} {{{Series}}}
+
       |{{{Sep|,}}}&#32;{{{Series}}}
 
     }}{{
 
     }}{{
 
       #if: {{{Volume|}}}
 
       #if: {{{Volume|}}}
       |{{{Sep|,}}} '''<nowiki />{{{Volume}}}<nowiki />'''
+
       |{{{Sep|,}}}&#32;'''<nowiki />{{{Volume}}}<nowiki />'''
 
     }}{{
 
     }}{{
       #if: {{{Other|}}}  
+
       #if: {{{Other|}}}
       |{{{Sep|,}}} {{{Other|}}}
+
       |{{{Sep|,}}}&#32;{{{Other|}}}
 
     }}{{
 
     }}{{
 
       #if: {{{Edition|}}}
 
       #if: {{{Edition|}}}
Line 471: Line 462:
 
     }}{{
 
     }}{{
 
       #if: {{{PublicationPlace|}}}
 
       #if: {{{PublicationPlace|}}}
       |{{{Sep|,}}} {{{PublicationPlace}}}
+
       |{{{Sep|,}}}&#32;{{{PublicationPlace}}}
 
     }}{{
 
     }}{{
 
       #if: {{{Publisher|}}}
 
       #if: {{{Publisher|}}}
Line 478: Line 469:
 
         |<nowiki>:</nowiki>
 
         |<nowiki>:</nowiki>
 
         |{{{Sep|,}}}
 
         |{{{Sep|,}}}
       }} {{{Publisher}}}
+
       }}&#32;{{{Publisher}}}
 
     }}
 
     }}
 
}}{{
 
}}{{
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|,}}}&#32;{{citation/identifier  |identifier=asin |input1={{{ASIN|}}} }}
    #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}{{{Title|}}}{{{TransItalic|}}}
+
    |{{{Sep|,}}} {{{ID}}}
+
    |{{{ID}}}
+
  }}
+
 
}}{{
 
}}{{
<!--============ 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|,}}} [[International Standard Book Number|ISBN]] [[Special:BookSources/{{{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|,}}} [[PubMed Identifier|PMID]] [http://www.ncbi.nlm.nih.gov/pubmed/{{{PMID}}} {{{PMID}}}]
+
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=ol |input1={{{OL|}}} }}
 
}}{{
 
}}{{
<!--============ PMC ============-->  
+
<!--============ OSTI ===============-->
   #if: {{{PMC|}}}  
+
   #if: {{{OSTI|}}}
   |{{#if: {{{URL|}}}
+
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=osti |input1={{{OSTI|}}} }}
    |{{{Sep|,}}} [[PubMed Central|PMC]] [http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}} {{{PMC}}}]
+
  }}
+
 
}}{{
 
}}{{
<!--============ BIBCODE ============-->  
+
<!--============ PMC ================-->
   #if: {{{Bibcode|}}}  
+
   #if: {{{PMC|}}}
   |{{{Sep|,}}} [[Bibcode]]:&nbsp;[http://adsabs.harvard.edu/abs/{{{Bibcode}}} {{{Bibcode}}}]
+
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=pmc |input1={{{PMC|}}} }}
 +
}}{{
 +
<!--============ 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 ===========-->
+
<!--============ Archive data, etc ===========-->
 
#if: {{{Archive|}}}
 
#if: {{{Archive|}}}
|{{{Sep|,}}} {{{Archive}}}[[Category:Pages using deprecated citation archive parameters]]
+
|{{{Sep|,}}}&#32;{{{Archive}}}[[Category:Pages using deprecated citation archive parameters]]
 
|{{
 
|{{
 
   #if:{{{ArchiveURL|}}}{{{ArchiveDate|}}}
 
   #if:{{{ArchiveURL|}}}{{{ArchiveDate|}}}
   |{{{Sep|,}}} {{#ifeq:{{{Sep}}}|.|A|a}}rchived{{
+
   | {{{Sep|,}}}&#32;{{#ifeq: {{{DeadURL|}}} | no
     #if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}
+
    | {{#if:{{{ArchiveURL|}}}
    |{{#if:{{{ArchiveURL|}}}|&#32;from {{Citation/make link|{{{OriginalURL|{{{IncludedWorkURL|}}}}}}|the original}}}}
+
      |{{Citation/make link|{{{ArchiveURL|}}}|{{#ifeq:{{{Sep}}}|.|A|a}}rchived}}&#32;from the original
     }}{{
+
      |{{#ifeq:{{{Sep}}}|.|A|a}}rchived
    #if:{{{ArchiveDate|}}}
+
      }}
    |&#32;on {{{ArchiveDate}}}
+
     | {{#ifeq:{{{Sep}}}|.|A|a}}rchived{{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}
    }}{{
+
      |{{#if:{{{ArchiveURL|}}}|&#32;from {{Citation/make link|{{{OriginalURL|{{{IncludedWorkURL|}}}}}}|the original}}}}
    #if:{{#if:{{{ArchiveURL|}}}||A}}{{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}||B}}{{#if:{{{ArchiveDate|}}}||C}}
+
      }}
    |. {{citation error
+
     }}{{#if:{{{ArchiveDate|}}}|&#32;on {{{ArchiveDate}}}}}{{
       |If you specify <code>&#124;{{#if:{{{ArchiveURL|}}}|archiveurl|archivedate}}&#61;</code>, you must {{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}| also specify <code>&#124;{{#if:{{{ArchiveURL|}}}|archivedate|archiveurl}}&#61;</code>|first specify <code>&#124;url&#61;</code>}}}}
+
    #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 597: 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;''<nowiki />{{{laysource}}}<nowiki />''}}
+
   |{{{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 660: 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 670: 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}}}}}
 
     }}{{
 
     }}{{
 
       #if: {{{ISSN|}}} |&rft.issn={{urlencode:{{{ISSN}}}}}
 
       #if: {{{ISSN|}}} |&rft.issn={{urlencode:{{{ISSN}}}}}
 +
    }}{{
 +
      #if: {{{JFM|}}} |&rft.jfm={{urlencode:{{{JFM}}}}}
 +
    }}{{
 +
      #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|}}}}}}}}
 
       #if: {{{URL|}}}{{{IncludedWorkURL|}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}}
     }}&rfr_id=info:sid/en.wikipedia.org:{{FULLPAGENAMEE}}"><span style="display: none;">&nbsp;</span></span>
+
     }}&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