On November 6th, 2024, the 9,000th article was added to the SuccuWiki!

Template:Cite book: Difference between revisions

From SuccuWiki - The Wiki of the Succubi
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 4: Line 4:
   |{{#if:{{{last|}}} | {{#if:{{{year|}}} | id="Reference-{{{last}}}-{{{year}}}" }} }}
   |{{#if:{{{last|}}} | {{#if:{{{year|}}} | id="Reference-{{{last}}}-{{{year}}}" }} }}
}}>{{
}}>{{
   #if: {{{author|}}}{{{last|}}}
   #if: {{{author|{{{last|}}}}}}
   | {{
   | {{
     #if: {{{authorlink|}}}
     #if: {{{authorlink|}}}
Line 19: Line 19:
   }}
   }}
}}{{
}}{{
   #if: {{{author|}}}{{{last|}}}
   #if: {{{author|{{{last|}}}}}}
   | {{ #if: {{{coauthors|}}} | <nowiki>;</nowiki>&#32;{{{coauthors}}} }}
   | {{ #if: {{{coauthors|}}} | <nowiki>;</nowiki>&#32;{{{coauthors}}} }}
}}{{
}}{{
Line 43: Line 43:
     }}
     }}
   }}
   }}
}}{{ #if: {{{author|}}}{{{last|}}} | .
}}{{ #if: {{{author|{{{last|}}}}}} | .
}}{{
}}{{
   #if: {{{chapter|}}}
   #if: {{{chapter|}}}
   | &#32;"{{
   | &#32;{{
     #if: {{{chapterurl|}}}
     #if: {{{chapterurl|}}}
     | [{{{chapterurl}}} {{{chapter}}}]
     | [{{{chapterurl}}} {{{chapter}}}]
     | {{{chapter}}}
     | {{{chapter}}}
}}",}}{{
}},}}{{
   #if: {{{editor|}}}
   #if: {{{editor|}}}
   | &#32;in {{{editor}}}:
   | &#32;{{{editor}}}
}} <i>{{
}} ''{{
   #if: {{{url|}}} | [{{{url}}} {{{title}}}] | {{{title}}}
   #if: {{{url|}}} | [{{{url}}} {{{title}}}] | {{{title}}}
}}</i>{{
}}''{{
   #if: {{{format|}}} | &#32;({{{format}}})
   #if: {{{format|}}} | &#32;({{{format}}})
}}{{
}}{{
Line 62: Line 62:
   #if: {{{edition|}}} | , {{{edition}}}
   #if: {{{edition|}}} | , {{{edition}}}
}}{{
}}{{
   #if: {{{series|}}} | , {{{series}}}
   #if: {{{language|}}} | &#32;(in {{{language}}})
}}{{
}}{{
   #if: {{{language|}}} | &#32;(in {{{language}}})
   #if: {{{pages|}}} | ,&#32;{{{pages}}}
}}{{
}}{{
   #if: {{{publisher|}}}
   #if: {{{publisher|}}}
   | {{#if: {{{format|}}}{{{others|}}}{{{edition|}}} | ,&#32; | .&#32; }}{{  
   | {{#if: {{{format|}}}{{{others|}}}{{{edition|}}}{{{pages|}}} | ,&#32; | .&#32; }}{{  
     #if: {{{location|}}}  
     #if: {{{location|}}}  
     | {{{location}}}:&#32;
     | {{{location}}}:&#32;
   }}{{{publisher}}}
   }}{{{publisher}}}
}}{{
}}{{
  #if: {{{pages|{{{page|}}}}}} | ,&#32;{{{pages|{{{page}}}}}}
   #if: {{{doi|}}} | . [[Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi}}} {{{doi}}}]
}}{{
   #if: {{{doi|}}} | . [[Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}} {{{doi}}}]
}}{{
}}{{
   #if: {{{id|}}} | . {{{id}}}
   #if: {{{id|}}} | . {{{id}}}
}}{{
}}{{
   #if: {{{isbn|}}} | . ISBN {{{isbn}}}
   #if: {{{accessdate|}}}
}}{{
   | . Retrieved on {{{accessdate}}}
   #if: {{{oclc|}}} | . [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]
}}{{
  #if: {{{url|}}} | {{
  #if: {{{accessdate|}}} |
  . Retrieved on [[{{{accessdate}}}]]
   | {{
   | {{
     #if: {{{accessyear|}}}
     #if: {{{accessyear|}}}
     | . Retrieved {{
     | . Retrieved {{
       #if: {{{accessmonth|}}}
       #if: {{{accessmonth|}}}
       | on [[{{{accessmonth}}} {{{accessyear}}}]]
       | on {{{accessmonth}}} {{{accessyear}}}
       | during [[{{{accessyear}}}]]
       | during {{{accessyear}}}
  }}}}
    }}
   }}
   }}
}}.{{ #if: {{{quote|}}} | &nbsp;“{{{quote}}}”
}}.{{ #if: {{{quote|}}} | &nbsp;“{{{quote}}}”
}}</cite><!--
}}</cite></includeonly><noinclude>
 
