.

Template:Cite book: Difference between revisions

Wikicars, a place to share your automotive knowledge
Jump to navigationJump to search
No edit summary
 
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly><cite class="book" style="font-style:normal" {{
{{Citation/core
  #if: {{{ref|}}}
|Citation class=book
   |{{#ifeq:{{{ref}}}|none||id="{{{ref}}}"}}
  |AuthorMask = {{{authormask|{{{author-mask|}}}}}}
  |{{#if:{{{last|}}} | {{#if:{{{year|}}} | id="Reference-{{{last}}}-{{{year}}}" }} }}
   |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{{author|}}}}}}}}}}}}}}}}}}}}}}}}
}}>{{
  |Surname2 = {{{last2|{{{surname2|{{{author2|}}}}}}}}}
  #if: {{{author|{{{last|}}}}}}
   |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
   | {{
  |Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}}
    #if: {{{authorlink|}}}
  |Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}}
    | [[{{{authorlink}}}|{{
  |Surname6 = {{{last6|{{{surname6|{{{author6|}}}}}}}}}
      #if: {{{last|}}}
  |Surname7 = {{{last7|{{{surname7|{{{author7|}}}}}}}}}
      | {{{last}}}{{ #if: {{{first|}}} | , {{{first}}} }}
  |Surname8 = {{{last8|{{{surname8|{{{author8|}}}}}}}}}
      | {{{author}}}
  |Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}}
    }}]]
   |Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}}
    | {{
 
      #if: {{{last|}}}
   |Given2 = {{{first2|{{{given2|}}}}}}
      | {{{last}}}{{ #if: {{{first|}}} | , {{{first}}} }}
   |Given3 = {{{first3|{{{given3|}}}}}}
      | {{{author}}}
   |Given4 = {{{first4|{{{given4|}}}}}}
    }}
  |Given5 = {{{first5|{{{given5|}}}}}}
  }}
  |Given6 = {{{first6|{{{given6|}}}}}}
}}{{
  |Given7 = {{{first7|{{{given7|}}}}}}
  #if: {{{author|{{{last|}}}}}}
   |Given8 = {{{first8|{{{given8|}}}}}}
   | {{ #if: {{{coauthors|}}} | ,&#32;{{{coauthors}}} }}
   |Given9 = {{{first9|{{{given9|}}}}}}
}}{{
  |Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}
   #if: {{{origdate|}}}
  |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}}
   | &#32;<nowiki>[</nowiki>{{{origdate}}}]
  |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}}
   | {{
   |Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}}
    #if: {{{origyear|}}}
  |Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}}
    | {{
   |Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}}
      #if: {{{origmonth|}}}
   |Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}}
      | &#32;<nowiki>[</nowiki>{{{origmonth}}} {{{origyear}}}]
   |Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}}
      | &#32;<nowiki>[</nowiki>{{{origyear}}}]
  |Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}}
    }}
  |Coauthors = {{{coauthor|{{{coauthors|}}}}}}
   }}
  |Year={{{year|{{   <!-- attempt to derive year from date, if possible -->
}}{{
            #if: {{{date|}}}
  #if: {{{date|}}}
            |{{
  | &#32;({{{date}}})
                #iferror:{{#time:Y|{{{date|}}} }}
   | {{
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
    #if: {{{year|}}}
                |{{#time:Y|{{{date|}}} }}
    | {{
              }}
      #if: {{{month|}}}
            |{{{publication-date|}}} <!-- last resort -->
      | &#32;({{{month}}} {{{year}}})
          }}
      | &#32;({{{year}}})
        }}}
    }}
  |YearNote = {{{origyear|}}}
  }}
   |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}}
}}{{ #if: {{{author|{{{last|}}}}}} | .
  |Title={{{title|}}}
}}{{
  |TransTitle={{{trans_chapter|}}}
  #if: {{{chapter|}}}
  |TransItalic={{{trans_title|}}}
   | &#32;“{{
  |URL={{#if:{{{archiveurl|}}}|{{{archiveurl|}}}|{{{url|}}}}}
    #if: {{{chapterurl|}}}
   |ArchiveURL = {{{archiveurl|}}}
    | [{{{chapterurl}}} {{{chapter}}}]
   |OriginalURL = {{{url|}}}
    | {{{chapter}}}
  |ArchiveDate= {{{archivedate|}}}
}}”,}}{{
  |TitleType={{{type|}}}
   #if: {{{editor|}}}
  |Series={{{series|}}}
   | &#32;{{{editor}}}:
  |Volume = {{{volume|}}}
}} <i>{{
  |Issue = {{{issue|{{{number|}}}}}}
   #if: {{{url|}}} | [{{{url}}} {{{title}}}] | {{{title}}}
  |At = {{
}}</i>{{
          #if: {{{journal|{{{periodical|{{{newspaper|{{{magazine|}}}}}}}}}}}}
  #if: {{{format|}}} | &#32;({{{format}}})
          |{{{pages|{{{page|{{{at|}}}}}}}}}
}}{{
          |{{
  #if: {{{others|}}} | , {{{others}}}
            #if: {{{page|}}}
}}{{
            |{{#if:{{{nopp|}}}||p.&nbsp;}}{{{page}}}
  #if: {{{edition|}}} | , {{{edition}}}
            |{{
}}{{
                #if: {{{pages|}}}
  #if: {{{language|}}} | &#32;(in {{{language}}})
                |{{#if:{{{nopp|}}}||pp.&nbsp;}}{{{pages}}}
}}{{
                |{{{at|}}}
  #if: {{{publisher|}}}
              }}
  | {{#if: {{{format|}}}{{{others|}}}{{{edition|}}} | ,&#32; | .&#32; }}{{
          }}
    #if: {{{location|}}}  
        }}
    | {{{location}}}:&#32;
  |IncludedWorkTitle = {{{chapter|{{{contribution|}}}}}}
   }}{{{publisher}}}
  |IncludedWorkURL = {{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}}
}}{{
  |Other = {{{others|}}}
  #if: {{{pages|}}} | ,&#32;{{{pages}}}
  |Edition = {{{edition|}}}
}}{{
  |Place = {{{place|{{{location|}}}}}}
  #if: {{{doi|}}} | . [[Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi}}} {{{doi}}}]
  |PublicationPlace = {{{publication-place|{{{place|{{{location|}}}}}}}}}
}}{{
  |Publisher = {{{publisher|}}}
  #if: {{{id|}}} | . {{{id}}}
  |PublicationDate = {{{publication-date|}}}
}}{{
  |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}
  #if: {{{accessdate|}}}
  |EditorSurname2 = {{{editor2-last|{{{editor2-surname|}}}}}}
   | . Retrieved on [[{{{accessdate}}}]]
  |EditorSurname3 = {{{editor3-last|{{{editor3-surname|}}}}}}
   | {{
  |EditorSurname4 = {{{editor4-last|{{{editor4-surname|}}}}}}
    #if: {{{accessyear|}}}
  |EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}}
    | . Retrieved {{
  |EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}}
      #if: {{{accessmonth|}}}
  |EditorGiven3={{{editor3-first|{{{editor3-given|}}}}}}
      | on [[{{{accessmonth}}} {{{accessyear}}}]]
  |EditorGiven4={{{editor4-first|{{{editor4-given|}}}}}}
      | during [[{{{accessyear}}}]]
  |Editorlink1={{{editor-link|{{{editor1-link|}}}}}}
    }}
  |Editorlink2={{{editor2-link|}}}
  }}
  |Editorlink3={{{editor3-link|}}}
}}.{{ #if: {{{quote|}}} | &nbsp;“{{{quote}}}
  |Editorlink4={{{editor4-link|}}}
}}</cite></includeonly><noinclude>{{/doc}}</noinclude>
  |language = {{{language|{{{in|}}}}}}
  |format = {{{format|}}}
  |ID={{{id|{{{ID|}}}}}}
  |ISBN={{{isbn|{{{ISBN|}}}}}}
  |OCLC={{{oclc|{{{OCLC|}}}}}}
  |Bibcode={{{bibcode|}}}
  |DOI={{{doi|{{{DOI|}}}}}}
  |DoiBroken={{{doi_brokendate|}}}
  |AccessDate={{{access-date|{{{accessdate|}}}}}}
  |DateFormat={{{dateformat|none}}}
  |quote = {{{quote|}}}
  |laysummary = {{{laysummary|}}}
  |laydate = {{{laydate|}}}
  |Ref={{{ref|}}}
  |Sep = {{{separator|{{{seperator|.}}}}}}
  |PS = {{#if:{{{quote|}}}||{{{postscript|.}}}}}
  |AuthorSep = {{#ifeq:{{{author-separator|}}}|;|&#059;|{{{author-separator|&#059;}}}}}&#32;
  |NameSep = {{{author-name-separator|,}}}&#32;
  |Trunc = {{{display-authors|8}}}
  |amp = {{{lastauthoramp|}}}
}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}<noinclude>
[[Category:Templates]]
</noinclude>

Latest revision as of 22:48, 10 December 2010