Jump to content

Template:Citation/core: Difference between revisions

From IdeaWazaWiki
wikademia>Lifebaka
Undid revision 227829805 by Lifebaka (talk); yup, broke DOI
wikademia>Lifebaka
rv - needed to fix Template:Citation as well; should work now
Line 1: Line 1:
<cite  
<cite style="font-style:normal"
{{
{{
   #if:{{{Ref|}}}
   #if:{{{Ref|}}}
Line 152: Line 152:
         |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{
         |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{
           #if: {{{EditorGiven1|}}}
           #if: {{{EditorGiven1|}}}
           |, {{{EditorGiven1}}}
           |. {{{EditorGiven1}}}
         }}]]
         }}]]
         |{{{EditorSurname1}}}{{
         |{{{EditorSurname1}}}{{
           #if: {{{EditorGiven1|}}}
           #if: {{{EditorGiven1|}}}
           |, {{{EditorGiven1}}}
           |. {{{EditorGiven1}}}
         }}
         }}
       }}{{
       }}{{
Line 201: Line 201:
   |{{
   |{{
     #if:{{{Surname1|}}}{{{EditorSurname1|}}}  
     #if:{{{Surname1|}}}{{{EditorSurname1|}}}  
     |,&#32;  
     |.&#32;  
   }}{{Link
   }}{{Link
     | 1={{
     | 1={{
Line 209: Line 209:
               #if: {{{URL|}}}
               #if: {{{URL|}}}
               |{{{URL}}}
               |{{{URL}}}
<!-- Only link URL if to a free full text - as at PubMedCentral (PMC)-->
               |{{
               |{{
                 #if: {{{DOI|}}}
                 #if: {{{PMC|}}}
                 |http://dx.doi.org/{{urlencode:{{{DOI}}}}}
                 |http://www.pubmedcentral.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                  |{{
                    #if: {{{PMID|}}}
                    | http://www.ncbi.nlm.nih.gov/pubmed/{{urlencode:{{{PMID}}}}}
                  }}  
               }}
               }}
             }}  
             }}  
Line 222: Line 219:
           #if: {{{Periodical|}}}
           #if: {{{Periodical|}}}
           |''{{{IncludedWorkTitle}}}''
           |''{{{IncludedWorkTitle}}}''
           |“{{{IncludedWorkTitle}}}”
           |"{{{IncludedWorkTitle}}}"
         }}
         }}
   }}
   }}{{
#if:{{{language|}}}
  |&#32;(in {{{language}}})
}}{{#if:{{{format|}}}
  |&#32;({{{format}}})
}}
}}{{
}}{{
<!--============  Place (if different than PublicationPlace) ============-->
<!--============  Place (if different than PublicationPlace) ============-->
Line 233: Line 235:
     |{{
     |{{
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
         |, written at {{{Place}}}
         |. Written at {{{Place}}}
       }}
       }}
   }}
   }}
