Difference between revisions of "Template:Cite EB9"

From blackwiki
Jump to navigation Jump to search
imported>DavidBrooks
(save again: fix Roman numerals)
imported>Trappist the monk
(sync from sandbox;)
 
Line 1: Line 1:
{{#if:{{{noicon|}}}||[[File:{{#if:{{{wstitle|}}}|wikisource-logo.svg{{!}}alt=Wikisource|PD-icon.svg{{!}}alt=public domain}}|12px|link=]]&nbsp;}}<!--
+
{{#if:{{{noicon|}}}||{{#if:{{{wstitle|}}}||[[File:PD-icon.svg|alt=public domain|12px|link=]]&nbsp;}}}}<!--
 
  optional verbatim message - not included by default
 
  optional verbatim message - not included by default
 
-->{{#if:{{{vb|}}}|This article incorporates text from a publication now in the [[public domain]]:&nbsp;|}}<!--
 
-->{{#if:{{{vb|}}}|This article incorporates text from a publication now in the [[public domain]]:&nbsp;|}}<!--
Line 5: Line 5:
 
   unlinked title can be specified;
 
   unlinked title can be specified;
 
   otherwise first unnamed arg is used for Wikisource link.
 
   otherwise first unnamed arg is used for Wikisource link.
-->{{cite encyclopedia
+
-->{{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite encyclopedia
    |1={{{1|}}}
+
     |_exclude=display, noicon, no-icon, short, vb, wstitle, _debug
    <!--pass in other standard parameters-->
+
     |_reuse=title, url
    |first={{{first|}}}
 
    |first1={{{first1|}}}
 
     |first2={{{first2|}}}
 
     |first3={{{first3|}}}
 
  
     |last={{{last|}}}
+
     |encyclopedia=[[Encyclopædia Britannica]]
    |last1={{{last1|}}}
+
     |edition=9th
    |last2={{{last2|}}}
 
     |last3={{{last3|}}}
 
  
     |author={{{author |}}}
+
     |editor-first={{#if:{{{short|}}}||T. S.|}}
    |author1={{{author1|}}}
+
     |editor-last={{#if:{{{short|}}}||Baynes|}}
     |author2={{{author2|}}}
 
    |author3={{{author3|}}}
 
  
    |authors={{{authors|}}}
+
     |editor2-first={{#if:{{{short|}}}||{{#switch:{{{volume}}}
    |coauthors={{{coauthors|}}}
 
 
 
    |authorlink={{{authorlink|}}}
 
    |authorlink1={{{authorlink1|}}}
 
    |authorlink2={{{authorlink2|}}}
 
    |authorlink3={{{authorlink3|}}}
 
 
 
    |author1link={{{author1link|}}}
 
    |author2link={{{author2link|}}}
 
    |author3link={{{author3link|}}}
 
 
 
    |author-link={{{author-link|}}}
 
    |author1-link={{{author1-link|}}}
 
    |author2-link={{{author2-link|}}}
 
    |author3-link={{{author3-link|}}}
 
 
 
    |volume={{{volume|}}}
 
    |page={{{page|}}}
 
    |pages={{{pages|}}}
 
    |ref={{{ref|}}}
 
    |mode={{{mode|}}}
 
 
 
    <!-- set defaults for some parameters-->
 
    |encyclopedia={{{encyclopedia|[[Encyclopædia Britannica]]}}}
 
    |edition={{{edition|9th}}}
 
    <!--set editor to a default value unless short= is set-->
 
    |editor-first={{{editor-first|{{#if:{{{short|}}}||T. S.|}}}}}
 
    |editor-last={{{editor-last|{{#if:{{{short|}}}||Baynes|}}}}}
 
 
 
     |editor2-first={{{editor2-first|{{#if:{{{short|}}}||{{#switch:{{{volume}}}
 
 
                                       |11 |XI |12 |XII |13 |XIII |14 |XIV |15 |XV |16 |XVI |17 |XVII |18 |XVIII |19 |XIX |20 |XX |21 |XXI |22 |XXII |23 |XXIII |24 |XXIV =W.R.
 
                                       |11 |XI |12 |XII |13 |XIII |14 |XIV |15 |XV |16 |XVI |17 |XVII |18 |XVIII |19 |XIX |20 |XX |21 |XXI |22 |XXII |23 |XXIII |24 |XXIV =W.R.
                                       |<!--end switch-->}}<!--end if-->}}<!--end parameter-->}}}
+
                                       |<!--end switch-->}}<!--end if-->}}
     |editor2-last={{{editor2-last|{{#if:{{{short|}}}||{{#switch:{{{volume}}}
+
     |editor2-last={{#if:{{{short|}}}||{{#switch:{{{volume}}}
 
                                       |11 |XI |12 |XII |13 |XIII |14 |XIV |15 |XV |16 |XVI |17 |XVII |18 |XVIII |19 |XIX |20 |XX |21 |XXI |22 |XXII |23 |XXIII |24 |XXIV =Smith
 
                                       |11 |XI |12 |XII |13 |XIII |14 |XIV |15 |XV |16 |XVI |17 |XVII |18 |XVIII |19 |XIX |20 |XX |21 |XXI |22 |XXII |23 |XXIII |24 |XXIV =Smith
                                       |<!--end switch-->}}<!--end if-->}}<!--end parameter-->}}}
+
                                       |<!--end switch-->}}<!--end if-->}}
 +
 
 +
    |location={{#if:{{{short|}}}||New York}}
 +
    |publisher={{#if:{{{short|}}}||Charles Scribner's Sons}}
  
     |location={{{location|{{#if:{{{short|}}}||New York|}}}}}
+
     |title={{#if:{{{title|}}}|{{{title|}}}|{{#if:{{{wstitle|}}}|{{cite wikisource/make link
    |publisher={{{publisher|{{#if:{{{short|}}}||Charles Scribner's Sons|}}}}}
+
              |link=Encyclopædia Britannica, Ninth Edition/{{{wstitle|}}}
 +
              |label={{{display|{{{wstitle|}}}}}}
 +
              |noicon={{{no-icon|{{{noicon|}}}}}}
 +
            }}}}}}
  
    <!-- title or wstitle warn if not set -->
+
     |url={{#if:{{{wstitle|}}}||{{{url|}}}}}
     |title={{#if:{{{title|}}}|{{{title}}}|{{#if:{{{wstitle|}}}|[[s:Encyclopædia Britannica, Ninth Edition/{{{wstitle|}}}|{{{display|{{{wstitle|}}}<!--d-->}}}]]|<sup>[[s:Encyclopædia Britannica, Ninth Edition|<span style="color:red">article name needed</span>]]</sup> <!--end if wstitle-->}}<!--end if title-->}}
 
    <!--Only set url if the title parameter exists-->
 
    |url={{#if:{{{title|}}}|{{{url|}}}|}}
 
  
     |year={{{year|{{#switch:{{{volume}}}
+
     |year={{#switch:{{{volume}}}
 
     | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | I | II | III | IV | V | VI | VII | VIII = 1878
 
     | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | I | II | III | IV | V | VI | VII | VIII = 1878
 
     | 9 | 10 | IX | X = 1879
 
     | 9 | 10 | IX | X = 1879
Line 81: Line 46:
 
     | 23 | 24 | XXIII | XXIV = 1888
 
     | 23 | 24 | XXIII | XXIV = 1888
 
     | <!-- default if no volume specified --> 1875–1889
 
     | <!-- default if no volume specified --> 1875–1889
   }} }}}
+
   }}
 
}}<includeonly><!--
 
}}<includeonly><!--
 
-->{{#ifeq: {{NAMESPACEE}} |<!--is not set-->
 
-->{{#ifeq: {{NAMESPACEE}} |<!--is not set-->

Latest revision as of 22:04, 16 October 2020

public domain Baynes, T. S., ed. (1875–1889). Encyclopædia Britannica (9th ed.). New York: Charles Scribner's Sons. Missing or empty |title= (help)

Template documentation[view] [edit] [history] [purge]

Purpose

This template facilitates the citation of articles from the 9th edition of Encyclopaedia Britannica. Links to Wikisource or external sources are provided for. {{cite encyclopedia}} is used for the implementation.

Usage

{{Cite EB9|wstitle=put the name of the article here|volume=number}}

or with a specification of additional options:

{{Cite EB9
These parameters are not listed in {{cite encyclopedia}} and affect aspects of this template
|noicon=1 — don't display leading icon
|vb=1     — display prescript attribution message (for use with copied text)
|inline=1 — use to alter prescript for inline citations
|short=1  — don't display editors
|wstitle=name of the article — with automatic link to wikisource
|display=name  — displays in place or the wstitle name
These parameters take the default values listed but can be overwritten:
|encyclopedia=Encyclopaedia Britannica
|edition=9th
|editor-first=T.S.
|editor-last=Baynes
|editor2-first=W.R.  — if volume is set between 11 and 24
|editor2-last=Smith  — if volume is set between 11 and 24
For these standard {{cite encyclopedia}} parameters
see the documentation attached to {{cite encyclopedia}}
|author= ... author3= — up to three authors 
|first=  ... first3= 
|last=   ... last3=
|title=
|url=
|volume=
|page=
|pages=
|ref=
|mode=
}}

Specifying the volume, results in a single year being displayed, which varies depending on the volume; otherwise the range 1875-1889 is displayed.

Examples

Simple

{{Cite EB9|wstitle=Arthropoda}}

displays as:

Baynes, T. S., ed. (1875–1889). "Arthropoda" . Encyclopædia Britannica (9th ed.). New York: Charles Scribner's Sons.

Use of the volume parameter would allow the display of a particular volume and year (see example below).

With comment

{{Cite EB9|wstitle=Fillmore, Millard}} Thirteenth president of the United States of America.

displays as:

Baynes, T. S., ed. (1875–1889). "Fillmore, Millard" . Encyclopædia Britannica (9th ed.). New York: Charles Scribner's Sons. Thirteenth president of the United States of America.

Using noicon

{{Cite EB9|wstitle=Fillmore, Millard|noicon=x}}

displays as:

Baynes, T. S., ed. (1875–1889). "Fillmore, Millard". Encyclopædia Britannica (9th ed.). New York: Charles Scribner's Sons.

Using vb

If text is incorporated verbatim into an article, the vb parameter can be used to tack on a notice appropriate to the policy in Wikipedia:Plagiarism.

{{Cite EB9|wstitle=Atom|volume=3|vb=x}}

displays as:

This article incorporates text from a publication now in the public domainBaynes, T. S., ed. (1878). "Atom" . Encyclopædia Britannica. 3 (9th ed.). New York: Charles Scribner's Sons.

Using title (no Wikisource link)

{{Cite EB9|title=Torquay|volume=23|page=451}}

displays as:

public domain Baynes, T. S.; Smith, W.R., eds. (1888). "Torquay". Encyclopædia Britannica. 23 (9th ed.). New York: Charles Scribner's Sons. p. 451.

When title is being used, url can be used to specify an external link.

Hidden categories

This template places articles into a hidden category with sub-categories to aid maintenance:

See also

  • {{EB9}} — use when incorporating PD text from an EB9 article into a Wikipedia article
  • {{EB9 poster}} — for use in Further reading or External links sections. It places a Wikisource poster box (a graphical template) on the right hand side of the screen.
  • Sister projects