Template:Cite encyclopedia: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Khoikhoi
m only problem is some online encyclopedias don't have page numbers; is there a better solution?
meta>Aervanath
editprotected request on talk page
Line 1: Line 1:
<cite style="font-style:normal">{{
{{Citation/core
#if:{{{author|}}}{{{last|}}}
|Citation class=book
   |{{#if:{{{authorlink|}}}
  |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{{author|}}}}}}}}}}}}}}}}}}}}}}}}
    |[[{{{authorlink}}}|{{
  |Surname2 = {{{last2|{{{surname2|{{{author2|{{{coauthor|{{{coauthors|}}}}}}}}}}}}}}}
    #if: {{{last|}}}
  |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
      |{{{last}}}{{#if:{{{first|}}}|, {{{first}}}}}
  |Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}}
      |{{{author}}}
  |Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}}
    }}]]
  |Surname6 = {{{last6|{{{surname6|{{{author6|}}}}}}}}}
    |{{#if: {{{last|}}}
  |Surname7 = {{{last7|{{{surname7|{{{author7|}}}}}}}}}
      |{{{last}}}{{#if:{{{first|}}}|, {{{first}}}}}
  |Surname8 = {{{last8|{{{surname8|{{{author8|}}}}}}}}}
      |{{{author}}}{{#if:{{{coauthors|}}}
  |Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}}
        |
  |Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}}
        |
  |Given2 = {{{first2|{{{given2|}}}}}}
  |Given3 = {{{first3|{{{given3|}}}}}}
  |Given4 = {{{first4|{{{given4|}}}}}}
  |Given5 = {{{first5|{{{given5|}}}}}}
  |Given6 = {{{first6|{{{given6|}}}}}}
  |Given7 = {{{first7|{{{given7|}}}}}}
  |Given8 = {{{first8|{{{given8|}}}}}}
  |Given9 = {{{first9|{{{given9|}}}}}}
  |Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}
  |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}}
  |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}}
  |Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}}
  |Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}}
  |Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}}
  |Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}}
  |Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}}
  |Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}}
   |Year={{{year|{{    <!-- attempt to derive year from date, if possible -->
            #if: {{{date|}}}
            |{{
                #iferror:{{#time:Y|{{{date|}}} }}
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
                |{{#time:Y|{{{date|}}} }}
              }}
            |{{{publication-date|}}} <!-- last resort -->
          }}
        }}}
  |YearNote = {{{origyear|}}}
  |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}}
  |Title={{{encyclopedia|{{{title|}}}}}}
  |URL={{{url|}}}
  |Series={{{series|}}}
  |Volume = {{{volume|}}}
  |Issue = {{{issue|{{{number|}}}}}}
  |At = {{
          #if: {{{journal|{{{periodical|{{{newspaper|{{{magazine|}}}}}}}}}}}}
          |{{{pages|{{{page|{{{at|}}}}}}}}}
          |{{
            #if: {{{page|}}}
            |{{#if:{{{nopp|}}}||p.&nbsp;}}{{{page}}}
            |{{
                #if: {{{pages|}}}
                |{{#if:{{{nopp|}}}||pp.&nbsp;}}{{{pages}}}
                |{{{at|}}}
              }}
          }}
         }}
         }}
    }}
   |IncludedWorkTitle = {{{title|}}}
   }}{{
   |IncludedWorkURL = {{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}}
  #if:{{{coauthors|}}}
  |Other = {{{others|}}}
    |<nowiki>;</nowiki> {{{coauthors}}}
   |Edition = {{{edition|}}}
   }}{{
   |Place = {{{place|{{{location|}}}}}}
  #if:{{{date|}}}
   |PublicationPlace = {{{publication-place|{{{place|{{{location|}}}}}}}}}
    |&#32;({{{date}}}).
   |Publisher = {{{publisher|}}}
    |{{#if:{{{year|}}}
   |PublicationDate = {{{publication-date|}}}
      |{{#if:{{{month|}}}
   |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}
        |&#32;({{{month}}} {{{year}}}).
   |EditorSurname2 = {{{editor2-last|{{{editor2-surname|}}}}}}
        |&#32;({{{year}}}).
   |EditorSurname3 = {{{editor3-last|{{{editor3-surname|}}}}}}
      }}
   |EditorSurname4 = {{{editor4-last|{{{editor4-surname|}}}}}}
    }}
   |EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}}
   }}
   |EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}}
}}&#32;{{
  |EditorGiven3={{{editor3-first|{{{editor3-given|}}}}}}
