Difference between revisions of "Template:Citation/core"

From Libre Pathology
Jump to navigation Jump to search
(updated version -- 22:25, 12 November 2012‎ Tim Starling)
(cp from WP: 04:59, 2 November 2013‎ Fuhghettaboutit)
Line 1: Line 1:
<span class="citation {{{Citation class|{{{Citation type|}}}}}}"
{{Citation/core
{{
|Citation class=Journal
  #switch:{{{Ref|}}}
 
  ||none =
|Surname1={{{last|{{{last1|{{{author|{{{author1|{{{authors|{{{surname|{{{surname1|}}}}}}}}}}}}}}}}}}}}}
  |#default = id="{{anchorencode:{{{Ref}}}}}"
|Surname2={{{last2|{{{author2|{{{surname2|}}}}}}}}}
  |harv = {{#if:{{{Surname1|}}}{{{EditorSurname1|}}}
|Surname3={{{last3|{{{author3|{{{surname3|}}}}}}}}}
    |id="CITEREF{{anchorencode:{{#if:{{{Surname1|}}}
|Surname4={{{last4|{{{author4|{{{surname4|}}}}}}}}}
      |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
|Surname5={{{last5|{{{author5|{{{surname5|}}}}}}}}}
      |{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}
|Surname6={{{last6|{{{author6|{{{surname6|}}}}}}}}}
    }}{{{Year|{{{Date|}}}}}}}}"
|Surname7={{{last7|{{{author7|{{{surname7|}}}}}}}}}
  }}
