Jump to content

Template:Cite book: Difference between revisions

From IdeaWazaWiki
wikademia>Omegatron
adding explicit ISBN and OCLC fields, as discussed on talk page
wikademia>Wikademia
m 54 revisions
 
(48 intermediate revisions by 28 users 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}}}"}}
   |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{{author|}}}}}}}}}}}}}}}}}}}}}}}}
  |{{#if:{{{last|}}} | {{#if:{{{year|}}} | id="Reference-{{{last}}}-{{{year}}}" }} }}
   |Surname2 = {{{last2|{{{surname2|{{{author2|{{{coauthor|{{{coauthors|}}}}}}}}}}}}}}}
}}>{{
  |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
  #if: {{{author|{{{last|}}}}}}
  |Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}}
   | {{
  |Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}}
    #if: {{{authorlink|}}}
   |Surname6 = {{{last6|{{{surname6|{{{author6|}}}}}}}}}
    | [[{{{authorlink}}}|{{
   |Surname7 = {{{last7|{{{surname7|{{{author7|}}}}}}}}}
      #if: {{{last|}}}
  |Surname8 = {{{last8|{{{surname8|{{{author8|}}}}}}}}}
      | {{{last}}}{{ #if: {{{first|}}} | , {{{first}}} }}
   |Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}}
      | {{{author}}}
   |Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}}
    }}]]
  |Given2 = {{{first2|{{{given2|}}}}}}
    | {{
  |Given3 = {{{first3|{{{given3|}}}}}}
      #if: {{{last|}}}
   |Given4 = {{{first4|{{{given4|}}}}}}
      | {{{last}}}{{ #if: {{{first|}}} | , {{{first}}} }}
   |Given5 = {{{first5|{{{given5|}}}}}}
      | {{{author}}}
  |Given6 = {{{first6|{{{given6|}}}}}}
    }}
  |Given7 = {{{first7|{{{given7|}}}}}}
  }}
  |Given8 = {{{first8|{{{given8|}}}}}}
}}{{
   |Given9 = {{{first9|{{{given9|}}}}}}
   #if: {{{author|{{{last|}}}}}}
  |Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}
   | {{ #if: {{{coauthors|}}} | <nowiki>;</nowiki>&#32;{{{coauthors}}} }}
   |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}}
}}{{
  |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}}
   #if: {{{origdate|}}}
  |Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}}
  | &#32;<nowiki>[</nowiki>{{{origdate}}}]
   |Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}}
   | {{
   |Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}}
    #if: {{{origyear|}}}
  |Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}}
    | {{
  |Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}}
      #if: {{{origmonth|}}}
  |Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}}
      | &#32;<nowiki>[</nowiki>{{{origmonth}}} {{{origyear}}}]
   |Year={{{year|{{    <!-- attempt to derive year from date, if possible -->
      | &#32;<nowiki>[</nowiki>{{{origyear}}}]
            #if: {{{date|}}}
    }}
            |{{
   }}
                #iferror:{{#time:Y|{{{date|}}} }}
}}{{
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
  #if: {{{date|}}}
                |{{#time:Y|{{{date|}}} }}
  | &#32;({{{date}}})
              }}
   | {{
            |{{{publication-date|}}} <!-- last resort -->
    #if: {{{year|}}}
          }}
    | {{
        }}}
      #if: {{{month|}}}
   |YearNote = {{{origyear|}}}
      | &#32;({{{month}}} {{{year}}})
  |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}}
      | &#32;({{{year}}})
  |Title={{{title|}}}
    }}
   |URL={{{url|}}}
   }}
  |Series={{{series|}}}
}}{{ #if: {{{author|{{{last|}}}}}} | .
   |Volume = {{{volume|}}}
}}{{
  |Issue = {{{issue|{{{number|}}}}}}
  #if: {{{chapter|}}}
   |At = {{
   | &#32;“{{
          #if: {{{journal|{{{periodical|{{{newspaper|{{{magazine|}}}}}}}}}}}}
    #if: {{{chapterurl|}}}
          |{{{pages|{{{page|{{{at|}}}}}}}}}
    | [{{{chapterurl}}} {{{chapter}}}]
          |{{
    | {{{chapter}}}
            #if: {{{page|}}}
}}”,}}{{
            |{{#if:{{{nopp|}}}||p.&nbsp;}}{{{page}}}
   #if: {{{editor|}}}
            |{{
   | &#32;{{{editor}}}:
                #if: {{{pages|}}}
}} <i>{{
                |{{#if:{{{nopp|}}}||pp.&nbsp;}}{{{pages}}}
  #if: {{{url|}}} | [{{{url}}} {{{title}}}] | {{{title}}}
                |{{{at|}}}
}}</i>{{
              }}
   #if: {{{format|}}} | &#32;({{{format}}})
          }}
}}{{
        }}
  #if: {{{others|}}} | , {{{others}}}
  |IncludedWorkTitle = {{{chapter|{{{contribution|}}}}}}
}}{{
   |IncludedWorkURL = {{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}}
  #if: {{{edition|}}} | , {{{edition}}}
  |Other = {{{others|}}}
}}{{
  |Edition = {{{edition|}}}
  #if: {{{language|}}} | &#32;(in {{{language}}})
  |Place = {{{place|{{{location|}}}}}}
}}{{
  |PublicationPlace = {{{publication-place|{{{place|{{{location|}}}}}}}}}
  #if: {{{publisher|}}}
  |Publisher = {{{publisher|}}}
   | {{#if: {{{format|}}}{{{others|}}}{{{edition|}}} | ,&#32; | .&#32; }}{{  
  |PublicationDate = {{{publication-date|}}}
    #if: {{{location|}}}  
  |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}
    | {{{location}}}:&#32;
  |EditorSurname2 = {{{editor2-last|{{{editor2-surname|}}}}}}
   }}{{{publisher}}}
  |EditorSurname3 = {{{editor3-last|{{{editor3-surname|}}}}}}
}}{{
  |EditorSurname4 = {{{editor4-last|{{{editor4-surname|}}}}}}
   #if: {{{pages|}}} | ,&#32;{{{pages}}}
  |EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}}
}}{{
  |EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}}
   #if: {{{doi|}}} | . [[Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi}}} {{{doi}}}]
  |EditorGiven3={{{editor3-first|{{{editor3-given|}}}}}}
}}{{
  |EditorGiven4={{{editor4-first|{{{editor4-given|}}}}}}
  #if: {{{id|}}} | . {{{id}}}
  |Editorlink1={{{editor-link|{{{editor1-link|}}}}}}
}}{{
  |Editorlink2={{{editor2-link|}}}
  #if: {{{isbn|}}} | . ISBN {{{isbn}}}
  |Editorlink3={{{editor3-link|}}}
}}{{
  |Editorlink4={{{editor4-link|}}}
  #if: {{{oclc|}}} | . {{OCLC|1={{{oclc}}}}}
  |language = {{{language|{{{in|}}}}}}
}}{{
  |format = {{{format|}}}
  #if: {{{accessdate|}}}
  |ID={{{id|{{{ID|}}}}}}
  | . Retrieved on [[{{{accessdate}}}]]
  |ISBN={{{isbn|{{{ISBN|}}}}}}
  | {{
  |OCLC={{{oclc|{{{OCLC|}}}}}}
    #if: {{{accessyear|}}}
  |Bibcode={{{bibcode|}}}
    | . Retrieved {{
  |DOI={{{doi|{{{DOI|}}}}}}
      #if: {{{accessmonth|}}}
  |DoiBroken={{{doi_brokendate|}}}
      | on [[{{{accessmonth}}} {{{accessyear}}}]]
  |AccessDate={{{access-date|{{{accessdate|}}}}}}
      | during [[{{{accessyear}}}]]
  |DateFormat={{{dateformat|none}}}
    }}
  |quote = {{{quote|}}}
   }}
  |laysummary = {{{laysummary|}}}
}}.{{ #if: {{{quote|}}} | &nbsp;“{{{quote}}}”
  |laydate = {{{laydate|}}}
}}</cite></includeonly><noinclude>{{/doc}}</noinclude>
  |Ref={{{ref|}}}
  |Sep = {{{separator|{{{seperator|.}}}}}}
  |PS = {{#if:{{{quote|}}}||{{{postscript|.}}}}}
  |amp = {{{lastauthoramp|}}}
}}<noinclude>
{{pp-template|small=yes}}
{{documentation}}
</noinclude>

Latest revision as of 05:18, 4 April 2009

. 

[create] Template documentation