#if:{{{url|}}}
   |EditorGiven4={{{editor4-first|{{{editor4-given|}}}}}}
   |"[{{{url}}} {{{article|{{{title}}}}}}]".
   |Editorlink1={{{editor-link|{{{editor1-link|}}}}}}
   |{{
   |Editorlink2={{{editor2-link|}}}
  #if:{{{article|{{{title|}}}}}}
   |Editorlink3={{{editor3-link|}}}
    |"{{{article|{{{title}}}}}}".
   |Editorlink4={{{editor4-link|}}}
  }}
   |language = {{{language|{{{in|}}}}}}
}}{{
   |format = {{{format|}}}
#if:{{{encyclopedia|}}}{{{ency|}}}
   |ID={{{id|{{{ID|}}}}}}
   |&#32;''{{{encyclopedia|{{{ency}}}}}}''
   |ISBN={{{isbn|{{{ISBN|}}}}}}
}}{{
   |OCLC={{{oclc|{{{OCLC|}}}}}}
#if:{{{edition|}}}
   |Bibcode={{{bibcode|}}}
   |&#32;({{{edition}}})
   |DOI={{{doi|{{{DOI|}}}}}}
}}{{
   |DoiBroken={{{doi_brokendate|}}}
#if:{{{volume|}}}
   |AccessDate={{{access-date|{{{accessdate|}}}}}}
   |&#32;'''{{{volume}}}'''
   |quote = {{{quote|}}}
}}.{{
  |Ref={{{ref|}}}
#if:{{{last|}}}{{{author|}}}
   |Sep = {{{separator|{{{seperator|.}}}}}}
  |&#32;
   |PS = {{{postscript|.}}}
  |{{
  |amp = {{{lastauthoramp|}}}
  #if:{{{date|}}}
}}<noinclude>
    |&#32;({{{date}}}).
{{pp-template|small=yes}}
    |{{#if:{{{year|}}}
{{documentation}}
      |{{#if:{{{month|}}}
</noinclude>
        |&#32;({{{month}}} {{{year}}}).
        |&#32;({{{year}}}).
      }}
    }}
  }}
}}{{
#if:{{{editor|}}}
   |&#32;Ed. {{{editor}}}.
}}{{
#if:{{{publisher|}}}|{{
  #if:{{{location|}}}
    |&#32;{{{location}}}:
   }}&#32;{{{publisher}}}.
}}{{
#if:{{{pages|}}}
  |&#32;{{{pages}}}.
}}{{
#if:{{{doi|}}}
   |&#32;[[Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi}}} {{{doi}}}].
}}{{
#if:{{{id|}}}
   |&#32;{{{id}}}.
}}{{
  #if: {{{isbn|}}} |&#32;ISBN {{{isbn}}}.
}}{{
  #if: {{{oclc|}}} |&#32;[[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}].
}}{{
#if:{{{accessdate|}}}
   |&#32;Retrieved on [[{{{accessdate}}}]].
  |{{
  #if:{{{accessyear|}}}|{{
    #if:{{{accessmonth|}}}
      |&#32;Retrieved on {{{accessmonth}}} {{{accessyear}}}.
      |&#32;Retrieved on {{{accessyear}}}.
    }}
  }}
}}{{
#if: {{{quote|}}}
    | &nbsp;“{{{quote}}}
}}</cite><!--
 
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<!--
  -->&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:dc}}<!--                    Field descriptions: http://www.openurl.info/registry/docs/mtx/info:ofi/fmt:kev:mtx:dc
  -->&rft.type=encyclopediaArticle<!--                                          The nature or genre of the content of the resource.  (encyclopediaArticle chosen purely because it is recognized by Zotero.)
  -->{{#if: {{{first|}}}        | &rft.aufirst={{urlencode:{{{first}}}}}       }}<!-- First author's given name or names or initials... may contain multiple words and punctuation, i.e. "Fred F", "Fred James"
   -->{{#if: {{{last|}}}        | &rft.aulast={{urlencode:{{{last}}}}}         }}<!-- First author's family name. This may be more than one word ... i.e. Smith, Fred James is recorded as "aulast=smith"
   -->{{#if: {{{author|}}}      | &rft.au={{urlencode:{{{author}}}}}           }}<!-- This data element contains the full name of a single author, i. e. "Smith, Fred M", "Harry S. Truman".
   -->{{#if: {{{editor|}}}      | &rft.contributor={{urlencode:{{{editor}}}}}  }}<!-- An entity responsible for making contributions to the content of the resource. Examples of Contributor include a person, an organization, or a service.
   -->&rft.title={{urlencode:{{{title|}}}}}<!--                                        A name given to the resource.
   -->{{#if: {{{url|}}}          | &rft.identifier={{urlencode:{{{url}}}}}     }}<!-- URL
   -->{{#if: {{{format|}}}      | &rft.format={{urlencode:{{{format}}}}}      }}<!-- The physical or digital manifestation of the resource... may include the media-type or dimensions of the resource.
   -->{{#if: {{{encyclopedia|}}} | &rft.source={{urlencode:{{{encyclopedia}}}}} }}<!-- A Reference to a resource from which the present resource is derived.
   -->{{#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: {{{volume|}}}      | &rft.volume={{urlencode:{{{volume}}}}}       }}<!-- Volume designation usually expressed as a number but could be roman numerals or non-numeric, i.e. "124", or "VI".
   -->{{#if: {{{publisher|}}}    | &rft.publisher={{urlencode:{{{publisher}}}}} }}<!-- An entity responsbile for making the resource available... person, an organization, or a service.
   -->{{#if: {{{location|}}}    | &rft.place={{urlencode:{{{location}}}}}     }}<!-- Place of publication. "New York"
   -->{{#if: {{{pages|}}}        | &rft.pages={{urlencode:{{{pages}}}}}        }}<!-- Start and end pages for parts (of a book), i.e. "124-147"
   -->{{#if: {{{date|}}}
      | &rft.date={{urlencode:{{{date}}}}}
      | {{#if: {{{year|}}}    | &rft.date={{urlencode:{{{year}}}}} }}       }}<!-- A date of an event in the lifecycle of the resource... typically the creation or availability of the resource. (ISO 8601)
   -->{{#if: {{{language|}}}     | &rft.language={{urlencode:{{{language}}}}}   }}<!-- A language of the intellectual content of the resource. Recommended best practice is to use RFC 3066... in conjunction with ISO639
   -->{{#if: {{{doi|}}}      | &rft_id=info:doi/{{urlencode:{{{doi}}}}} }}<!-- DOI
   -->{{#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}}}          }}<!--
  -->"><span style="display: none;">&nbsp;</span></span><noinclude>{{documentation}}</noinclude>

Revision as of 21:26, 24 December 2008

.