Template:Cite book: Difference between revisions

From Robin's SM-201 Website
Jump to navigation Jump to search
(Created page with "<includeonly><cite class="book" style="font-style:normal" {{ #if: {{{ref|}}} |{{#ifeq:{{{ref}}}|none||id="{{{ref}}}"}} |{{#if:{{{last|}}} | {{#if:{{{year|}}} | id="Refer...")
 
(Undo revision 87234 by Robinr78 (talk))
Tag: Undo
 
(5 intermediate revisions by the same user not shown)
Line 20: Line 20:
}}{{
}}{{
   #if: {{{author|}}}{{{last|}}}
   #if: {{{author|}}}{{{last|}}}
   | {{ #if: {{{coauthors|}}} | <nowiki>;</nowiki>&amp;#32;{{{coauthors}}} }}
   | {{ #if: {{{coauthors|}}} | <nowiki>;</nowiki>&#32;{{{coauthors}}} }}
}}{{
}}{{
   #if: {{{origdate|}}}
   #if: {{{origdate|}}}
   | &amp;#32;<nowiki>[</nowiki>{{{origdate}}}]
   | &#32;<nowiki>[</nowiki>{{{origdate}}}]
   | {{
   | {{
     #if: {{{origyear|}}}
     #if: {{{origyear|}}}
     | {{
     | {{
       #if: {{{origmonth|}}}
       #if: {{{origmonth|}}}
       | &amp;#32;<nowiki>[</nowiki>{{{origmonth}}} {{{origyear}}}]
       | &#32;<nowiki>[</nowiki>{{{origmonth}}} {{{origyear}}}]
       | &amp;#32;<nowiki>[</nowiki>{{{origyear}}}]
       | &#32;<nowiki>[</nowiki>{{{origyear}}}]
     }}
     }}
   }}
   }}
}}{{
}}{{
   #if: {{{date|}}}
   #if: {{{date|}}}
   | &amp;#32;({{{date}}})
   | &#32;({{{date}}})
   | {{
   | {{
     #if: {{{year|}}}
     #if: {{{year|}}}
     | {{
     | {{
       #if: {{{month|}}}
       #if: {{{month|}}}
       | &amp;#32;({{{month}}} {{{year}}})
       | &#32;({{{month}}} {{{year}}})
       | &amp;#32;({{{year}}})
       | &#32;({{{year}}})
     }}
     }}
   }}
   }}
Line 46: Line 46:
}}{{
}}{{
   #if: {{{chapter|}}}
   #if: {{{chapter|}}}
   | &amp;#32;"{{
   | &#32;"{{
     #if: {{{chapterurl|}}}
     #if: {{{chapterurl|}}}
     | [{{{chapterurl}}} {{{chapter}}}]
     | [{{{chapterurl}}} {{{chapter}}}]
Line 52: Line 52:
}}",}}{{
}}",}}{{
   #if: {{{editor|}}}
   #if: {{{editor|}}}
   | &amp;#32;in {{{editor}}}:  
   | &#32;in {{{editor}}}:  
}} <i>{{
}} <i>{{
   #if: {{{url|}}} | [{{{url}}} {{{title}}}] | {{{title}}}
   #if: {{{url|}}} | [{{{url}}} {{{title}}}] | {{{title}}}
}}</i>{{
}}</i>{{
   #if: {{{format|}}} | &amp;#32;({{{format}}})
   #if: {{{format|}}} | &#32;({{{format}}})
}}{{
}}{{
   #if: {{{others|}}} | , {{{others}}}
   #if: {{{others|}}} | , {{{others}}}
Line 64: Line 64:
   #if: {{{series|}}} | , {{{series}}}
   #if: {{{series|}}} | , {{{series}}}
}}{{
}}{{
     #if: {{{volume|{{{number|}}}}}} | &amp;#32;'''{{{volume|{{{number}}}}}}'''
     #if: {{{volume|{{{number|}}}}}} | &#32;'''{{{volume|{{{number}}}}}}'''
}}{{
}}{{
   #if: {{{language|}}} | &amp;#32;(in {{{language}}})
   #if: {{{language|}}} | &#32;(in {{{language}}})
}}{{
}}{{
   #if: {{{publisher|}}}
   #if: {{{publisher|}}}
   | {{#if: {{{format|}}}{{{others|}}}{{{edition|}}} | ,&amp;#32; | .&amp;#32; }}{{  
   | {{#if: {{{format|}}}{{{others|}}}{{{edition|}}} | ,&#32; | .&#32; }}{{  
     #if: {{{location|}}}  
     #if: {{{location|}}}  
     | {{{location}}}:&amp;#32;
     | {{{location}}}:&#32;
   }}{{{publisher}}}
   }}{{{publisher}}}
}}{{
}}{{
   #if: {{{pages|{{{page|}}}}}} | ,&amp;#32;{{{pages|{{{page}}}}}}
   #if: {{{pages|{{{page|}}}}}} | ,&#32;{{{pages|{{{page}}}}}}
}}{{
}}{{
   #if: {{{doi|}}} | . [[Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}} {{{doi}}}]
   #if: {{{doi|}}} | . [[Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}} {{{doi}}}]
Line 95: Line 95:
   }}</span>}}
   }}</span>}}
   }}
   }}
}}.{{ #if: {{{quote|}}} | &amp;nbsp;“{{{quote}}}”
}}.{{ #if: {{{quote|}}} | &nbsp;“{{{quote}}}”
}}</cite><!--
}}</cite><!--


This is a COinS tag (http://ocoins.info), which allows automated tools to parse the [[citation]] information:
This is a COinS tag (http://ocoins.info), which allows automated tools to parse the [[citation]] information:
   --><span class="Z3988" title="ctx_ver=Z39.88-2004<!--
   --><span class="Z3988" title="ctx_ver=Z39.88-2004<!--
   -->&amp;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_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:book}}<!--                  Field descriptions: http://www.openurl.info/registry/docs/mtx/info:ofi/fmt:kev:mtx:book
   -->&amp;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.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)
   -->&amp;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"
   -->&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|}}}  | &amp;rft.atitle={{urlencode:{{{chapter}}}}}  }}<!-- Chapter title. Chapter title is included if it is a distinct title, e.g. "The Push Westward."
   -->{{#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|}}}      | &amp;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: {{{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|}}}    | &amp;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: {{{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|}}}    | &amp;rft.au={{urlencode:{{{author}}}}}        }}<!-- This data element contains the full name of a single author, e.g. "Smith, Fred M", "Harry S. Truman".
   -->{{#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|}}}                                                    <!--
   -->{{#if: {{{date|}}}                                                    <!--
   --> | &amp;rft.date={{urlencode:{{{date}}}}}                                <!-- Date of publication.  ISO 8601 is allowed and preferred by us, although
   --> | &rft.date={{urlencode:{{{date}}}}}                                <!-- Date of publication.  ISO 8601 is allowed and preferred by us, although
   --> | {{#if: {{{year|}}}  | &amp;rft.date={{urlencode:{{{year}}}}} }}    }}<!-- "Book dates are assumed to be a single year."
   --> | {{#if: {{{year|}}}  | &rft.date={{urlencode:{{{year}}}}} }}    }}<!-- "Book dates are assumed to be a single year."
   -->{{#if: {{{edition|}}}  | &amp;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: {{{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|}}} | &amp;rft.pub={{urlencode:{{{publisher}}}}}    }}<!-- Publisher name. "Harper and Row"
   -->{{#if: {{{publisher|}}} | &rft.pub={{urlencode:{{{publisher}}}}}    }}<!-- Publisher name. "Harper and Row"
   -->{{#if: {{{location|}}}  | &amp;rft.place={{urlencode:{{{location}}}}}  }}<!-- Place of publication. "New York"
   -->{{#if: {{{location|}}}  | &rft.place={{urlencode:{{{location}}}}}  }}<!-- Place of publication. "New York"
   -->{{#if: {{{pages|{{{page|}}}}}}    | &amp;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: {{{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|}}}    | &amp;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: {{{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|}}}      | &amp;rft.isbn={{{isbn}}}                      }}<!-- International Standard Book Number (ISBN) ... i.e. "057117678X" but it may contain hyphens, e.g. "1-878067-73-7"
   -->{{#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|}}}      | &amp;rft_id=info:oclcnum/{{{oclc}}}          }}<!--  
   -->{{#if: {{{oclc|}}}      | &rft_id=info:oclcnum/{{{oclc}}}          }}<!--  
   -->{{#if: {{{doi|}}}      | &amp;rft_id=info:doi/{{urlencode:{{{doi}}}}}  }}<!--  
   -->{{#if: {{{doi|}}}      | &rft_id=info:doi/{{urlencode:{{{doi}}}}}  }}<!--  
   -->{{#if: {{{url|}}}      | &amp;rft_id={{urlencode:{{{url}}}}}          }}<!--  
   -->{{#if: {{{url|}}}      | &rft_id={{urlencode:{{{url}}}}}          }}<!--  
   -->"><span style="display: none;">&amp;nbsp;</span></span></includeonly><noinclude> </noinclude></text>
   -->"><span style="display: none;">&nbsp;</span></span></includeonly><noinclude> </noinclude>

Latest revision as of 15:59, 21 February 2023