<!-- Categories, interwikis and TemplateData goes to the /doc subpage -->
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<!--
  -->&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:book}}<!--                  Field descriptions: http://www.openurl.info/registry/docs/mtx/info:ofi/fmt:kev:mtx:book
  -->&rft.genre=book<!--                                                        book: a publication that is complete in one part or a designated finite number of parts, often identified with an ISBN.  (genre could also be bookitem, conference, proceeding, report, document, or unknown)
  -->&rft.btitle={{urlencode:{{{title|}}}}}<!--                                The title of the book. This can also be expressed as title, for compatibility with version 0.1. "moby dick or the white whale"
  -->{{#if: {{{chapter|}}}  | &rft.atitle={{urlencode:{{{chapter}}}}}  }}<!-- Chapter title. Chapter title is included if it is a distinct title, e.g. "The Push Westward."
  -->{{#if: {{{last|}}}      | &rft.aulast={{urlencode:{{{last}}}}}      }}<!-- First author's family name. This may be more than one word ... e.g. Smith, Fred James is recorded as "aulast=smith"
  -->{{#if: {{{first|}}}    | &rft.aufirst={{urlencode:{{{first}}}}}    }}<!-- First author's given name or names or initials. This data element may contain multiple words and punctuation, e.g. "Fred F", "Fred James"
  -->{{#if: {{{author|}}}    | &rft.au={{urlencode:{{{author}}}}}        }}<!-- This data element contains the full name of a single author, e.g. "Smith, Fred M", "Harry S. Truman".
  -->{{#if: {{{date|}}}      | &rft.date={{urlencode:{{{date}}}}}<!--
  -->{{#if: {{{year|}}}      | &rft.date={{urlencode:{{{year}}}}} }}    }}<!-- Date of publication. Book dates are assumed to be a single year. (or ISO 8601)
  -->{{#if: {{{edition|}}}  | &rft.edition={{urlencode:{{{edition}}}}}  }}<!-- Statement of the edition of the book. This will usually be a phrase, with or without numbers, but may be a single number, e.g. "First edition", "4th ed."
  -->{{#if: {{{publisher|}}} | &rft.pub={{urlencode:{{{publisher}}}}}    }}<!-- Publisher name. "Harper and Row"
  -->{{#if: {{{location|}}}  | &rft.place={{urlencode:{{{location}}}}}  }}<!-- Place of publication. "New York"
  -->{{#if: {{{pages|{{{page|}}}}}}    | &rft.pages={{urlencode:{{{pages|{{{page}}}}}}}}      }}<!-- Start and end pages for parts of a book, e.g. "124-147" ... This data element includes the OpenURL 0.1 definition of "pages".
  -->{{#if: {{{series|}}}    | &rft.series={{urlencode:{{{series}}}}}    }}<!-- The title of a series in which the book or document was issued. There may also be an ISSN associated with the series.
  -->{{#if: {{{isbn|}}}      | &rft.isbn={{{isbn}}}                      }}<!-- International Standard Book Number (ISBN) ... i.e. "057117678X" but it may contain hyphens, e.g. "1-878067-73-7"
  -->{{#if: {{{oclc|}}}      | &rft_id=info:oclcnum/{{{oclc}}}          }}<!--
  -->{{#if: {{{doi|}}}      | &rft_id=info:doi/{{urlencode:{{{doi}}}}}  }}<!--
  -->{{#if: {{{url|}}}      | &rft_id={{urlencode:{{{url}}}}}          }}<!--
  -->">&nbsp;</span><noinclude>{{pp-template|small=yes}}{{documentation}}</noinclude>
</includeonly>

Latest revision as of 08:24, 12 March 2014