Template:Cite encyclopedia: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Circeus
+isbn and oclc functionalities
Ookami (talk | contribs)
m 84 revisions imported
 
(32 intermediate revisions by 20 users not shown)
Line 1: Line 1:
<cite style="font-style:normal">{{
<includeonly>{{#invoke:citation/CS1|citation
#if:{{{author|}}}{{{last|}}}
|CitationClass=encyclopaedia
  |{{#if:{{{authorlink|}}}
}}</includeonly><noinclude>
    |[[{{{authorlink}}}|{{
{{documentation}}
    #if: {{{last|}}}
      |{{{last}}}{{#if:{{{first|}}}|, {{{first}}}}}
      |{{{author}}}
    }}]]
    |{{#if: {{{last|}}}
      |{{{last}}}{{#if:{{{first|}}}|, {{{first}}}}}
      |{{{author}}}{{#if:{{{coauthors|}}}
        |
        |
        }}
    }}
  }}{{
  #if:{{{coauthors|}}}
    |<nowiki>;</nowiki> {{{coauthors}}}
  }}{{
  #if:{{{date|}}}
    |&#32;({{{date}}}).
    |{{#if:{{{year|}}}
      |{{#if:{{{month|}}}
        |&#32;({{{month}}} {{{year}}}).
        |&#32;({{{year}}}).
      }}
    }}
  }}
}}&#32;{{
#if:{{{url|}}}
  |"[{{{url}}} {{{article|{{{title}}}}}}]".
  |{{
  #if:{{{article|{{{title|}}}}}}
    |"{{{article|{{{title}}}}}}".
  }}
}}{{
#if:{{{encyclopedia|}}}{{{ency|}}}
  |&#32;''{{{encyclopedia|{{{ency}}}}}}''
}}{{
#if:{{{edition|}}}
  |&#32;({{{edition}}})
}}{{
#if:{{{volume|}}}
  |&#32;'''{{{volume}}}'''
}}.{{
#if:{{{last|}}}{{{author|}}}
  |&#32;
  |{{
  #if:{{{date|}}}
    |&#32;({{{date}}}).
    |{{#if:{{{year|}}}
      |{{#if:{{{month|}}}
        |&#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:
[[Category:Lua-based templates]]
  --><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}}}          }}<!--
  -->">&nbsp;</span><noinclude>
 
{{/doc}}
</noinclude>
</noinclude>

Latest revision as of 00:22, 2 September 2020