Difference between revisions of "Template:Cite EB9"

From blackwiki
Jump to navigation Jump to search
imported>DavidBrooks
(Correct Roman numerals in year switch)
imported>DavidBrooks
(Undid revision 958259637 by DavidBrooks (talk) don't know why my edit removed text I didn't touch.)
Line 1: Line 1:
{{#if:{{{noicon|}}}||[[Image:{{#if:{{{wstitle|}}}|wikisource-logo.svg|PD-icon.svg}}|12px|link=]]&nbsp;}}<!--
+
{{#if:{{{noicon|}}}||[[File:{{#if:{{{wstitle|}}}|wikisource-logo.svg{{!}}alt=Wikisource|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 30: Line 30:
 
     |authorlink2={{{authorlink2|}}}
 
     |authorlink2={{{authorlink2|}}}
 
     |authorlink3={{{authorlink3|}}}
 
     |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|}}}
 
     |volume={{{volume|}}}
Line 41: Line 50:
 
     |edition={{{edition|9th}}}
 
     |edition={{{edition|9th}}}
 
     <!--set editor to a default value unless short= is set-->
 
     <!--set editor to a default value unless short= is set-->
     |editor-first={{{editor-first|{{#if:{{{short|}}}||T.S.|}}}}}
+
     |editor-first={{{editor-first|{{#if:{{{short|}}}||T. S.|}}}}}
 
     |editor-last={{{editor-last|{{#if:{{{short|}}}||Baynes|}}}}}
 
     |editor-last={{{editor-last|{{#if:{{{short|}}}||Baynes|}}}}}
  
 
     |editor2-first={{{editor2-first|{{#if:{{{short|}}}||{{#switch:{{{volume}}}
 
     |editor2-first={{{editor2-first|{{#if:{{{short|}}}||{{#switch:{{{volume}}}
                                       |11 |12 |13 |14 |15 |16 |17| 18 |19 |20 |21 |22 |23 |24 =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-->}}<!--end parameter-->}}}
 
     |editor2-last={{{editor2-last|{{#if:{{{short|}}}||{{#switch:{{{volume}}}
 
     |editor2-last={{{editor2-last|{{#if:{{{short|}}}||{{#switch:{{{volume}}}
                                       |11 |12 |13 |14 |15 |16 |17| 18 |19 |20 |21 |22 |23 |24 =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-->}}<!--end parameter-->}}}
 +
 +
    |location={{{location|{{#if:{{{short|}}}||New York|}}}}}
 +
    |publisher={{{publisher|{{#if:{{{short|}}}||Charles Scribner's Sons|}}}}}
 +
 
     <!-- title or wstitle warn if not set -->
 
     <!-- title or wstitle warn if not set -->
 
     |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-->}}
 
     |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-->}}
Line 55: Line 68:
 
     |url={{#if:{{{title|}}}|{{{url|}}}|}}
 
     |url={{#if:{{{title|}}}|{{{url|}}}|}}
  
     |year={{#switch:{{{volume}}}
+
     |year={{{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 63: Line 76:
 
     | 15 | 16 | XV | XVI = 1883
 
     | 15 | 16 | XV | XVI = 1883
 
     | 17 | XVII = 1884
 
     | 17 | XVII = 1884
     | 18 | 19 | XVIII | XIX = 1885
+
     | 18 | 19 | XVIII | IX = 1885
     | 20 | 21 | XX | XXI = 1886
+
     | 20 | 21 | XX | XI = 1886
     | 22 | XXII = 1887
+
     | 22 | XII = 1887
     | 23 | 24 | XXIII | XXIV = 1888
+
     | 23 | 24 | XIII | XIV = 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-->

Revision as of 19:54, 22 May 2020

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

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:

Wikisource 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:

Wikisource 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:

Wikisource 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