Difference between revisions of "Template:Citation/Sandbox"

From Chevy Wiki
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision)
 
Line 1: Line 1:
<cite style="font-style:normal" class="{{{Citation class|Journal}}}"
{{
{{
   #if:{{{Ref|}}}
   #if: {{{inventor-surname|{{{inventor1-surname|{{{inventor-last|{{{inventor1-last|{{{inventor|}}}}}}}}}}}}}}}
  |{{#ifeq:{{{Ref|}}}|none||id="{{anchorencode:{{{Ref|}}}}}"}}
<!--
  |id="CITEREF{{anchorencode:{{#if:{{{Surname1|}}}
    CITATIONS FOR PATENTS
    |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
-->
    |{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}
|{{Citation/patent
  }}{{{Year|{{{Date|}}}}}}}}"
|Surname1 = {{{inventor-surname|{{{inventor1-surname|{{{inventor-last|{{{inventor1-last|{{{inventor}}}}}}}}}}}}}}}
}}>{{
|Surname2={{{inventor2-surname|{{{inventor2-last|{{{inventor2|}}}}}}}}}
<!--============  Author or editor and date  ============-->
|Surname3={{{inventor3-surname|{{{inventor3-last|{{{inventor3|}}}}}}}}}
  #if:{{{Surname1|}}}
|Surname4={{{inventor4-surname|{{{inventor4-last|{{{inventor4|}}}}}}}}}
  |{{
|Given1 = {{{inventor-given|{{{inventor1-given|{{{inventor-first|{{{inventor1-first|}}}}}}}}}}}}
    #if: {{{Authorlink1|}}}
|Given2={{{inventor2-given|{{{inventor2-first|}}}}}}
    |[[{{{Authorlink1}}} |{{{Surname1}}}{{
|Given3={{{inventor3-given|{{{inventor3-first|}}}}}}
        #if: {{{Given1|}}}
|Given4={{{inventor4-given|{{{inventor4-first|}}}}}}
        |, {{{Given1}}}
|Inventorlink1={{{inventorlink1|{{{inventorlink|}}}}}}
      }}]]
|Inventorlink2={{{inventorlink2|}}}
    |{{{Surname1}}}{{
|Inventorlink3={{{inventorlink3|}}}
        #if: {{{Given1|}}}
|Inventorlink4={{{inventorlink4|}}}
        |, {{{Given1}}}
|Title={{{title|}}}
      }}
|CountryCode={{{country-code}}}
  }}{{
|PublicationNumber={{{publication-number|{{{patent-number}}}}}}
    #if: {{{Surname2|}}}
|Description={{{description|}}}
    |{{
|PublicationDate={{{publication-date|}}}
        #if: {{{Surname3|}}}
|IssueDate={{{issue-date|}}}
        |<nowiki>; </nowiki>
|Year={{{year}}}
        |{{#if:{{{amp|}}}|&#32;&amp;&#32;|<nowiki>; </nowiki>}}
}}<!--
      }}{{
    CITATIONS FOR THINGS LIKE BOOKS AND PERIODICALS
        #if: {{{Authorlink2|}}}
-->
        |[[{{{Authorlink2}}} |{{{Surname2}}}{{
|{{Citation/core
          #if: {{{Given2|}}}
  |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{{author|}}}}}}}}}}}}}}}}}}}}}}}}
          |, {{{Given2}}}
  |Surname2 = {{{last2|{{{surname2|{{{author2|{{{coauthor|{{{coauthors|}}}}}}}}}}}}}}}
        }}]]
  |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
        |{{{Surname2}}}{{
  |Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}}
          #if: {{{Given2|}}}
  |Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}}
          |, {{{Given2}}}
  |Surname6 = {{{last6|{{{surname6|{{{author6|}}}}}}}}}
        }}
  |Surname7 = {{{last7|{{{surname7|{{{author7|}}}}}}}}}
      }}{{
  |Surname8 = {{{last8|{{{surname8|{{{author8|}}}}}}}}}
        #if: {{{Surname3|}}}
  |Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}}
        |{{
  |Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}}
          #if: {{{Surname4|}}}
  |Given2 = {{{first2|{{{given2|}}}}}}
          |<nowiki>; </nowiki>
  |Given3 = {{{first3|{{{given3|}}}}}}
          |{{#if:{{{amp|}}}|&#32;&amp;&#32;|<nowiki>; </nowiki>}}
  |Given4 = {{{first4|{{{given4|}}}}}}
        }}{{
  |Given5 = {{{first5|{{{given5|}}}}}}
          #if: {{{Authorlink3|}}}
  |Given6 = {{{first6|{{{given6|}}}}}}
          |[[{{{Authorlink3}}} |{{{Surname3}}}{{
  |Given7 = {{{first7|{{{given7|}}}}}}
              #if: {{{Given3|}}}
  |Given8 = {{{first8|{{{given8|}}}}}}
              |, {{{Given3}}}
  |Given9 = {{{first9|{{{given9|}}}}}}
            }}]]
  |Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}
          |{{{Surname3}}}{{
  |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}}
              #if: {{{Given3|}}}
  |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}}
              |, {{{Given3}}}
  |Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}}
            }}
  |Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}}
        }}{{
  |Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}}
          #if:{{{Surname4|}}}
  |Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}}
          |{{
  |Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}}
              #if: {{{Surname5|}}}
  |Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}}
              |<nowiki>; </nowiki>
  |Year={{{year|{{   <!-- attempt to derive year from date, if possible -->
              |{{#if:{{{amp|}}}|&#32;&amp;&#32;|<nowiki>; </nowiki>}}
            #if: {{{date|}}}
            }}{{
            |{{
              #if: {{{Authorlink4|}}}
                #iferror:{{#time:Y|{{{date|}}} }}
              |[[{{{Authorlink4}}} |{{{Surname4}}}{{
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
                #if: {{{Given4|}}}
                |{{#time:Y|{{{date|}}} }}
                |, {{{Given4}}}
              }}
              }}]]
            |{{{publication-date|}}} <!-- last resort -->
              |{{{Surname4}}}{{
          }}
                #if: {{{Given4|}}}
        }}}
                |, {{{Given4}}}
  |YearNote = {{{origyear|}}}
              }}
  |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}}
            }}{{
  |Title={{{title|}}}
              #if:{{{Surname5|}}}
  |URL={{#if:{{{archiveurl|}}}|{{{archiveurl|}}}|{{{url|}}}}}
              |{{
  |Series={{{series|{{{version|}}}}}}
                #if: {{{Surname6|}}}
  |Periodical = {{{journal|{{{periodical|{{{newspaper|{{{magazine|}}}}}}}}}}}}
                |<nowiki>; </nowiki>
  |Volume = {{{volume|}}}
                |{{#if:{{{amp|}}}|&#32;&amp;&#32;|<nowiki>; </nowiki>}}
  |Issue = {{{issue|{{{number|}}}}}}
              }}{{
  |At = {{
                #if: {{{Authorlink5|}}}
          #if: {{{journal|{{{periodical|{{{newspaper|{{{magazine|}}}}}}}}}}}}
                |[[{{{Authorlink5}}} |{{{Surname5}}}{{
          |{{{pages|{{{page|{{{at|}}}}}}}}}
                    #if: {{{Given5|}}}
          |{{
                    |, {{{Given5}}}
            #if: {{{page|}}}
                  }}]]
            |{{#if:{{{nopp|}}}||p.&nbsp;}}{{{page}}}  
                |{{{Surname5}}}{{
            |{{
                    #if: {{{Given5|}}}
                #if: {{{pages|}}}
                    |, {{{Given5}}}
                |{{#if:{{{nopp|}}}||pp.&nbsp;}}{{{pages}}}
                  }}
                |{{{at|}}}
              }}{{
              }}
                #if:{{{Surname6|}}}
          }}
                |{{
        }}
                    #if: {{{Surname7|}}}
  |IncludedWorkTitle = {{{chapter|{{{contribution|}}}}}}
                    |<nowiki>; </nowiki>
  |IncludedWorkURL = {{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}}
                    |{{#if:{{{amp|}}}|&#32;&amp;&#32;|<nowiki>; </nowiki>}}
  |Other = {{{others|}}}
                  }}{{
  |Edition = {{{edition|}}}
                    #if: {{{Authorlink6|}}}
  |Place = {{{place|{{{location|}}}}}}
                    |[[{{{Authorlink6}}} |{{{Surname6}}}{{
  |PublicationPlace = {{{publication-place|{{{place|{{{location|}}}}}}}}}
                      #if: {{{Given6|}}}
  |Publisher = {{{publisher|}}}
                      |, {{{Given6}}}
  |PublicationDate = {{{publication-date|}}}
                    }}]]
  |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}
                    |{{{Surname6}}}{{
  |EditorSurname2 = {{{editor2-last|{{{editor2-surname|}}}}}}
                      #if: {{{Given6|}}}
  |EditorSurname3 = {{{editor3-last|{{{editor3-surname|}}}}}}
                      |, {{{Given6}}}
  |EditorSurname4 = {{{editor4-last|{{{editor4-surname|}}}}}}
                    }}
  |EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}}
                  }}{{
  |EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}}
                    #if:{{{Surname7|}}}
   |EditorGiven3={{{editor3-first|{{{editor3-given|}}}}}}
                    |{{
  |EditorGiven4={{{editor4-first|{{{editor4-given|}}}}}}
                      #if: {{{Surname8|}}}
  |Editorlink1={{{editor-link|{{{editor1-link|}}}}}}
                      |<nowiki>; </nowiki>
  |Editorlink2={{{editor2-link|}}}
                      |{{#if:{{{amp|}}}|&#32;&amp;&#32;|<nowiki>; </nowiki>}}
  |Editorlink3={{{editor3-link|}}}
                    }}{{
  |Editorlink4={{{editor4-link|}}}
                      #if: {{{Authorlink7|}}}
  |language = {{{language|{{{in|}}}}}}
                      |[[{{{Authorlink7}}} |{{{Surname7}}}{{
  |format = {{{format|}}}
                          #if: {{{Given7|}}}
  |ID={{{id|{{{ID|}}}}}}
                          |, {{{Given7}}}
  |ISBN={{{isbn|{{{ISBN|}}}}}}
                        }}]]
  |ISSN={{{issn|{{{ISSN|}}}}}}
                      |{{{Surname7}}}{{
  |OCLC={{{oclc|{{{OCLC|}}}}}}
                          #if: {{{Given7|}}}
  |PMID={{{pmid|{{{PMID|}}}}}}
                          |, {{{Given7}}}
  |PMC={{{pmc|{{{PMC|}}}}}}
                        }}
   |Bibcode={{{bibcode|}}}
                    }}{{
  |DOI={{{doi|{{{DOI|}}}}}}
                      #if:{{{Surname8|}}}
  |AccessDate={{{access-date|{{{accessdate|}}}}}}
                      |{{
  |laysummary = {{{laysummary|}}}
                          #if: {{{Surname9|}}}
  |quote = {{{quote|}}}
                          |<nowiki>; </nowiki>
  |laydate = {{{laydate|}}}
                          |{{#if:{{{amp|}}}|&#32;&amp;&#32;|<nowiki>; </nowiki>}}
  |Ref={{{ref|}}}
                        }}{{
  |Sep = {{{separator|{{{seperator|,}}}}}}
                          #if: {{{Authorlink8|}}}
  |PS = {{#if:{{{quote|}}}||{{{postscript|.}}}}}
                          |[[{{{Authorlink8}}} |{{{Surname8}}}{{
  |amp = {{{lastauthoramp|}}}
                            #if: {{{Given8|}}}
  |Archive = {{#if:{{{archiveurl|}}}|Archived from {{#if:{{{url|}}}|[{{{url|}}} the original]|the original}} {{#if:{{{archivedate|}}}|&#32;on {{{archivedate}}}|. You must specify the date the archive was made using the {{para|archivedate}} parameter.{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}}
                            |, {{{Given8}}}
            }}
                          }}]]
}}}}<noinclude>
                          |{{{Surname8}}}{{
{{pp-template|small=yes}}
                            #if: {{{Given8|}}}
{{documentation}}
                            |, {{{Given8}}}
</noinclude>
                          }}
                        }}{{
                          #if:{{{Surname9|}}}
                          |<nowiki>; </nowiki>&#32;''et al''.
                        }}
                    }}
                  }}
              }}
            }}
        }}
      }}
  }}{{
    #if: {{{Date|}}}
    |&#32;({{{Date}}}){{
      #if:{{{YearNote|}}}
    |&#32;[{{{YearNote}}}]
    }}
  }}
  |{{<!-- ============== No author display editors first == -->
    #if: {{{EditorSurname1|}}}
    |{{
        #if: {{{Editorlink1|}}}
        |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{
          #if: {{{EditorGiven1|}}}
          |, {{{EditorGiven1}}}
        }}]]
        |{{{EditorSurname1}}}{{
          #if: {{{EditorGiven1|}}}
          |, {{{EditorGiven1}}}
        }}
      }}{{
        #if: {{{EditorSurname2|}}}
        |<nowiki>; </nowiki>{{
          #if: {{{Editorlink2|}}}
          |[[{{{Editorlink2}}} |{{{EditorSurname2}}}{{
              #if: {{{EditorGiven2|}}}
              |, {{{EditorGiven2}}}
            }}]]
          |{{{EditorSurname2}}}{{
              #if: {{{EditorGiven2|}}}
              |, {{{EditorGiven2}}}
            }}
        }}{{
          #if: {{{EditorSurname3|}}}
          |<nowiki>; </nowiki> {{
              #if: {{{Editorlink3|}}}
              |[[{{{Editorlink3}}} |{{{EditorSurname3}}}{{
                #if: {{{EditorGiven3|}}}
                |, {{{EditorGiven3}}}
              }}]]
              |{{{EditorSurname3}}}{{
                #if: {{{EditorGiven3|}}}
                |, {{{EditorGiven3}}}
              }}
            }}{{
              #if:{{{EditorSurname4|}}}
              |&#32;et al.
            }}
        }}
      }}, ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}{{
        #if: {{{Date|}}}
        |&#32;({{{Date}}})
      }}
  }}
}}{{
<!--============  Title of included work  ============-->
  #if: {{{IncludedWorkTitle|}}}
   |{{
    #if:{{{Surname1|}}}{{{EditorSurname1|}}}  
    |{{{Sep|,}}}&#32;
  }}{{Link
    | 1={{
          #if: {{{IncludedWorkURL|}}}
          |{{{IncludedWorkURL}}}
          |{{
              #if: {{{URL|}}}
              |{{{URL}}}
<!-- Only link URL if to a free full text - as at PubMedCentral (PMC)-->
              |{{
                #if: {{{PMC|}}}
                |http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
              }}
            }}  
        }}
    | 2={{
          #if: {{{Periodical|}}}
          |''{{{IncludedWorkTitle}}}''
          |"{{{IncludedWorkTitle}}}"
        }}
  }}
}}{{
<!--============  Place (if different than PublicationPlace) ============-->
  #if: {{{Place|}}}
   |{{
    #ifeq: {{{Place|}}} | {{{PublicationPlace|}}}
    |
    |{{
        #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
        |{{{Sep|,}}} written at {{{Place}}}
      }}
  }}
}}{{
<!--============  Editor of compilation  ============-->
  #if: {{{EditorSurname1|}}}
  |{{
    #if: {{{Surname1|}}}
    |{{{Sep|,}}} {{
        #if: {{{IncludedWorkTitle|}}}
        |in&#32;
      }}{{
        #if: {{{Editorlink1|}}}
        |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{
          #if: {{{EditorGiven1|}}}
          |, {{{EditorGiven1}}}
        }}]]
        |{{{EditorSurname1}}}{{
          #if: {{{EditorGiven1|}}}
          |, {{{EditorGiven1}}}
        }}}}{{
        #if: {{{EditorSurname2|}}}
        |<nowiki>; </nowiki>{{
          #if: {{{Editorlink2|}}}
          |[[{{{Editorlink2}}}|{{{EditorSurname2}}}{{
              #if: {{{EditorGiven2|}}}
              |, {{{EditorGiven2}}}
            }}]]
          |{{{EditorSurname2}}}{{
              #if: {{{EditorGiven2|}}}
              |, {{{EditorGiven2}}}
            }}
        }}{{
          #if: {{{EditorSurname3|}}}
          |<nowiki>; </nowiki>{{
              #if: {{{Editorlink3|}}}
              |[[{{{Editorlink3}}}|{{{EditorSurname3}}}{{
                #if: {{{EditorGiven3|}}}
                |, {{{EditorGiven3}}}
              }}]]
              |{{{EditorSurname3}}}{{
                #if: {{{EditorGiven3|}}}
                |, {{{EditorGiven3}}}
              }}
            }}{{
              #if:{{{EditorSurname4|}}}
              |&#32;et al.
            }}
        }}
      }}{{
        #if: {{{IncludedWorkTitle|}}}
        |
        |{{{Sep|,}}} ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}
      }}
  }}
}}{{
  <!--============  Periodicals  ============-->
  #if: {{{Periodical|}}}
  |{{
    #if: {{{Surname1|}}}{{{EditorSurname1|}}}
    |{{{Sep|,}}}&#32;}}{{
    #if: {{{Title|}}}
    |"{{Link
        | 1={{
              #if: {{{IncludedWorkTitle|}}}
              |{{
                #if: {{{IncludedWorkURL|}}}
                |{{
                    #if: {{{URL|}}}
                    |{{{URL}}}
                    |{{
                      #if: {{{PMC|}}}
                      |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                    }}
                  }}
              }}
              |{{
                #if: {{{URL|}}}
                |{{{URL}}}
                | {{
                      #if: {{{PMC|}}}
                      |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                    }}
                 
              }}
            }}
        | 2={{{Title}}}
      }}"}}
}}{{
#if:{{{language|}}}
  | &#32;(in {{{language}}})
}}{{#if:{{{format|}}}
  |&#32;({{{format}}})
}}{{#if: {{{Periodical|}}}
    |{{#if: {{{IncludedWorkTitle|}}}{{{Title|}}}
        |{{{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: {{{Title|}}}
    |{{
        #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
        |{{{Sep|,}}}&#32;
      }}''{{Link
        | 1={{
              #if: {{{IncludedWorkTitle|}}}
              |{{
                #if: {{{IncludedWorkURL|}}}
                |{{
                    #if: {{{URL|}}}
                    |{{{URL}}}
                    |{{
                      #if: {{{PMC|}}}
                      |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                    }}
                  }}
              }}
              |{{
                #if: {{{URL|}}}
                |{{{URL}}}
                |{{
                    #if: {{{PMC|}}}
                    |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}     
                  }}
              }}
            }}
        | 2={{{Title}}}
      }}''}}{{
        #if: {{{Series|}}}
        |{{{Sep|,}}} {{{Series}}}
      }}{{
        #if: {{{Volume|}}}
        |{{{Sep|,}}} '''{{{Volume}}}'''
      }}{{
        #if: {{{Other|}}}
        |{{{Sep|,}}} {{{Other|}}}
      }}{{
        #if: {{{Edition|}}}
        |&#32;({{{Edition}}} ed.)
      }}{{
        #if: {{{PublicationPlace|}}}
        |{{{Sep|,}}} {{{PublicationPlace}}}
      }}{{
        #if: {{{Publisher|}}}
        |{{
          #if: {{{PublicationPlace|}}}
          |<nowiki>:</nowiki>
          |{{{Sep|,}}}
        }} {{{Publisher}}}
      }}
  }}{{
<!--============ Date (if no author/editor) ============-->
  #if: {{{Surname1|}}}{{{EditorSurname1|}}}
  |
  |{{
    #if: {{{Date|}}}
    |{{{Sep|,}}} {{{Date}}}
  }}
}}{{
<!--============ Publication date ============-->
  #if: {{{PublicationDate|}}}
  |{{
    #ifeq: {{{PublicationDate|}}} | {{{Date|}}}
    |
    |{{
        #if: {{{EditorSurname1|}}}
        |{{
          #if: {{{Surname1|}}}
          |{{{Sep|,}}} {{{PublicationDate}}}
          |&#32;(published {{{PublicationDate}}})
        }}
        |{{
          #if: {{{Periodical|}}}
          |{{{Sep|,}}} {{{PublicationDate}}}
          |&#32;(published {{{PublicationDate}}})
        }}
      }}
  }}
}}{{
<!--============ Page within included work ============-->
  #if: {{{Periodical|}}}
  |
  |{{
    #if: {{{At|}}}
    |{{{Sep|,}}} {{{At}}}
  }}
}}{{
<!--===============DOI================-->
#if:{{{DOI|}}}
  |{{{Sep|,}}} [[Digital object identifier|doi]]:{{#if: {{{DoiBroken|}}}
    | {{#tag:nowiki|{{{DOI}}}}} (inactive {{date|{{{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 ============-->
  #if: {{{ID|}}}
  |{{{Sep|,}}} {{{ID}}}
}}{{
<!--============ ISBN ============-->
  #if: {{{ISBN|}}}
  |{{{Sep|,}}} ISBN {{{ISBN}}}
}}{{
<!--============ ISSN ============-->
  #if: {{{ISSN|}}}
  |{{{Sep|,}}} [[International Standard Serial Number|ISSN]] [http://worldcat.org/issn/{{{ISSN}}} {{{ISSN}}}]
}}{{
<!--============ OCLC ============-->
  #if: {{{OCLC|}}}
  |{{{Sep|,}}} [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{OCLC}}}}} {{{OCLC}}}]
}}{{
<!--============ PMID ============-->
  #if: {{{PMID|}}}
  |{{{Sep|,}}} PMID {{{PMID}}}
}}{{
<!--============ 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 ===========-->
  #if: {{{Archive|}}}
  |{{{Sep|,}}} {{{Archive}}}
}}{{
<!--============ URL and AccessDate ============-->
  #if: {{{URL|{{{IncludedWorkURL|}}}}}}
  |{{
    #if: {{{Title|}}}{{{IncludedWorkTitle|}}}
    |<span class="printonly">{{{Sep|,}}} {{
                                      #if: {{{IncludedWorkURL|}}}
                                      |{{{IncludedWorkURL}}}
                                      |{{{URL}}}
                                    }}</span>
    |{{{Sep|,}}} {{
              #if: {{{IncludedWorkURL|}}}
              |{{{IncludedWorkURL}}}
              |{{{URL}}}
            }}
  }}{{
    #if: {{{AccessDate|}}}
    | <span class="reference-accessdate">{{#ifeq:{{{Sep|,}}}|,|,&#32;r|.&#32;R}}etrieved on {{date|{{{AccessDate}}}|{{{DateFormat|dmy}}} }}</span>
    }}
}}{{#if:{{{laysummary|}}}
  |{{{Sep|,}}} [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}|&nbsp;&ndash;&nbsp;''{{{laysource}}}''}}
}}{{#if:{{{laydate|}}}
  | &#32;({{{laydate}}})
}}{{#if:{{{quote|}}}
  |{{{Sep|,}}} &#32;"{{{quote}}}"
}}{{{PS|}}}</cite><!--
 
=== This is a COinS tag (http://ocoins.info), which allows automated tools to parse the citation information: ===
 
--><span
    class="Z3988"
    title="ctx_ver=Z39.88-2004&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:}}{{
      #if: {{{Periodical|}}}
      |journal&rft.genre=article&rft.atitle={{urlencode:{{{Title|}}}}}&rft.jtitle={{urlencode:{{{Periodical|}}}}}
      |book{{
        #if: {{{IncludedWorkTitle|}}}
        |&rft.genre=bookitem&rft.btitle={{urlencode:{{{IncludedWorkTitle|}}}}}&rft.atitle={{urlencode:{{{Title|}}}}}
        |&rft.genre=book&rft.btitle={{urlencode:{{{Title|}}}}}
      }}
    }}{{
    #if: {{{Surname1|}}} |&rft.aulast={{urlencode:{{{Surname1}}}}}{{
      #if: {{{Given1|}}} |&rft.aufirst={{urlencode:{{{Given1}}}}}
    }}
  }}{{
    #if: {{{Surname1|}}} |&rft.au={{urlencode:{{{Surname1}}}}}{{
      #if: {{{Given1|}}} |{{urlencode:, {{{Given1}}}}}
    }}
  }}{{
    #if: {{{Surname2|}}} |&rft.au={{urlencode:{{{Surname2}}}}}{{
      #if: {{{Given2|}}} |{{urlencode:, {{{Given2}}}}}
    }}
  }}{{
    #if: {{{Surname3|}}} |&rft.au={{urlencode:{{{Surname3}}}}}{{
      #if: {{{Given3|}}} |{{urlencode:, {{{Given3}}}}}
    }}
  }}{{
    #if: {{{Surname4|}}} |&rft.au={{urlencode:{{{Surname4}}}}}{{
      #if: {{{Given4|}}} |{{urlencode:, {{{Given4}}}}}
    }}
  }}{{
    #if: {{{Surname5|}}} |&rft.au={{urlencode:{{{Surname5}}}}}{{
      #if: {{{Given5|}}} |{{urlencode:, {{{Given5}}}}}
    }}
  }}{{
    #if: {{{Surname6|}}} |&rft.au={{urlencode:{{{Surname6}}}}}{{
      #if: {{{Given6|}}} |{{urlencode:, {{{Given6}}}}}
    }}
  }}{{
    #if: {{{Surname7|}}} |&rft.au={{urlencode:{{{Surname7}}}}}{{
      #if: {{{Given7|}}} |{{urlencode:, {{{Given7}}}}}
    }}
  }}{{
    #if: {{{Surname8|}}} |&rft.au={{urlencode:{{{Surname8}}}}}{{
      #if: {{{Given8|}}} |{{urlencode:, {{{Given8}}}}}
    }}
  }}{{
    #if: {{{Surname9|}}} |&rft.au={{urlencode:{{{Surname9}}}}}{{
      #if: {{{Given9|}}} |{{urlencode:, {{{Given9}}}}}
    }}
    }}{{
      #if: {{{Date|}}} |&rft.date={{urlencode:{{{Date}}}}}
    }}{{
      #if: {{{Series|}}} |&rft.series={{urlencode:{{{Series}}}}}
    }}{{
      #if: {{{Volume|}}} |&rft.volume={{urlencode:{{{Volume}}}}}
    }}{{
      #if: {{{Issue|}}} |&rft.issue={{urlencode:{{{Issue}}}}}
    }}{{
      #if: {{{At|}}} |&rft.pages={{urlencode:{{{At}}}}}
    }}{{
      #if: {{{Edition|}}} |&rft.edition={{urlencode:{{{Edition}}}}}
    }}{{
      #if: {{{PublicationPlace|}}} |&rft.place={{urlencode:{{{PublicationPlace}}}}}
    }}{{
      #if: {{{Publisher|}}} |&rft.pub={{urlencode:{{{Publisher}}}}}
    }}{{
      #if: {{{DOI|}}} |&rft_id=info:doi/{{urlencode:{{{DOI}}}}}
    }}{{
      #if: {{{PMID|}}} |&rft_id=info:pmid/{{urlencode:{{{PMID}}}}}
    }}{{
      #if: {{{Bibcode|}}} |&rft_id=info:bibcode/{{urlencode:{{{Bibcode}}}}}
    }}{{
      #if: {{{OCLC|}}} |&rft_id=info:oclcnum/{{urlencode:{{{OCLC}}}}}
    }}{{
      #if: {{{ISBN|}}} |&rft.isbn={{urlencode:{{{ISBN}}}}}
    }}{{
      #if: {{{ISSN|}}} |&rft.issn={{urlencode:{{{ISSN}}}}}
    }}{{
      #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 14:55, 3 February 2009

. 

[edit] Template-info.svg Template documentation

This is the sandbox version of the {{Citation}} template.

You can edit this page and {{Citation/core/sandbox}} to test changes to the main template before going live.

  • Please check that all the testcases in Template:Citation/testcases pass before going live.
  • After unsuccessful changes please revert to last working version so others can experiment

When copying

  1. Copy contents of Template:Citation/core/sandbox to Template:Citation/core
  2. Copy contents of Template:Citation/sandbox to Template:Citation
  3. In Template:Citation change the transclude links from {{Citation/core/sandbox}} to {{Citation/core}}