Jump to content

Template:Citation/core: Difference between revisions

From IdeaWazaWiki
wikademia>Lifebaka
change per EP on Template talk:Citation
wikademia>Lifebaka
Undid revision 227829805 by Lifebaka (talk); yup, broke DOI
Line 1: Line 1:
<cite style="font-style:normal"
<cite  
{{
{{
   #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: {{{PMC|}}}
                 #if: {{{DOI|}}}
                 |http://www.pubmedcentral.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                 |http://dx.doi.org/{{urlencode:{{{DOI}}}}}
                  |{{
                    #if: {{{PMID|}}}
                    | http://www.ncbi.nlm.nih.gov/pubmed/{{urlencode:{{{PMID}}}}}
                  }}  
               }}
               }}
             }}  
             }}  
Line 219: Line 222:
           #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 235: Line 233:
     |{{
     |{{
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
         |. Written at {{{Place}}}
         |, written at {{{Place}}}
       }}
       }}
   }}
   }}
Line 243: Line 241:
   |{{
   |{{
     #if: {{{Surname1|}}}
     #if: {{{Surname1|}}}
     |. {{
     |, {{
         #if: {{{IncludedWorkTitle|}}}
         #if: {{{IncludedWorkTitle|}}}
         |in&#32;
         |in&#32;
Line 300: Line 298:
   |{{
   |{{
     #if: {{{Surname1|}}}{{{EditorSurname1|}}}
     #if: {{{Surname1|}}}{{{EditorSurname1|}}}
     |.&#32;
     |,&#32;
   }}{{
   }}{{
     #if: {{{Title|}}}
     #if: {{{Title|}}}
     |"{{Link
     |“{{Link
         | 1={{
         | 1={{
               #if: {{{IncludedWorkTitle|}}}
               #if: {{{IncludedWorkTitle|}}}
Line 311: Line 309:
                     #if: {{{URL|}}}
                     #if: {{{URL|}}}
                     |{{{URL}}}
                     |{{{URL}}}
                     |{{  
                     |{{
                       #if: {{{PMC|}}}  
                       #if: {{{DOI|}}}
                       | http://www.pubmedcentral.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                       |http://dx.doi.org/{{urlencode:{{{DOI}}}}}
                     }}  
                  |{{
                    #if: {{{PMID|}}}
                    | http://www.ncbi.nlm.nih.gov/pubmed/{{urlencode:{{{PMID}}}}}
                  }}  
                     }}
                   }}
                   }}
               }}
               }}
Line 320: Line 322:
                 #if: {{{URL|}}}
                 #if: {{{URL|}}}
                 |{{{URL}}}
                 |{{{URL}}}
                 | {{  
                 |{{
                      #if: {{{PMC|}}}  
                    #if: {{{DOI|}}}
                      | http://www.pubmedcentral.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                    |http://dx.doi.org/{{urlencode:{{{DOI}}}}}
                    }}  
                  |{{
                    
                    #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|}}}
         |({{{Issue}}})
         |&#x00a0;({{{Issue}}})
       }}
       }}
     |{{
     |{{
         #if: {{{Issue|}}}
         #if: {{{Issue|}}}
         |({{{Issue}}})
         |&#32;(no. {{{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: {{{PMC|}}}  
                       #if: {{{DOI|}}}
                       | http://www.pubmedcentral.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                       |http://dx.doi.org/{{urlencode:{{{DOI}}}}}
                     }}  
                  |{{
                    #if: {{{PMID|}}}
                    | http://www.ncbi.nlm.nih.gov/pubmed/{{urlencode:{{{PMID}}}}}
                  }}  
                     }}
                   }}
                   }}
               }}
               }}
Line 385: Line 389:
                 #if: {{{URL|}}}
                 #if: {{{URL|}}}
                 |{{{URL}}}
                 |{{{URL}}}
                 |{{  
                 |{{
                     #if: {{{PMC|}}}  
                     #if: {{{DOI|}}}
                     | http://www.pubmedcentral.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}      
                    |http://dx.doi.org/{{urlencode:{{{DOI}}}}}
                  |{{
                    #if: {{{PMID|}}}  
                     | http://www.ncbi.nlm.nih.gov/pubmed/{{urlencode:{{{PMID}}}}}
                  }}
                   }}
                   }}
               }}
               }}
Line 393: Line 401:
         | 2={{{Title}}}
         | 2={{{Title}}}
       }}''{{
       }}''{{
        #if: {{{Series|}}}
        |. {{{Series}}}
      }}{{
         #if: {{{Volume|}}}
         #if: {{{Volume|}}}
         |. '''{{{Volume}}}'''
         |, vol. {{{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 409: Line 417:
           #if: {{{PublicationPlace|}}}
           #if: {{{PublicationPlace|}}}
           |<nowiki>:</nowiki>
           |<nowiki>:</nowiki>
           |.
           |,
         }} {{{Publisher}}}
         }} {{{Publisher}}}
       }}
       }}
Line 419: Line 427:
   |{{
   |{{
     #if: {{{Date|}}}
     #if: {{{Date|}}}
     |. {{{Date}}}
     |, {{{Date}}}
   }}
   }}
}}{{
}}{{
Line 431: Line 439:
         |{{
         |{{
           #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 447: Line 455:
   |{{
   |{{
     #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 485: Line 482:
   |{{
   |{{
     #if: {{{URL|}}}{{{IncludedWorkURL|}}}
     #if: {{{URL|}}}{{{IncludedWorkURL|}}}
     |. {{doi| {{{DOI}}} }}
     |, [[Digital object identifier|doi]]:[http://dx.doi.org/{{urlencode:{{{DOI}}}}} {{{DOI}}}]
     |<span class="printonly">, doi {{{DOI}}}</span>
     |<span class="printonly">, DOI {{{DOI}}}</span>
   }}
   }}
}}{{
}}{{
Line 503: Line 500:
               |{{{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:06, 25 July 2008