Difference between revisions of "Template:Citation/core"

From Self-sufficiency
Jump to: navigation, search
(Coins metadata fixes. Also fix Bibcode)
(per talk page request)
Line 1: Line 1:
<cite style="font-style:normal"
+
<cite style="font-style:normal" class="{{{Citation class|Journal}}}"
 
{{
 
{{
 
   #if:{{{Ref|}}}
 
   #if:{{{Ref|}}}
Line 22: Line 22:
 
   }}{{
 
   }}{{
 
     #if: {{{Surname2|}}}
 
     #if: {{{Surname2|}}}
     |{{
+
     |<nowiki>; </nowiki>{{
        #if: {{{Surname3|}}}
+
        |<nowiki>; </nowiki>
+
        |&#32;&amp;&#32;
+
      }}{{
+
 
         #if: {{{Authorlink2|}}}
 
         #if: {{{Authorlink2|}}}
 
         |[[{{{Authorlink2}}} |{{{Surname2}}}{{
 
         |[[{{{Authorlink2}}} |{{{Surname2}}}{{
Line 38: Line 34:
 
       }}{{
 
       }}{{
 
         #if: {{{Surname3|}}}
 
         #if: {{{Surname3|}}}
         |{{
+
         |<nowiki>; </nowiki>{{
          #if: {{{Surname4|}}}
+
          |<nowiki>; </nowiki>
+
          |&#32;&amp;&#32;
+
        }}{{
+
 
           #if: {{{Authorlink3|}}}
 
           #if: {{{Authorlink3|}}}
 
           |[[{{{Authorlink3}}} |{{{Surname3}}}{{
 
           |[[{{{Authorlink3}}} |{{{Surname3}}}{{
Line 54: Line 46:
 
         }}{{
 
         }}{{
 
           #if:{{{Surname4|}}}
 
           #if:{{{Surname4|}}}
           |{{
+
           |<nowiki>; </nowiki>{{
              #if: {{{Surname5|}}}
+
              |<nowiki>; </nowiki>
+
              |&#32;&amp;&#32;
+
            }}{{
+
 
               #if: {{{Authorlink4|}}}
 
               #if: {{{Authorlink4|}}}
 
               |[[{{{Authorlink4}}} |{{{Surname4}}}{{
 
               |[[{{{Authorlink4}}} |{{{Surname4}}}{{
Line 70: Line 58:
 
             }}{{
 
             }}{{
 
               #if:{{{Surname5|}}}
 
               #if:{{{Surname5|}}}
               |{{
+
               |<nowiki>; </nowiki>{{
                #if: {{{Surname6|}}}
+
                |<nowiki>; </nowiki>
+
                |&#32;&amp;&#32;
+
              }}{{
+
 
                 #if: {{{Authorlink5|}}}
 
                 #if: {{{Authorlink5|}}}
 
                 |[[{{{Authorlink5}}} |{{{Surname5}}}{{
 
                 |[[{{{Authorlink5}}} |{{{Surname5}}}{{
Line 86: Line 70:
 
               }}{{
 
               }}{{
 
                 #if:{{{Surname6|}}}
 
                 #if:{{{Surname6|}}}
                 |{{
+
                 |<nowiki>; </nowiki>{{
                    #if: {{{Surname7|}}}
+
                    |<nowiki>; </nowiki>
+
                    |&#32;&amp;&#32;
+
                  }}{{
+
 
                     #if: {{{Authorlink6|}}}
 
                     #if: {{{Authorlink6|}}}
 
                     |[[{{{Authorlink6}}} |{{{Surname6}}}{{
 
                     |[[{{{Authorlink6}}} |{{{Surname6}}}{{
Line 102: Line 82:
 
                   }}{{
 
                   }}{{
 
                     #if:{{{Surname7|}}}
 
                     #if:{{{Surname7|}}}
                     |{{
+
                     |<nowiki>; </nowiki>{{
                      #if: {{{Surname8|}}}
+
                      |<nowiki>; </nowiki>
+
                      |&#32;&amp;&#32;
+
                    }}{{
+
 
                       #if: {{{Authorlink7|}}}
 
                       #if: {{{Authorlink7|}}}
 
                       |[[{{{Authorlink7}}} |{{{Surname7}}}{{
 
                       |[[{{{Authorlink7}}} |{{{Surname7}}}{{
Line 118: Line 94:
 
                     }}{{
 
                     }}{{
 
                       #if:{{{Surname8|}}}
 
                       #if:{{{Surname8|}}}
                       |{{
+
                       |<nowiki>; </nowiki>{{
                          #if: {{{Surname9|}}}
+
                          |<nowiki>; </nowiki>
+
                          |&#32;&amp;&#32;
+
                        }}{{
+
 
                           #if: {{{Authorlink8|}}}
 
                           #if: {{{Authorlink8|}}}
 
                           |[[{{{Authorlink8}}} |{{{Surname8}}}{{
 
                           |[[{{{Authorlink8}}} |{{{Surname8}}}{{
Line 163: Line 135:
 
           #if: {{{EditorSurname3|}}}
 
           #if: {{{EditorSurname3|}}}
 
           |<nowiki>; </nowiki>
 
           |<nowiki>; </nowiki>
           |&#32;&amp;&#32;
+
           |;
 
         }}{{
 
         }}{{
 
           #if: {{{Editorlink2|}}}
 
           #if: {{{Editorlink2|}}}
Line 201: Line 173:
 
   |{{
 
   |{{
 
     #if:{{{Surname1|}}}{{{EditorSurname1|}}}  
 
     #if:{{{Surname1|}}}{{{EditorSurname1|}}}  
     |,&#32;  
+
     |{{{Sep|,}}}&#32;  
 
   }}{{Link
 
   }}{{Link
 
     | 1={{
 
     | 1={{
Line 235: Line 207:
 
     |{{
 
     |{{
 
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
 
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
         |, written at {{{Place}}}
+
         |{{{Sep|,}}} written at {{{Place}}}
 
       }}
 
       }}
 
   }}
 
   }}
Line 243: Line 215:
 
   |{{
 
   |{{
 
     #if: {{{Surname1|}}}
 
     #if: {{{Surname1|}}}
     |, {{
+
     |{{{Sep|,}}} {{
 
         #if: {{{IncludedWorkTitle|}}}
 
         #if: {{{IncludedWorkTitle|}}}
 
         |in&#32;
 
         |in&#32;
Line 261: Line 233:
 
           #if: {{{EditorSurname3|}}}
 
           #if: {{{EditorSurname3|}}}
 
           |<nowiki>; </nowiki>
 
           |<nowiki>; </nowiki>
           |&#32;&amp;&#32;
+
           |;
 
         }}{{
 
         }}{{
 
           #if: {{{Editorlink2|}}}
 
           #if: {{{Editorlink2|}}}
Line 292: Line 264:
 
         #if: {{{IncludedWorkTitle|}}}
 
         #if: {{{IncludedWorkTitle|}}}
 
         |
 
         |
         |, ed{{#if:{{{EditorSurname2|}}}|s}}.
+
         |{{{Sep|,}}} ed{{#if:{{{EditorSurname2|}}}|s}}.
 
       }}
 
       }}
 
   }}
 
   }}
Line 336: Line 308:
 
   }}''{{{Periodical}}}''{{
 
   }}''{{{Periodical}}}''{{
 
     #if: {{{Series|}}}
 
     #if: {{{Series|}}}
     |, {{{Series}}}
+
     |{{{Sep|,}}} {{{Series}}}
 
   }}{{
 
   }}{{
 
     #if: {{{PublicationPlace|}}}
 
     #if: {{{PublicationPlace|}}}
Line 394: Line 366:
 
       }}''{{
 
       }}''{{
 
         #if: {{{Series|}}}
 
         #if: {{{Series|}}}
         |, {{{Series}}}
+
         |{{{Sep|,}}} {{{Series}}}
 
       }}{{
 
       }}{{
 
         #if: {{{Volume|}}}
 
         #if: {{{Volume|}}}
         |, '''{{{Volume}}}'''
+
         |{{{Sep|,}}} '''{{{Volume}}}'''
 
       }}{{
 
       }}{{
 
         #if: {{{Edition|}}}
 
         #if: {{{Edition|}}}
Line 403: Line 375:
 
       }}{{
 
       }}{{
 
         #if: {{{PublicationPlace|}}}
 
         #if: {{{PublicationPlace|}}}
         |, {{{PublicationPlace}}}
+
         |{{{Sep|,}}} {{{PublicationPlace}}}
 
       }}{{
 
       }}{{
 
         #if: {{{Publisher|}}}
 
         #if: {{{Publisher|}}}
Line 419: Line 391:
 
   |{{
 
   |{{
 
     #if: {{{Date|}}}
 
     #if: {{{Date|}}}
     |, {{{Date}}}
+
     |{{{Sep|,}}} {{{Date}}}
 
   }}
 
   }}
 
}}{{
 
}}{{
Line 431: Line 403:
 
         |{{
 
         |{{
 
           #if: {{{Surname1|}}}
 
           #if: {{{Surname1|}}}
           |, {{{PublicationDate}}}
+
           |{{{Sep|,}}} {{{PublicationDate}}}
 
           |&#32;(published {{{PublicationDate}}})
 
           |&#32;(published {{{PublicationDate}}})
 
         }}
 
         }}
 
         |{{
 
         |{{
 
           #if: {{{Periodical|}}}
 
           #if: {{{Periodical|}}}
           |, {{{PublicationDate}}}
+
           |{{{Sep|,}}} {{{PublicationDate}}}
 
           |&#32;(published {{{PublicationDate}}})
 
           |&#32;(published {{{PublicationDate}}})
 
         }}
 
         }}
Line 447: Line 419:
 
   |{{
 
   |{{
 
     #if: {{{At|}}}
 
     #if: {{{At|}}}
     |, {{{At}}}
+
     |{{{Sep|,}}} {{{At}}}
 
   }}
 
   }}
 
}}{{
 
}}{{
 
<!--===============DOI================-->
 
<!--===============DOI================-->
 
#if:{{{doi|}}}  
 
#if:{{{doi|}}}  
   |, [[Digital object identifier|doi]]:{{#if: {{{doi_brokendate|}}}  
+
   |{{{Sep|,}}} [[Digital object identifier|doi]]:{{#if: {{{doi_brokendate|}}}  
 
     | {{#tag:nowiki|{{{doi}}}}} (inactive [[{{{doi_brokendate|}}}]]) {{#ifeq: {{NAMESPACE}} | {{ns:0}} | [[Category:Pages with DOIs broken since {{#time: Y | {{{doi_brokendate|}}} }}]] }}
 
     | {{#tag:nowiki|{{{doi}}}}} (inactive [[{{{doi_brokendate|}}}]]) {{#ifeq: {{NAMESPACE}} | {{ns:0}} | [[Category:Pages with DOIs broken since {{#time: Y | {{{doi_brokendate|}}} }}]] }}
 
     | <span class="neverexpand">[http://dx.doi.org/{{urlencode:{{{doi}}}}} {{#tag:nowiki|{{{doi}}}}}]</span>
 
     | <span class="neverexpand">[http://dx.doi.org/{{urlencode:{{{doi}}}}} {{#tag:nowiki|{{{doi}}}}}]</span>
Line 459: Line 431:
 
<!--============ Misc. Identifier ============-->
 
<!--============ Misc. Identifier ============-->
 
   #if: {{{ID|}}}
 
   #if: {{{ID|}}}
   |, {{{ID}}}
+
   |{{{Sep|,}}} {{{ID}}}
 
}}{{
 
}}{{
 
<!--============ ISBN ============-->
 
<!--============ ISBN ============-->
 
   #if: {{{ISBN|}}}
 
   #if: {{{ISBN|}}}
   |, ISBN {{{ISBN}}}
+
   |{{{Sep|,}}} ISBN {{{ISBN}}}
 
}}{{
 
}}{{
 
<!--============ ISSN ============-->
 
<!--============ ISSN ============-->
 
   #if: {{{ISSN|}}}
 
   #if: {{{ISSN|}}}
   |, [[International Standard Serial Number|ISSN]] [http://worldcat.org/issn/{{{ISSN}}} {{{ISSN}}}]
+
   |{{{Sep|,}}} [[International Standard Serial Number|ISSN]] [http://worldcat.org/issn/{{{ISSN}}} {{{ISSN}}}]
 
}}{{
 
}}{{
 
<!--============ OCLC ============-->
 
<!--============ OCLC ============-->
 
   #if: {{{OCLC|}}}
 
   #if: {{{OCLC|}}}
   |, [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{OCLC}}}}} {{{OCLC}}}]
+
   |{{{Sep|,}}} [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{OCLC}}}}} {{{OCLC}}}]
 
}}{{
 
}}{{
 
<!--============ PMID ============-->  
 
<!--============ PMID ============-->  
 
   #if: {{{PMID|}}}  
 
   #if: {{{PMID|}}}  
   |, PMID {{{PMID}}}  
+
   |{{{Sep|,}}} PMID {{{PMID}}}  
 
}}{{  
 
}}{{  
 
<!--============ BIBCODE ============-->  
 
<!--============ BIBCODE ============-->  
 
   #if: {{{Bibcode|}}}  
 
   #if: {{{Bibcode|}}}  
   |, [[Bibcode]]:&nbsp;[http://adsabs.harvard.edu/abs/{{{Bibcode}}} {{{Bibcode}}}]
+
   |{{{Sep|,}}} [[Bibcode]]:&nbsp;[http://adsabs.harvard.edu/abs/{{{Bibcode}}} {{{Bibcode}}}]
 
}}{{  
 
}}{{  
 
<!--============ DOI ============-->
 
<!--============ DOI ============-->
Line 485: Line 457:
 
   |{{
 
   |{{
 
     #if: {{{URL|}}}{{{IncludedWorkURL|}}}
 
     #if: {{{URL|}}}{{{IncludedWorkURL|}}}
     |, {{doi| {{{DOI}}} }}
+
     |{{{Sep|,}}} {{doi| {{{DOI}}} }}
 
     |<span class="printonly">, doi {{{DOI}}}</span>
 
     |<span class="printonly">, doi {{{DOI}}}</span>
 
   }}
 
   }}
Line 498: Line 470:
 
                                       |{{{URL}}}
 
                                       |{{{URL}}}
 
                                     }}&gt;</span>
 
                                     }}&gt;</span>
     |, &lt;{{
+
     |{{{Sep|,}}} &lt;{{
 
               #if: {{{IncludedWorkURL|}}}
 
               #if: {{{IncludedWorkURL|}}}
 
               |{{{IncludedWorkURL}}}
 
               |{{{IncludedWorkURL}}}
Line 505: Line 477:
 
   }}{{
 
   }}{{
 
     #if: {{{AccessDate|}}}
 
     #if: {{{AccessDate|}}}
     | .&#32;Retrieved on {{date|{{{AccessDate}}}}}
+
     | .<span class="reference-accessdate">&#32;Retrieved on {{date|{{{AccessDate}}}}}.</span>
 
     }}
 
     }}
 
}}{{#if:{{{laysummary|}}}  
 
}}{{#if:{{{laysummary|}}}  
   |, [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}|&nbsp;&ndash;&nbsp;''{{{laysource}}}''}}
+
   |{{{Sep|,}}} [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}|&nbsp;&ndash;&nbsp;''{{{laysource}}}''}}
 
}}{{#if:{{{laydate|}}}
 
}}{{#if:{{{laydate|}}}
 
   | &#32;([[{{{laydate}}}]])
 
   | &#32;([[{{{laydate}}}]])
 
}}{{#if:{{{quote|}}}
 
}}{{#if:{{{quote|}}}
   |, &#32;"{{{quote}}}"
+
   |{{{Sep|,}}} &#32;"{{{quote}}}"
}}</cite><!--
+
}}{{{PS|}}}</cite><!--
  
 
This is a COinS tag (http://ocoins.info), which allows automated tools to parse the citation information:
 
This is a COinS tag (http://ocoins.info), which allows automated tools to parse the citation information:

Revision as of 05:55, 26 October 2008