|Surname8={{{last8|{{{author8|{{{surname8|}}}}}}}}}
}}>{{
|Surname9={{{last9|{{{author9|{{{surname9|}}}}}}}}}
<!--============  Author or editor and date  ============-->
 
  #if:{{{Surname1|}}}
|Given1={{{first|{{{first1|{{{given|{{{given1|}}}}}}}}}}}}
  |{{
|Given2={{{first2|{{{given2|}}}}}}
    #if: {{{AuthorMask|}}}
|Given3={{{first3|{{{given3|}}}}}}
    |{{
|Given4={{{first4|{{{given4|}}}}}}
        #iferror: {{ #expr: 1*{{{AuthorMask}}} }}
|Given5={{{first5|{{{given5|}}}}}}
        |{{{AuthorMask}}}
|Given6={{{first6|{{{given6|}}}}}}
        |{{loop|{{{AuthorMask}}}|2=&mdash;}}
|Given7={{{first7|{{{given7|}}}}}}
      }}
|Given8={{{first8|{{{given8|}}}}}}
    |{{
|Given9={{{first9|{{{given9|}}}}}}
        #if: {{{Authorlink1|}}}
 
        |[[{{{Authorlink1}}} |{{{Surname1}}}{{
|Authorlink1={{{authorlink|{{{authorlink1|{{{author-link|{{{author1-link|}}}}}}}}}}}}
          #if: {{{Given1|}}}
|Authorlink2={{{authorlink2|{{{author2-link|}}}}}}
          |{{{NameSep|,&#32;}}}{{{Given1}}}
|Authorlink3={{{authorlink3|{{{author3-link|}}}}}}
        }}]]
|Authorlink4={{{authorlink4|{{{author4-link|}}}}}}
        |{{{Surname1}}}{{
|Authorlink5={{{authorlink5|{{{author5-link|}}}}}}
          #if: {{{Given1|}}}
|Authorlink6={{{authorlink6|{{{author6-link|}}}}}}
          |{{{NameSep|,&#32;}}}{{{Given1}}}
|Authorlink7={{{authorlink7|{{{author7-link|}}}}}}
        }}
|Authorlink8={{{authorlink8|{{{author8-link|}}}}}}
      }}
|Authorlink9={{{authorlink9|{{{author9-link|}}}}}}
  }}{{
 
    #if: {{{Surname2|}}}
|Coauthors={{{coauthors|{{{coauthor|}}}}}}
    |{{#ifexpr:{{{Trunc|8}}}<2
 
      |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
|Other={{{others|}}}
      |{{
          #iferror: {{ #expr: 1*0.0{{{AuthorMask|}}} }}
          |&#32;<!-- then punctuation should be included in AuthorMask -->
          |{{
            #if: {{{Surname3|}}}
            |{{{AuthorSep|&#059;&#32;}}}
            |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
          }}
        }}{{
          #if: {{{Authorlink2|}}}
          |[[{{{Authorlink2}}} |{{{Surname2}}}{{
            #if: {{{Given2|}}}
            |{{{NameSep|,&#32;}}}{{{Given2}}}
          }}]]
          |{{{Surname2}}}{{
            #if: {{{Given2|}}}
            |{{{NameSep|,&#32;}}}{{{Given2}}}
          }}
        }}{{
          #if: {{{Surname3|}}}
          |{{#ifexpr:{{{Trunc|8}}}<3
            |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
            |{{
              #if: {{{Surname4|}}}
              |{{{AuthorSep|&#059;&#32;}}}
              |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
            }}{{
              #if: {{{Authorlink3|}}}
              |[[{{{Authorlink3}}} |{{{Surname3}}}{{
                  #if: {{{Given3|}}}
                  |{{{NameSep|,&#32;}}}{{{Given3}}}
                }}]]
              |{{{Surname3}}}{{
                  #if: {{{Given3|}}}
                  |{{{NameSep|,&#32;}}}{{{Given3}}}
                }}
            }}{{
              #if:{{{Surname4|}}}
              |{{#ifexpr:{{{Trunc|8}}}<4
                |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
                |{{
                    #if: {{{Surname5|}}}
                    |{{{AuthorSep|&#059;&#32;}}}
                    |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
                  }}{{
                    #if: {{{Authorlink4|}}}
                    |[[{{{Authorlink4}}} |{{{Surname4}}}{{
                      #if: {{{Given4|}}}
                      |{{{NameSep|,&#32;}}}{{{Given4}}}
                    }}]]
                    |{{{Surname4}}}{{
                      #if: {{{Given4|}}}
                      |{{{NameSep|,&#32;}}}{{{Given4}}}
                    }}
                  }}{{
                  #if:{{{Surname5|}}}
                  |{{#ifexpr:{{{Trunc|8}}}<5
                    |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
                    |{{
                    #if: {{{Surname6|}}}
                    |{{{AuthorSep|&#059;&#32;}}}
                    |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
                    }}{{
                    #if: {{{Authorlink5|}}}
                    |[[{{{Authorlink5}}} |{{{Surname5}}}{{
                        #if: {{{Given5|}}}
                        |{{{NameSep|,&#32;}}}{{{Given5}}}
                      }}]]
                    |{{{Surname5}}}{{
                        #if: {{{Given5|}}}
                        |{{{NameSep|,&#32;}}}{{{Given5}}}
                      }}
                  }}{{
                    #if:{{{Surname6|}}}
                    |{{#ifexpr:{{{Trunc|8}}}<6
                    |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
                      |{{
                        #if: {{{Surname7|}}}
                        |{{{AuthorSep|&#059;&#32;}}}
                        |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
                      }}{{
                        #if: {{{Authorlink6|}}}
                        |[[{{{Authorlink6}}} |{{{Surname6}}}{{
                          #if: {{{Given6|}}}
                          |{{{NameSep|,&#32;}}}{{{Given6}}}
                        }}]]
                        |{{{Surname6}}}{{
                          #if: {{{Given6|}}}
                          |{{{NameSep|,&#32;}}}{{{Given6}}}
                        }}
                      }}{{
                        #if:{{{Surname7|}}}
                        |{{#ifexpr:{{{Trunc|8}}}<7
                          |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
                        |{{
                          #if: {{{Surname8|}}}
                          |{{{AuthorSep|&#059;&#32;}}}
                          |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
                        }}{{
                          #if: {{{Authorlink7|}}}
                          |[[{{{Authorlink7}}} |{{{Surname7}}}{{
                              #if: {{{Given7|}}}
                              |{{{NameSep|,&#32;}}}{{{Given7}}}
                            }}]]
                          |{{{Surname7}}}{{
                              #if: {{{Given7|}}}
                              |{{{NameSep|,&#32;}}}{{{Given7}}}
                            }}
                                    }}{{
                                      #if:{{{Surname8|}}}
                                      |{{#ifexpr:{{{Trunc|8}}}<8
                                          |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
                                          |{{
                                              #if: {{{Surname9|}}}
                                              |{{{AuthorSep|&#059;&#32;}}}
                                              |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
                                            }}{{
                                              #if: {{{Authorlink8|}}}
                                              |[[{{{Authorlink8}}} |{{{Surname8}}}{{
                                                #if: {{{Given8|}}}
                                                |{{{NameSep|,&#32;}}}{{{Given8}}}
                                              }}]]
                                              |{{{Surname8}}}{{
                                                #if: {{{Given8|}}}
                                                |{{{NameSep|,&#32;}}}{{{Given8}}}
                                              }}
                                            }}{{
                                              #if:{{{Surname9|}}}
                                              |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
                                            }}
                                        }}
                                      }}
                                  }}
                                }}
                            }}
                          }}
                      }}
                    }}
                  }}
              }}
            }}
        }}
      }}


  }}{{
|Year={{{year|{{    <!-- attempt to derive year from date, if possible -->
    #if: {{{Coauthors|}}}
           #if: {{{date|}}}
    |{{{AuthorSep|&#059;&#32;}}}{{{Coauthors|}}}|
   }}{{
    #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|}}}
        |{{
          #if: {{{EditorSurname3|}}}
          |{{{AuthorSep|&#059;&#32;}}}
          |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
        }}{{
          #if: {{{Editorlink2|}}}
          |[[{{{Editorlink2}}} |{{{EditorSurname2}}}{{
              #if: {{{EditorGiven2|}}}
              |, {{{EditorGiven2}}}
            }}]]
          |{{{EditorSurname2}}}{{
              #if: {{{EditorGiven2|}}}
              |, {{{EditorGiven2}}}
            }}
        }}{{
           #if: {{{EditorSurname3|}}}
           |{{
           |{{
               #if: {{{EditorSurname4|}}}
               #iferror:{{#time:Y|{{{date|}}} }}
              |{{{AuthorSep|&#059;&#32;}}}
               |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
               |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
               |{{#time:Y|{{{date|}}} }}
            }}{{
              #if: {{{Editorlink3|}}}
              |[[{{{Editorlink3}}} |{{{EditorSurname3}}}{{
                #if: {{{EditorGiven3|}}}
                |, {{{EditorGiven3}}}
              }}]]
              |{{{EditorSurname3}}}{{
                #if: {{{EditorGiven3|}}}
                |, {{{EditorGiven3}}}
              }}
            }}{{
              #if:{{{EditorSurname4|}}}
               |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
             }}
             }}
          |{{{publication-date|}}} <!-- last resort -->
         }}
         }}
      }}, ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}{{
      }}}
        #if: {{{Date|}}}
|YearNote={{{origyear|}}}
        |&#32;({{{Date}}}){{
|Date={{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}}
        #if:{{{YearNote|}}}
 
      |&#32;[{{{YearNote}}}]
|Title={{{title|}}}
      }}
|TransTitle={{{trans_title|}}}
      }}
|IncludedWorkTitle={{{chapter|{{{contribution|}}}}}}
  }}
|TitleType={{{type|}}}
}}{{
|language={{{language|}}}
<!--============  Title of included work  ============-->
 
  #if: {{{IncludedWorkTitle|}}}{{#if:{{{Periodical|}}}||{{#if:{{{TransItalic|}}}||{{{TransTitle|}}}}}}}
|URL={{#if:{{{archiveurl|}}}
  |{{
       |{{#ifeq: {{{deadurl|}}} | no | {{{url|}}} | {{{archiveurl|}}} }}
    #if:{{{Surname1|}}}{{{EditorSurname1|}}}
       |{{#if:{{{url|}}}
    |{{{Sep|,}}}&#32;
         |{{{url}}}
  }}{{Citation/make link
         |{{#if:{{{pmc|{{{PMC|}}}}}}
    | 1={{
           |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }}
          #if: {{{IncludedWorkURL|}}}
             |{{hide in print|1=//www.ncbi.nlm.nih.gov/pmc/articles/PMC{{{pmc|{{{PMC|}}}}}}/}}
          |{{{IncludedWorkURL}}}
          }}
          |{{
              #if: {{{URL|}}}
              |{{{URL}}}
            }}
        }}
    | 2={{
          #if: {{{Periodical|}}}
          |''<nowiki />{{{IncludedWorkTitle}}}<nowiki />''
          |"{{{IncludedWorkTitle|}}}{{
            #if: {{{TransTitle|}}}
            |{{
                #if: {{{IncludedWorkTitle|}}}
                |&#32;
              }}&#91;{{{TransTitle}}}&#93;
          }}"
        }}
  }}
}}{{
<!--============  Place (if different than PublicationPlace) ============-->
  #if: {{{Place|}}}
  |{{
    #ifeq: {{{Place|}}} | {{{PublicationPlace|}}}
    |
    |{{
        #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}
        |{{{Sep|,}}}&#32;written at {{{Place}}}
       }}
  }}
}}{{
<!--============  Editor of compilation  ============-->
  #if: {{{EditorSurname1|}}}
  |{{
    #if: {{{Surname1|}}}
    |{{{Sep|,}}}&#32;{{
        #if: {{{IncludedWorkTitle|}}}
        |{{#ifeq:{{{Sep|}}}|.|I|i}}n&#32;
       }}{{
        #if: {{{Editorlink1|}}}
        |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{
          #if: {{{EditorGiven1|}}}
          |, {{{EditorGiven1}}}
        }}]]
         |{{{EditorSurname1}}}{{
          #if: {{{EditorGiven1|}}}
          |, {{{EditorGiven1}}}
        }}}}{{
        #if: {{{EditorSurname2|}}}
         |{{
          #if: {{{EditorSurname3|}}}
            |{{{AuthorSep|&#059;&#32;}}}
            |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
           }}{{
          #if: {{{Editorlink2|}}}
          |[[{{{Editorlink2}}}|{{{EditorSurname2}}}{{
              #if: {{{EditorGiven2|}}}
              |, {{{EditorGiven2}}}
            }}]]
          |{{{EditorSurname2}}}{{
              #if: {{{EditorGiven2|}}}
              |, {{{EditorGiven2}}}
            }}
        }}{{
          #if: {{{EditorSurname3|}}}
          |{{
              #if: {{{EditorSurname4|}}}
              |&#059;&#32;
              |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
             }}{{
              #if: {{{Editorlink3|}}}
              |[[{{{Editorlink3}}}|{{{EditorSurname3}}}{{
                #if: {{{EditorGiven3|}}}
                |, {{{EditorGiven3}}}
              }}]]
              |{{{EditorSurname3}}}{{
                #if: {{{EditorGiven3|}}}
                |, {{{EditorGiven3}}}
              }}
            }}{{
              #if:{{{EditorSurname4|}}}
              |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
            }}
         }}
         }}
      }}{{
        #if: {{{IncludedWorkTitle|}}}
        |
        |{{{Sep|,}}}&#32;ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep}}}|.||.}}
      }}
  }}
}}{{
  <!--============  Periodicals  ============-->
  #if: {{{Periodical|}}}
  |{{
    #if: {{{Other|}}}
    |{{{Sep|,}}}&#32;{{{Other|}}}
  }}{{
    #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}
    |{{{Sep|,}}}&#32;}}{{
    #if: {{{Title|}}}{{{TransTitle|}}}
    |{{Citation/make link
        | 1={{
              #if: {{{IncludedWorkTitle|}}}
              |{{
                #if: {{{IncludedWorkURL|}}}
                |{{
                    #if: {{{URL|}}}
                    |{{{URL}}}
                  }}
              }}
              |{{
                #if: {{{URL|}}}
                |{{{URL}}}
              }}
            }}
        | 2="{{{Title}}}{{
          #if: {{{TransTitle|}}}
          |{{
            #if: {{{Title|}}}
            |&#32;
          }}&#91;{{{TransTitle}}}&#93;
        }}"
      }}{{
        #if: {{{TitleNote|}}}
        |{{{Sep|,}}}&#32;{{{TitleNote}}}
      }}
  }}
}}{{
  #if: {{{language|}}}
  |&#32;(in {{{language}}})
}}{{
  #if: {{{format|}}}
  |&#32;({{{format}}})
}}{{
  #if: {{{Periodical|}}}
  |{{
      #if:{{{IncludedWorkTitle|}}}{{{Title|}}}{{{TransTitle|}}}
      |{{{Sep|,}}}&#32;
    }}''<nowiki />{{{Periodical}}}<nowiki />''{{
      #if: {{{Series|}}}
      |{{{Sep|,}}}&#32;{{{Series}}}
    }}{{
      #if: {{{PublicationPlace|}}}
      |{{
        #if: {{{Publisher|}}}
        |&#32;({{{PublicationPlace}}}<nowiki>: </nowiki>{{{Publisher}}})
        |&#32;({{{PublicationPlace}}})
      }}
      |{{
        #if: {{{Publisher|}}}
        |&#32;({{{Publisher}}})
       }}
       }}
    }}{{
      #if: {{{Volume|}}}
      |&#32;{{#if:{{{Periodical|}}}|'''<nowiki />{{{Volume}}}<nowiki />'''|{{{Volume}}}}}{{
        #if: {{{Issue|}}}
        |&#32;({{{Issue}}})
      }}
      |{{
        #if: {{{Issue|}}}
        |&#32;({{{Issue}}})
      }}
    }}{{
      #if: {{{At|}}}
      |<nowiki>: </nowiki> {{{At}}}
    }}
  |{{
      <!--============ Anything else with a title, including books ============-->
      #if: {{{Title|}}}{{{TransItalic|}}}
      |{{
        #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
        |{{{Sep|,}}}
      }}&#32;{{Citation/make link
        | 1={{
              #if: {{{IncludedWorkTitle|}}}
              |{{
                  #if: {{{IncludedWorkURL|}}}
                  |{{
                    #if: {{{URL|}}}
                    |{{{URL}}}
                  }}
                }}
              |{{
                  #if: {{{URL|}}}
                  |{{{URL}}}
                }}
            }}
        | 2=''<nowiki />{{{Title|}}}{{
            #if:{{{TransItalic|}}}|&#32;&#91;{{{TransItalic}}}&#93;
          }}<nowiki />''
      }}
    }}{{
      #if: {{{TitleType|}}}
      |&#32;({{{TitleType}}})
    }}{{
      #if: {{{Series|}}}
      |{{{Sep|,}}}&#32;{{{Series}}}
    }}{{
      #if: {{{Volume|}}}
      |{{{Sep|,}}}&#32;'''<nowiki />{{{Volume}}}<nowiki />'''
    }}{{
      #if: {{{Other|}}}
      |{{{Sep|,}}}&#32;{{{Other|}}}
    }}{{
      #if: {{{Edition|}}}
      |&#32;({{{Edition}}} ed.)
    }}{{
      #if: {{{PublicationPlace|}}}
      |{{{Sep|,}}}&#32;{{{PublicationPlace}}}
    }}{{
      #if: {{{Publisher|}}}
      |{{
        #if: {{{PublicationPlace|}}}
        |<nowiki>:</nowiki>
        |{{{Sep|,}}}
      }}&#32;{{{Publisher}}}
    }}
}}{{
<!--============ Date (if no author/editor) ============-->
  #if: {{{Surname1|}}}{{{EditorSurname1|}}}
  |
  |{{
    #if: {{{Date|}}}
    |{{{Sep|,}}}&#32;{{{Date}}}{{
      #if:{{{YearNote|}}}
    |&#32;[{{{YearNote}}}]
     }}
     }}
  }}
|IncludedWorkURL={{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}}
}}{{
|AccessDate={{{accessdate|}}}
<!--============ Publication date ============-->
|OriginalURL={{{url|}}}
  #if: {{{PublicationDate|}}}
|ArchiveURL={{{archiveurl|}}}
  |{{
|ArchiveDate={{{archivedate|}}}
    #ifeq: {{{PublicationDate|}}} | {{{Date|}}}
|DeadURL={{{deadurl|}}}
    |
|format={{{format|}}}
    |{{
 
        #if: {{{EditorSurname1|}}}
|Periodical={{{work|{{{journal|{{{newspaper|{{{magazine|{{{periodical|}}}}}}}}}}}}}}}
        |{{
|Issue={{{issue|{{{number|}}}}}}
          #if: {{{Surname1|}}}
|TitleNote={{{department|}}}
          |{{{Sep|,}}}&#32;{{{PublicationDate}}}
 
          |&#32;(published {{{PublicationDate}}})
|At={{#if: {{{journal|{{{periodical|{{{magazine|{{{work|}}}}}}}}}}}}
        }}
        |{{{page|{{{pages|{{{at|}}}}}}}}}
        |{{
          |{{#if: {{{page|}}}|{{#if:{{{nopp|}}}||p.&nbsp;}}{{{page}}}
          #if: {{{Periodical|}}}
            |{{#if: {{{pages|}}}|{{#if:{{{nopp|}}}||pp.&nbsp;}}{{{pages}}}
          |{{{Sep|,}}}&#32;{{{PublicationDate}}}
              |{{{at|}}} }} }} }}
          |&#32;(published {{{PublicationDate}}})
 
        }}
|Edition={{{edition|}}}
      }}
|Series={{{series|{{{version|}}}}}}
  }}
|Volume={{{volume|}}}
}}{{
 
<!--============ Page within included work ============-->
|Publisher={{{publisher|}}}
  #if: {{{Periodical|}}}
|Place={{{location|{{{place|}}}}}}
  |
|PublicationPlace={{{location|{{{place|{{{publication-place|}}}}}}}}}
  |{{
|PublicationDate={{{publication-date|}}}
    #if: {{{At|}}}
 
    |{{{Sep|,}}}&#32;{{{At}}}
|EditorSurname1={{{editor-last|{{{editor1-last|{{{editor|{{{editors|{{{editor-surname|{{{editor1-surname|}}}}}}}}}}}}}}}}}}
  }}
|EditorSurname2={{{editor2-last|{{{editor2-surname|}}}}}}
}}{{
|EditorSurname3={{{editor3-last|{{{editor3-surname|}}}}}}
<!--============ arXiv ==============-->
|EditorSurname4={{{editor4-last|{{{editor4-surname|}}}}}}
  #if: {{{ARXIV|}}}
|EditorGiven1={{{editor-first|{{{editor1-first|{{{editor-given|{{{editor1-given|}}}}}}}}}}}}
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=arxiv |input1={{{ARXIV|}}} }}
|EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}}
}}{{
|EditorGiven3={{{editor3-first|{{{editor3-given|}}}}}}
<!--============ ASIN ===============-->
|EditorGiven4={{{editor4-first|{{{editor4-given|}}}}}}
  #if: {{{ASIN|}}}
|Editorlink1={{{editor-link|{{{editor1-link|}}}}}}
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=asin |input1={{{ASIN|}}} |input2={{{ASIN-TLD|}}} }}
|Editorlink2={{{editor2-link|}}}
}}{{
|Editorlink3={{{editor3-link|}}}
<!--============ BIBCODE ============-->
|Editorlink4={{{editor4-link|}}}
  #if: {{{BIBCODE|}}}
 
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=bibcode |input1={{{BIBCODE|}}} }}
|ARXIV={{{arxiv|}}}
}}{{
|ASIN={{{asin|{{{ASIN|}}}}}}
<!--============ DOI ================-->
|ASIN-TLD={{{asin-tld|}}}
#if:{{{DOI|}}}
|BIBCODE={{{bibcode|}}}
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=doi |input1={{{DOI|}}} |input2={{{DoiBroken|}}} |input3={{{template doc demo|}}}}}
|DOI={{{doi|{{{DOI|}}}}}}
}}{{
|DoiBroken={{{doi_brokendate|{{{doi_inactivedate|}}}}}}
<!--============ ISBN ===============-->
|ISBN={{{isbn|{{{ISBN|}}}}}}
  #if: {{{ISBN|}}}
|ISSN={{{issn|{{{ISSN|}}}}}}
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=isbn |input1={{{ISBN|}}} }}
|JFM={{{jfm|{{{JFM|}}}}}}
}}{{
|JSTOR={{{jstor|{{{JSTOR|}}}}}}
<!--============ ISSN ===============-->
|LCCN={{{lccn|{{{LCCN|}}}}}}
  #if: {{{ISSN|}}}
|MR={{{mr|{{{MR|}}}}}}
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=issn |input1={{{ISSN|}}} }}
|OCLC={{{oclc|{{{OCLC|}}}}}}
}}{{
|OL={{{ol|{{{OL|}}}}}}
<!--============ JFM ================-->
|OSTI={{{osti|{{{OSTI|}}}}}}
  #if: {{{JFM|}}}
|PMC={{{pmc|{{{PMC|}}}}}}
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=jfm |input1={{{JFM|}}} }}
|PMID={{{pmid|{{{PMID|}}}}}}
}}{{
|RFC={{{rfc|{{{RFC|}}}}}}
<!--============ JSTOR ==============-->
|SSRN={{{ssrn|{{{SSRN|}}}}}}
  #if: {{{JSTOR|}}}
|ZBL={{{zbl|}}}
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=jstor |input1={{{JSTOR|}}} }}
|ID={{{id|{{{ID|}}}}}}
}}{{
 
<!--============ LCCN ===============-->
|laysummary={{{laysummary|}}}
  #if: {{{LCCN|}}}
|laydate={{{laydate|}}}
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=lccn |input1={{{LCCN|}}} }}
|laysource={{{laysource|}}}
}}{{
 
<!--============ MR =================-->
|quote={{{quote|}}}
  #if: {{{MR|}}}
 
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=mr |input1={{{MR|}}} }}
|Ref={{{ref|}}}
}}{{
 
<!--============ OCLC ===============-->
|amp={{{lastauthoramp|}}}
  #if: {{{OCLC|}}}
|AuthorMask={{{author-mask|{{{authormask|}}}}}}
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=oclc |input1={{{OCLC|}}} }}
|AuthorSep={{#ifeq:{{{author-separator|}}}|;|&#059;|{{{author-separator|&#059;}}}}}&#32;
}}{{
|NameSep={{{author-name-separator|,}}}&#32;
<!--============ OL =================-->
|PS={{#if:{{{quote|}}}||{{{postscript|.}}}}}
  #if: {{{OL|}}}
|Sep={{#ifeq:{{{separator|{{{seperator}}} }}}|;|&#059;|{{{separator|{{{seperator|.}}} }}} }}
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=ol |input1={{{OL|}}} }}
|template doc demo={{{template doc demo|}}}
}}{{
|Trunc={{#if:{{{display-authors|}}}|{{{display-authors}}}|8}}
<!--============ OSTI ===============-->
}}{{#if:{{{access-date|}}}{{{accessdaymonth|}}}{{{accessday|}}}{{{accessmonthday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{dateformat|}}}{{{day|}}}{{{doilabel|}}}
  #if: {{{OSTI|}}}
|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}<noinclude>
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=osti |input1={{{OSTI|}}} }}
{{documentation}}
}}{{
<!--============ PMC ================-->
  #if: {{{PMC|}}}
  |{{{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 ===========-->
#if: {{{Archive|}}}
|{{{Sep|,}}}&#32;{{{Archive}}}[[Category:Pages using deprecated citation archive parameters]]
|{{
  #if:{{{ArchiveURL|}}}{{{ArchiveDate|}}}
  | {{{Sep|,}}}&#32;{{#ifeq: {{{DeadURL|}}} | no
    | {{#if:{{{ArchiveURL|}}}
      |{{Citation/make link|{{{ArchiveURL|}}}|{{#ifeq:{{{Sep}}}|.|A|a}}rchived}}&#32;from the original
      |{{#ifeq:{{{Sep}}}|.|A|a}}rchived
      }}
    | {{#ifeq:{{{Sep}}}|.|A|a}}rchived{{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}
      |{{#if:{{{ArchiveURL|}}}|&#32;from {{Citation/make link|{{{OriginalURL|{{{IncludedWorkURL|}}}}}}|the original}}}}
      }}
    }}{{#if:{{{ArchiveDate|}}}|&#32;on {{{ArchiveDate}}}}}{{
    #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 ============-->
  #if: {{{URL|}}}{{{IncludedWorkURL|}}}{{#ifeq:{{{DeadURL|}}}|no|{{{ArchiveURL|}}}|}}
  |{{
    #if: {{{Title|}}}{{{IncludedWorkTitle|}}}{{{TransTitle|}}}
    |<span class="printonly">{{{Sep|,}}}&#32;{{
                                      #if: {{{IncludedWorkURL|}}}
                                      |{{{IncludedWorkURL}}}
                                      |{{{URL}}}
                                    }}</span>
    |{{{Sep|,}}}&#32;{{
              #if: {{{IncludedWorkURL|}}}
              |{{{IncludedWorkURL}}}
              |{{{URL}}}
            }}
  }}{{
    #if: {{{AccessDate|}}}
    | <span class="reference-accessdate">{{#ifeq:{{{Sep|}}}|,|,&#32;r|.&#32;R}}etrieved {{{AccessDate}}}</span>
    }}
}}{{#if:{{{laysummary|}}}
  |{{{Sep|,}}}&#32;[{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}|&nbsp;&ndash;&nbsp;''<nowiki />{{{laysource}}}<nowiki />''}}
}}{{#if:{{{laydate|}}}
  | &#32;({{{laydate}}})
}}{{#if:{{{quote|}}}
  |{{{Sep|,}}}&#32;"{{{quote}}}"
}}{{{PS|}}}</span><noinclude>
{{Documentation}}
{{Derivative of Wikipedia}}
{{Derivative of Wikipedia}}
</noinclude>
</noinclude>

Revision as of 03:10, 26 August 2014

Template loop detected: Template:Citation/core

Documentation icon Template documentation[[{{fullurl:Template:Documentation/docspace:Template:Documentation/template page/doc| action=edit&preload=Template:Documentation/preload }} create]]