Difference between revisions of "Template:Cite EB9"
imported>DavidBrooks (save again: fix Roman numerals) |
imported>Trappist the monk (sync from sandbox;) |
||
| Line 1: | Line 1: | ||
| − | {{#if:{{{noicon|}}}|| | + | {{#if:{{{noicon|}}}||{{#if:{{{wstitle|}}}||[[File:PD-icon.svg|alt=public domain|12px|link=]] }}}}<!-- |
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]]: |}}<!-- | -->{{#if:{{{vb|}}}|This article incorporates text from a publication now in the [[public domain]]: |}}<!-- | ||
| 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. | ||
| − | -->{{ | + | -->{{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite encyclopedia |
| − | + | |_exclude=display, noicon, no-icon, short, vb, wstitle, _debug | |
| − | + | |_reuse=title, url | |
| − | |||
| − | |||
| − | | | ||
| − | | | ||
| − | | | + | |encyclopedia=[[Encyclopædia Britannica]] |
| − | + | |edition=9th | |
| − | |||
| − | | | ||
| − | | | + | |editor-first={{#if:{{{short|}}}||T. S.|}} |
| − | + | |editor-last={{#if:{{{short|}}}||Baynes|}} | |
| − | | | ||
| − | |||
| − | + | |editor2-first={{#if:{{{short|}}}||{{#switch:{{{volume}}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |editor2-first= | ||
|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 switch-->}}<!--end if-->}} |
| − | |editor2-last= | + | |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 switch-->}}<!--end if-->}} |
| + | |||
| + | |location={{#if:{{{short|}}}||New York}} | ||
| + | |publisher={{#if:{{{short|}}}||Charles Scribner's Sons}} | ||
| − | | | + | |title={{#if:{{{title|}}}|{{{title|}}}|{{#if:{{{wstitle|}}}|{{cite wikisource/make link |
| − | + | |link=Encyclopædia Britannica, Ninth Edition/{{{wstitle|}}} | |
| + | |label={{{display|{{{wstitle|}}}}}} | ||
| + | |noicon={{{no-icon|{{{noicon|}}}}}} | ||
| + | }}}}}} | ||
| − | + | |url={{#if:{{{wstitle|}}}||{{{url|}}}}} | |
| − | | | ||
| − | |||
| − | |||
| − | |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 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
Baynes, T. S., ed. (1875–1889). Encyclopædia Britannica (9th ed.). New York: Charles Scribner's Sons. Missing or empty |title= (help)
Contents
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). . 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). . 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 domain: Baynes, T. S., ed. (1878). . 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:
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
| The above documentation is transcluded from Template:Cite EB9/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |