Still working to recover. Please don't edit quite yet.

Difference between revisions of "Template:Cite book"

From Anarchopedia
Jump to: navigation, search
Line 63: Line 63:
 
}}{{
 
}}{{
 
   #if: {{{series|}}} | , {{{series}}}
 
   #if: {{{series|}}} | , {{{series}}}
}}{{
 
    #if: {{{volume|{{{number|}}}}}} |  '''{{{volume|{{{number}}}}}}'''
 
 
}}{{
 
}}{{
 
   #if: {{{language|}}} |  (in {{{language}}})
 
   #if: {{{language|}}} |  (in {{{language}}})
Line 74: Line 72:
 
   }}{{{publisher}}}
 
   }}{{{publisher}}}
 
}}{{
 
}}{{
   #if: {{{pages|{{{page|}}}}}} | , {{{pages|{{{page}}}}}}
+
   #if: {{{pages|}}} | , {{{pages}}}
 
}}{{
 
}}{{
 
   #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 84: Line 82:
 
   #if: {{{oclc|}}} | . [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]
 
   #if: {{{oclc|}}} | . [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]
 
}}{{
 
}}{{
   #if: {{{url|}}}{{{chapterurl|}}} | {{
+
   #if: {{{accessdate|}}}
   #if: {{{accessdate|}}} |
+
   | . Retrieved on [[{{{accessdate}}}]]
  <span class="reference-accessdate">. Retrieved on [[{{{accessdate}}}]]</span>
+
 
   | {{
 
   | {{
 
     #if: {{{accessyear|}}}
 
     #if: {{{accessyear|}}}
     | <span class="reference-accessdate">. Retrieved {{
+
     | . Retrieved {{
 
       #if: {{{accessmonth|}}}
 
       #if: {{{accessmonth|}}}
 
       | on [[{{{accessmonth}}} {{{accessyear}}}]]
 
       | on [[{{{accessmonth}}} {{{accessyear}}}]]
 
       | during [[{{{accessyear}}}]]
 
       | during [[{{{accessyear}}}]]
  }}</span>}}
+
    }}
 
   }}
 
   }}
 
}}.{{ #if: {{{quote|}}} | &nbsp;“{{{quote}}}”
 
}}.{{ #if: {{{quote|}}} | &nbsp;“{{{quote}}}”
 
}}</cite><!--
 
}}</cite><!--
 
+
--><span class="Z3988" title="ctx_ver=Z39.88-2004<!--
This is a COinS tag (http://ocoins.info), which allows automated tools to parse the citation information:
+
   -->&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook<!--
  --><span class="Z3988" title="ctx_ver=Z39.88-2004<!--
+
   -->&rft.genre=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
+
   -->&rft.btitle={{urlencode:{{{title|}}}}}<!--
   -->&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.title={{urlencode:{{{title|}}}}}<!--
   -->&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}}}}}  }}<!--
   -->{{#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}}}}}      }}<!--
   -->{{#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}}}}}    }}<!--
   -->{{#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}}}}}        }}<!--
   -->{{#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|}}}                                                   <!--
+
      | &rft.date={{urlencode:{{{date}}}}}
  --> | &rft.date={{urlencode:{{{date}}}}}                                 <!-- Date of publication.  ISO 8601 is allowed and preferred by us, although
+
      | {{#if: {{{year|}}} | &rft.date={{urlencode:{{{year}}}}} }}    }}<!--
  --> | {{#if: {{{year|}}}   | &rft.date={{urlencode:{{{year}}}}} }}    }}<!-- "Book dates are assumed to be a single year."
+
   -->{{#if: {{{edition|}}}  | &rft.edition={{urlencode:{{{edition}}}}}  }}<!--
   -->{{#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}}}}}    }}<!--
   -->{{#if: {{{publisher|}}} | &rft.pub={{urlencode:{{{publisher}}}}}    }}<!-- Publisher name. "Harper and Row"
+
   -->{{#if: {{{location|}}}  | &rft.place={{urlencode:{{{location}}}}}  }}<!--
   -->{{#if: {{{location|}}}  | &rft.place={{urlencode:{{{location}}}}}  }}<!-- Place of publication. "New York"
+
   -->{{#if: {{{pages|}}}    | &rft.pages={{urlencode:{{{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|}}}    | &rft.series={{urlencode:{{{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|}}}      | &rft.isbn={{{isbn}}}                      }}<!--
   -->{{#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: {{{oclc|}}}      | &rft_id=info:oclcnum/{{{oclc}}}          }}<!--  
+
   -->{{#if: {{{doi|}}}      | &rft_id=info:doi/{{urlencode:{{{doi}}}}}  }}<!--
   -->{{#if: {{{doi|}}}      | &rft_id=info:doi/{{urlencode:{{{doi}}}}}  }}<!--  
+
   -->{{#if: {{{url|}}}      | &rft_id={{urlencode:{{{url}}}}}          }}<!--
   -->{{#if: {{{url|}}}      | &rft_id={{urlencode:{{{url}}}}}          }}<!--  
+
   -->">&nbsp;</span></includeonly>
   -->"><span style="display: none;">&nbsp;</span></span></includeonly><noinclude>{{pp-template|small=yes}}{{documentation}}</noinclude>
+

Revision as of 23:20, 26 June 2008