Jump to content

Template:Cite book: Difference between revisions

From IdeaWazaWiki
wikademia>Omegatron
explanation
wikademia>Wikademia
m 54 revisions
 
(41 intermediate revisions by 26 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;in {{{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: {{{series|}}} | , {{{series}}}
  |Place = {{{place|{{{location|}}}}}}
}}{{
  |PublicationPlace = {{{publication-place|{{{place|{{{location|}}}}}}}}}
  #if: {{{language|}}} | &#32;(in {{{language}}})
   |Publisher = {{{publisher|}}}
}}{{
   |PublicationDate = {{{publication-date|}}}
  #if: {{{publisher|}}}
   |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}
  | {{#if: {{{format|}}}{{{others|}}}{{{edition|}}} | ,&#32; | .&#32; }}{{  
   |EditorSurname2 = {{{editor2-last|{{{editor2-surname|}}}}}}
    #if: {{{location|}}}  
   |EditorSurname3 = {{{editor3-last|{{{editor3-surname|}}}}}}
    | {{{location}}}:&#32;
   |EditorSurname4 = {{{editor4-last|{{{editor4-surname|}}}}}}
   }}{{{publisher}}}
   |EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}}
}}{{
  |EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}}
   #if: {{{pages|}}} | ,&#32;{{{pages}}}
   |EditorGiven3={{{editor3-first|{{{editor3-given|}}}}}}
}}{{
  |EditorGiven4={{{editor4-first|{{{editor4-given|}}}}}}
  #if: {{{doi|}}} | . [[Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}} {{{doi}}}]
   |Editorlink1={{{editor-link|{{{editor1-link|}}}}}}
}}{{
  |Editorlink2={{{editor2-link|}}}
  #if: {{{id|}}} | . {{{id}}}
   |Editorlink3={{{editor3-link|}}}
}}{{
  |Editorlink4={{{editor4-link|}}}
  #if: {{{isbn|}}} | . ISBN {{{isbn}}}
  |language = {{{language|{{{in|}}}}}}
}}{{
  |format = {{{format|}}}
  #if: {{{oclc|}}} | . [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]
   |ID={{{id|{{{ID|}}}}}}
}}{{
   |ISBN={{{isbn|{{{ISBN|}}}}}}
  #if: {{{accessdate|}}}
   |OCLC={{{oclc|{{{OCLC|}}}}}}
  | . Retrieved on [[{{{accessdate}}}]]
  |Bibcode={{{bibcode|}}}
   | {{
  |DOI={{{doi|{{{DOI|}}}}}}
    #if: {{{accessyear|}}}
   |DoiBroken={{{doi_brokendate|}}}
    | . Retrieved {{
  |AccessDate={{{access-date|{{{accessdate|}}}}}}
      #if: {{{accessmonth|}}}
   |DateFormat={{{dateformat|none}}}
      | on [[{{{accessmonth}}} {{{accessyear}}}]]
  |quote = {{{quote|}}}
      | during [[{{{accessyear}}}]]
  |laysummary = {{{laysummary|}}}
    }}
   |laydate = {{{laydate|}}}
   }}
  |Ref={{{ref|}}}
}}.{{ #if: {{{quote|}}} | &nbsp;“{{{quote}}}”
  |Sep = {{{separator|{{{seperator|.}}}}}}
}}</cite><!--
   |PS = {{#if:{{{quote|}}}||{{{postscript|.}}}}}
 
  |amp = {{{lastauthoramp|}}}
This is a COinS tag (http://ocoins.info), which allows automated tools to parse the citation information:
}}<noinclude>
   --><span class="Z3988" title="ctx_ver=Z39.88-2004<!--
{{pp-template|small=yes}}
   -->&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook<!--
{{documentation}}
   -->&rft.genre=book<!--
</noinclude>
  -->&rft.btitle={{urlencode:{{{title|}}}}}<!--
   -->&rft.title={{urlencode:{{{title|}}}}}<!--
   -->{{#if: {{{chapter|}}}  | &rft.atitle={{urlencode:{{{chapter}}}}}   }}<!--
   -->{{#if: {{{last|}}}     | &rft.aulast={{urlencode:{{{last}}}}}     }}<!--
   -->{{#if: {{{first|}}}     | &rft.aufirst={{urlencode:{{{first}}}}}   }}<!--
   -->{{#if: {{{author|}}}   | &rft.au={{urlencode:{{{author}}}}}       }}<!--
   -->{{#if: {{{date|}}}  
      | &rft.date={{urlencode:{{{date}}}}}
      | {{#if: {{{year|}}} | &rft.date={{urlencode:{{{year}}}}} }}     }}<!--
   -->{{#if: {{{edition|}}}  | &rft.edition={{urlencode:{{{edition}}}}} }}<!--
   -->{{#if: {{{publisher|}}} | &rft.pub={{urlencode:{{{publisher}}}}}   }}<!--
   -->{{#if: {{{location|}}} | &rft.place={{urlencode:{{{location}}}}}   }}<!--
   -->{{#if: {{{pages|}}}     | &rft.pages={{urlencode:{{{pages}}}}}     }}<!--
   -->{{#if: {{{series|}}}   | &rft.series={{urlencode:{{{series}}}}}   }}<!--
   -->{{#if: {{{isbn|}}}     | &rft.isbn={{{isbn}}}                     }}<!--
  -->{{#if: {{{oclc|}}}      | &rft_id=info:oclcnum/{{{oclc}}}          }}<!--
  -->{{#if: {{{doi|}}}      | &rft_id=info:doi/{{urlencode:{{{doi}}}}}  }}<!--
  -->{{#if: {{{url|}}}      | &rft_id={{urlencode:{{{url}}}}}          }}<!--
  -->">&nbsp;</span></includeonly><noinclude>{{/doc}}</noinclude>

Latest revision as of 05:18, 4 April 2009

. 

[create] Template documentation