Difference between revisions of "Template:Cite book"

From Self-sufficiency
Jump to: navigation, search
m (Protected "Template:Cite book": high-use template [edit=sysop:move=sysop])
(Created page with '{{Citation/core |Citation class=book |AuthorMask = {{{authormask|{{{author-mask|}}}}}} |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{…')
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|{{{coauthor|{{{coauthors|}}}}}}}}}}}}}}}
   #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|}}}}}}}}}}}}
    | {{
+
  |Given2 = {{{first2|{{{given2|}}}}}}
      #if: {{{last|}}}
+
  |Given3 = {{{first3|{{{given3|}}}}}}
      | {{{last}}}{{ #if: {{{first|}}} | , {{{first}}} }}
+
  |Given4 = {{{first4|{{{given4|}}}}}}
      | {{{author}}}
+
  |Given5 = {{{first5|{{{given5|}}}}}}
    }}
+
  |Given6 = {{{first6|{{{given6|}}}}}}
  }}
+
  |Given7 = {{{first7|{{{given7|}}}}}}
}}{{
+
  |Given8 = {{{first8|{{{given8|}}}}}}
   #if: {{{author|{{{last|}}}}}}
+
  |Given9 = {{{first9|{{{given9|}}}}}}
   | {{ #if: {{{coauthors|}}} | <nowiki>;</nowiki>&#32;{{{coauthors}}} }}
+
  |Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}
}}{{
+
  |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}}
   #if: {{{origdate|}}}
+
   |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}}
   | &#32;<nowiki>[</nowiki>{{{origdate}}}]
+
   |Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}}
   | {{
+
  |Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}}
    #if: {{{origyear|}}}
+
  |Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}}
    | {{
+
  |Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}}
      #if: {{{origmonth|}}}
+
   |Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}}
      | &#32;<nowiki>[</nowiki>{{{origmonth}}} {{{origyear}}}]
+
   |Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}}
      | &#32;<nowiki>[</nowiki>{{{origyear}}}]
+
   |Year={{{year|{{    <!-- attempt to derive year from date, if possible -->
    }}
+
            #if: {{{date|}}}
  }}
+
            |{{
}}{{
+
                #iferror:{{#time:Y|{{{date|}}} }}
   #if: {{{date|}}}
+
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
  | &#32;({{{date}}})
+
                |{{#time:Y|{{{date|}}} }}
  | {{
+
              }}
    #if: {{{year|}}}
+
            |{{{publication-date|}}} <!-- last resort -->
    | {{
+
          }}
      #if: {{{month|}}}
+
        }}}
      | &#32;({{{month}}} {{{year}}})
+
  |YearNote = {{{origyear|}}}
      | &#32;({{{year}}})
+
   |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}}
    }}
+
  |Title={{{title|}}}
   }}
+
  |TransTitle={{{trans_chapter|}}}
}}{{ #if: {{{author|{{{last|}}}}}} | .
+
  |TransItalic={{{trans_title|}}}
}}{{
+
  |URL={{{url|}}}
  #if: {{{chapter|}}}
+
  |Series={{{series|}}}
  | &#32;{{
+
  |Volume = {{{volume|}}}
    #if: {{{chapterurl|}}}
+
   |Issue = {{{issue|{{{number|}}}}}}
    | [{{{chapterurl}}} {{{chapter}}}]
+
  |At = {{
    | {{{chapter}}}
+
          #if: {{{journal|{{{periodical|{{{newspaper|{{{magazine|}}}}}}}}}}}}
}}”,}}{{
+
          |{{{pages|{{{page|{{{at|}}}}}}}}}
   #if: {{{editor|}}}
+
          |{{
   | &#32;{{{editor}}}
+
            #if: {{{page|}}}
}} ''{{
+
            |{{#if:{{{nopp|}}}||p.&nbsp;}}{{{page}}}
   #if: {{{url|}}} | [{{{url}}} {{{title}}}] | {{{title}}}
+
            |{{
}}''{{
+
                #if: {{{pages|}}}
   #if: {{{format|}}} | &#32;({{{format}}})
+
                |{{#if:{{{nopp|}}}||pp.&nbsp;}}{{{pages}}}
}}{{
+
                |{{{at|}}}
   #if: {{{others|}}} | , {{{others}}}
+
              }}
}}{{
+
          }}
   #if: {{{edition|}}} | , {{{edition}}}
+
        }}
}}{{
+
   |IncludedWorkTitle = {{{chapter|{{{contribution|}}}}}}
   #if: {{{language|}}} | &#32;(in {{{language}}})
+
   |IncludedWorkURL = {{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}}
}}{{
+
   |Other = {{{others|}}}
   #if: {{{page|{{{pages|}}}}}} | ,&#32;{{{page|{{{pages}}}}}}
+
  |Edition = {{{edition|}}}
}}{{
+
  |Place = {{{place|{{{location|}}}}}}
   #if: {{{publisher|}}}
+
  |PublicationPlace = {{{publication-place|{{{place|{{{location|}}}}}}}}}
   | {{#if: {{{format|}}}{{{others|}}}{{{edition|}}}{{{pages|}}} | ,&#32; | .&#32; }}{{  
+
  |Publisher = {{{publisher|}}}
    #if: {{{location|}}}  
+
   |PublicationDate = {{{publication-date|}}}
    | {{{location}}}:&#32;
+
  |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}
   }}{{{publisher}}}
+
   |EditorSurname2 = {{{editor2-last|{{{editor2-surname|}}}}}}
}}{{
+
  |EditorSurname3 = {{{editor3-last|{{{editor3-surname|}}}}}}
   #if: {{{doi|}}} | . [[Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi}}} {{{doi}}}]
+
   |EditorSurname4 = {{{editor4-last|{{{editor4-surname|}}}}}}
}}{{
+
  |EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}}
   #if: {{{id|}}} | . {{{id}}}
+
   |EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}}
}}{{
+
  |EditorGiven3={{{editor3-first|{{{editor3-given|}}}}}}
   #if: {{{accessdate|}}}
+
   |EditorGiven4={{{editor4-first|{{{editor4-given|}}}}}}
  | . Retrieved on [[{{{accessdate}}}]]
+
  |Editorlink1={{{editor-link|{{{editor1-link|}}}}}}
   | {{
+
  |Editorlink2={{{editor2-link|}}}
    #if: {{{accessyear|}}}
+
  |Editorlink3={{{editor3-link|}}}
    | . Retrieved {{
+
   |Editorlink4={{{editor4-link|}}}
      #if: {{{accessmonth|}}}
+
   |language = {{{language|{{{in|}}}}}}
      | on [[{{{accessmonth}}} {{{accessyear}}}]]
+
  |format = {{{format|}}}
      | during [[{{{accessyear}}}]]
+
  |ID={{{id|{{{ID|}}}}}}
    }}
+
  |ISBN={{{isbn|{{{ISBN|}}}}}}
  }}
+
  |OCLC={{{oclc|{{{OCLC|}}}}}}
}}.{{ #if: {{{quote|}}} | &nbsp;“{{{quote}}}
+
  |Bibcode={{{bibcode|}}}
}}</cite></includeonly><noinclude>{{Documentation}}</noinclude>
+
   |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>
 +
{{pp-template|small=yes}}
 +
{{documentation}}
 +
</noinclude>

Revision as of 13:05, 10 January 2010

.