Line 241: Line 243:
   |{{
   |{{
     #if: {{{Surname1|}}}
     #if: {{{Surname1|}}}
     |, {{
     |. {{
         #if: {{{IncludedWorkTitle|}}}
         #if: {{{IncludedWorkTitle|}}}
         |in&#32;
         |in&#32;
Line 298: Line 300:
   |{{
   |{{
     #if: {{{Surname1|}}}{{{EditorSurname1|}}}
     #if: {{{Surname1|}}}{{{EditorSurname1|}}}
     |,&#32;
     |.&#32;
   }}{{
   }}{{
     #if: {{{Title|}}}
     #if: {{{Title|}}}
     |“{{Link
     |"{{Link
         | 1={{
         | 1={{
               #if: {{{IncludedWorkTitle|}}}
               #if: {{{IncludedWorkTitle|}}}
Line 309: Line 311:
                     #if: {{{URL|}}}
                     #if: {{{URL|}}}
                     |{{{URL}}}
                     |{{{URL}}}
                     |{{
                     |{{  
                       #if: {{{DOI|}}}
                       #if: {{{PMC|}}}  
                       |http://dx.doi.org/{{urlencode:{{{DOI}}}}}
                       | http://www.pubmedcentral.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                  |{{
                     }}  
                    #if: {{{PMID|}}}
                    | http://www.ncbi.nlm.nih.gov/pubmed/{{urlencode:{{{PMID}}}}}
                  }}  
                     }}
                   }}
                   }}
               }}
               }}
Line 322: Line 320:
                 #if: {{{URL|}}}
                 #if: {{{URL|}}}
                 |{{{URL}}}
                 |{{{URL}}}
                 |{{
                 | {{  
                    #if: {{{DOI|}}}
                      #if: {{{PMC|}}}  
                    |http://dx.doi.org/{{urlencode:{{{DOI}}}}}
                      | http://www.pubmedcentral.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                  |{{
                    }}  
                    #if: {{{PMID|}}}  
                    
                    | http://www.ncbi.nlm.nih.gov/pubmed/{{urlencode:{{{PMID}}}}}  
                  }}  
                   }}
               }}
               }}
             }}
             }}
         | 2={{{Title}}}
         | 2={{{Title}}}
       }}”,&#32;
       }}"{{
  #if:{{{language|}}}
    | &#32;(in {{{language}}})
  }}{{#if:{{{format|}}}
    |&#32;({{{format}}})
  }}.&#32;
   }}''{{{Periodical}}}''{{
   }}''{{{Periodical}}}''{{
     #if: {{{Series|}}}
     #if: {{{Series|}}}
Line 352: Line 352:
     |&#32;'''{{{Volume}}}'''{{
     |&#32;'''{{{Volume}}}'''{{
         #if: {{{Issue|}}}
         #if: {{{Issue|}}}
         |&#x00a0;({{{Issue}}})
         |({{{Issue}}})
       }}
       }}
     |{{
     |{{
         #if: {{{Issue|}}}
         #if: {{{Issue|}}}
         |&#32;(no. {{{Issue}}})
         |({{{Issue}}})
       }}
       }}
   }}{{
   }}{{
Line 367: Line 367:
     |{{
     |{{
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
         |,&#32;
         |.&#32;
       }}''{{Link
       }}''{{Link
         | 1={{
         | 1={{
Line 376: Line 376:
                     #if: {{{URL|}}}
                     #if: {{{URL|}}}
                     |{{{URL}}}
                     |{{{URL}}}
                     |{{
                     |{{  
                       #if: {{{DOI|}}}
                       #if: {{{PMC|}}}  
                       |http://dx.doi.org/{{urlencode:{{{DOI}}}}}
                       | http://www.pubmedcentral.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                  |{{
                     }}  
                    #if: {{{PMID|}}}
                    | http://www.ncbi.nlm.nih.gov/pubmed/{{urlencode:{{{PMID}}}}}
                  }}  
                     }}
                   }}
                   }}
               }}
               }}
Line 389: Line 385:
                 #if: {{{URL|}}}
                 #if: {{{URL|}}}
                 |{{{URL}}}
                 |{{{URL}}}
                 |{{
                 |{{  
                     #if: {{{DOI|}}}
                     #if: {{{PMC|}}}  
                    |http://dx.doi.org/{{urlencode:{{{DOI}}}}}
                     | http://www.pubmedcentral.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}      
                  |{{
                    #if: {{{PMID|}}}  
                     | http://www.ncbi.nlm.nih.gov/pubmed/{{urlencode:{{{PMID}}}}}
                  }}
                   }}
                   }}
               }}
               }}
Line 401: Line 393:
         | 2={{{Title}}}
         | 2={{{Title}}}
       }}''{{
       }}''{{
        #if: {{{Series|}}}
        |. {{{Series}}}
      }}{{
         #if: {{{Volume|}}}
         #if: {{{Volume|}}}
         |, vol. {{{Volume}}}
         |. '''{{{Volume}}}'''
       }}{{
       }}{{
         #if: {{{Edition|}}}
         #if: {{{Edition|}}}
         |&#32;({{{Edition}}} ed.)
         |&#32;({{{Edition}}} ed.)
      }}{{
        #if: {{{Series|}}}
        |, {{{Series}}}
       }}{{
       }}{{
         #if: {{{PublicationPlace|}}}
         #if: {{{PublicationPlace|}}}
         |, {{{PublicationPlace}}}
         |. {{{PublicationPlace}}}
       }}{{
       }}{{
         #if: {{{Publisher|}}}
         #if: {{{Publisher|}}}
Line 417: Line 409:
           #if: {{{PublicationPlace|}}}
           #if: {{{PublicationPlace|}}}
           |<nowiki>:</nowiki>
           |<nowiki>:</nowiki>
           |,
           |.
         }} {{{Publisher}}}
         }} {{{Publisher}}}
       }}
       }}
