Template:Cite encyclopedia: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Esprit15d
added usage
Ookami (talk | contribs)
m 84 revisions imported
 
(55 intermediate revisions by 27 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|}}}
    |<nowiki>;</nowiki> {{{coauthors}}}
  }}{{
  #if:{{{date|}}}
    |&#32;({{{date}}}).
    |{{#if:{{{year|}}}
      |{{#if:{{{month|}}}
        |&#32;({{{month}}} {{{year}}}).
        |&#32;({{{year}}}).
      }}
    }}
  }}
}}{{
#if:{{{url|}}}
  |{{
  #if:{{{article|}}}
    |&#32;[{{{url}}} {{{article}}}].
    |&#32;[{{{url}}} {{{title}}}].
  }}|{{
  #if:{{{article|}}}
    |&#32;{{{article}}}.
    |&#32;{{{title}}}.
  }}
}}&#32;In{{
#if:{{{editor|}}}
  |&#32;{{{editor}}} (Ed.),
}}{{
#if:{{{encyclopedia|}}}{{{ency|}}}
  |&#32;''{{{encyclopedia|{{{ency}}}}}}''
}}{{
#if:{{{edition|}}}{{{volume|}}}{{{pages|}}}
  |&#32;({{
  #if:{{{edition|}}}
    |{{{edition}}}{{
    #if:{{{volume|}}}{{{pages|}}}
      |,&#32;
    }}
  }}{{
  #if:{{{volume|}}}
    |{{{volume}}}{{
    #if:{{{pages}}}
      |,&#32;
    }}
  }}{{
  #if:{{{pages|}}}
    |{{{pages}}}
  }}).
  |.
}}{{
#if:{{{last|}}}{{{author|}}}
  |&#32;
  |{{
  #if:{{{date|}}}
    |&#32;({{{date}}}).
    |{{#if:{{{year|}}}
      |{{#if:{{{month|}}}
        |&#32;({{{month}}} {{{year}}}).
        |&#32;({{{year}}}).
      }}
    }}
  }}
}}{{
#if:{{{publisher|}}}|{{
  #if:{{{location|}}}
    |&#32;{{{location}}}:
  }}&#32;{{{publisher}}}.
}}{{
#if:{{{doi|}}}
  |&#32;[[Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi}}} {{{doi}}}].
}}{{
#if:{{{id|}}}
  |&#32;{{{id}}}.
}}{{
#if:{{{accessdate|}}}
  |&#32;Retrieved on [[{{{accessdate}}}]].
  |{{
  #if:{{{accessyear|}}}|{{
    #if:{{{accessmonth|}}}
      |&#32;Retrieved on {{{accessmonth}}} {{{accessyear}}}.
      |&#32;Retrieved on {{{accessyear}}}.
    }}
  }}
}}</cite><noinclude>


----
[[Category:Lua-based templates]]
 
=== Usage summary ===
<pre>
{{subst:cite encyclopedia
  | title =
  | encyclopedia =
  | volume =
  | pages =
  | publisher =
  | date =
  | id =
  | accessdate = 
}}--~~~~
</pre>
 
===Note===
{{subst}}
 
 
{{esoteric}}
[[Category:Citation templates|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 00:22, 2 September 2020