Line 427: Line 419:
   |{{
   |{{
     #if: {{{Date|}}}
     #if: {{{Date|}}}
     |, {{{Date}}}
     |. {{{Date}}}
   }}
   }}
}}{{
}}{{
Line 439: Line 431:
         |{{
         |{{
           #if: {{{Surname1|}}}
           #if: {{{Surname1|}}}
           |, {{{PublicationDate}}}
           |. {{{PublicationDate}}}
           |&#32;(published {{{PublicationDate}}})
           |&#32;(published {{{PublicationDate}}})
         }}
         }}
         |{{
         |{{
           #if: {{{Periodical|}}}
           #if: {{{Periodical|}}}
           |, {{{PublicationDate}}}
           |. {{{PublicationDate}}}
           |&#32;(published {{{PublicationDate}}})
           |&#32;(published {{{PublicationDate}}})
         }}
         }}
Line 455: Line 447:
   |{{
   |{{
     #if: {{{At|}}}
     #if: {{{At|}}}
     |, {{{At}}}
     |. {{{At}}}
   }}
   }}
}}{{
<!--===============DOI================-->
#if:{{{doi|}}}
  |. [[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|}}} }}]] }}
    | <span class="neverexpand">[http://dx.doi.org/{{urlencode:{{{doi}}}}} {{#tag:nowiki|{{{doi}}}}}]</span>
    }}
}}{{
}}{{
<!--============ Misc. Identifier ============-->
<!--============ Misc. Identifier ============-->
   #if: {{{ID|}}}
   #if: {{{ID|}}}
   |, {{{ID}}}
   |. {{{ID}}}
}}{{
}}{{
<!--============ ISBN ============-->
<!--============ ISBN ============-->
   #if: {{{ISBN|}}}
   #if: {{{ISBN|}}}
   |, ISBN {{{ISBN}}}
   |. ISBN {{{ISBN}}}
}}{{
}}{{
<!--============ ISSN ============-->
<!--============ ISSN ============-->
   #if: {{{ISSN|}}}
   #if: {{{ISSN|}}}
   |, [[International Standard Serial Number|ISSN]] [http://worldcat.org/issn/{{{ISSN}}} {{{ISSN}}}]
   |. [[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}}}]
   |. [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{OCLC}}}}} {{{OCLC}}}]
}}{{
}}{{
<!--============ PMID ============-->  
<!--============ PMID ============-->  
   #if: {{{PMID|}}}  
   #if: {{{PMID|}}}  
   |, PMID {{{PMID}}}  
   |. PMID {{{PMID}}}  
}}{{
<!--============ BIBCODE ============-->
  #if: {{{Bibcode|}}}
  |. [[Bibcode]]:&nbsp;[http://adsabs.harvard.edu/abs/{{{bibcode}}} {{{bibcode}}}]
}}{{  
}}{{  
<!--============ DOI ============-->
<!--============ DOI ============-->
Line 482: Line 485:
   |{{
   |{{
     #if: {{{URL|}}}{{{IncludedWorkURL|}}}
     #if: {{{URL|}}}{{{IncludedWorkURL|}}}
     |, [[Digital object identifier|doi]]:[http://dx.doi.org/{{urlencode:{{{DOI}}}}} {{{DOI}}}]
     |. {{doi| {{{DOI}}} }}
     |<span class="printonly">, DOI {{{DOI}}}</span>
     |<span class="printonly">, doi {{{DOI}}}</span>
   }}
   }}
}}{{
}}{{
Line 500: Line 503:
               |{{{URL}}}
               |{{{URL}}}
             }}&gt;
             }}&gt;
  }}{{
    #if: {{{AccessDate|}}}
    | .&#32;Retrieved on {{date|{{{AccessDate}}}}}
   }}
   }}
}}{{#if:{{{laysummary|}}}
  |. [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}|&nbsp;&ndash;&nbsp;''{{{laysource}}}''}}
}}{{#if:{{{laydate|}}}
  | &#32;([[{{{laydate}}}]])
}}.{{#if:{{{quote|}}}
  | &#32;"{{{quote}}}"
}}</cite><!--
}}</cite><!--



Revision as of 14:14, 25 July 2008

.