Difference between revisions of "Template:Cite EB1922/sandbox"
imported>Trappist the monk |
imported>Trappist the monk |
||
Line 1: | Line 1: | ||
{{#if:{{{no-icon|{{{noicon|}}}}}}||{{#ifeq: {{{wstitle|}}}||[[File:PD-icon.svg|12px|alt=|link=]] }}}}<!-- | {{#if:{{{no-icon|{{{noicon|}}}}}}||{{#ifeq: {{{wstitle|}}}||[[File:PD-icon.svg|12px|alt=|link=]] }}}}<!-- | ||
− | -->{{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite encyclopedia | + | -->{{#if:{{{vb|}}}|This article incorporates text from a publication now in the [[public domain]]: |}}<!-- |
− | |_exclude=display, no-icon, noicon, short, wstitle, _debug | + | -->{{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite encyclopedia |
− | |_reuse= | + | |_exclude=display, no-icon, noicon, short, wstitle, vb, _debug |
+ | |_reuse=title, url <!-- these are reused --> | ||
− | + | |encyclopedia=[[Encyclopædia Britannica]] | |
− | |||
− | |||
− | |title={{#if:{{{wstitle|}}}|{{cite wikisource/make link | + | |editor-first={{#if:{{{short|}}}||Hugh}} |
+ | |editor-last={{#if:{{{short|}}}||Chisholm}} | ||
+ | |||
+ | |title={{#if:{{{title|}}}|{{{title}}}|{{#if:{{{wstitle|}}}|{{cite wikisource/make link | ||
|link=1922 Encyclopædia Britannica/{{{wstitle}}} | |link=1922 Encyclopædia Britannica/{{{wstitle}}} | ||
|label={{{display|{{{wstitle|}}}}}} | |label={{{display|{{{wstitle|}}}}}} | ||
|noicon={{{no-icon|{{{noicon|}}}}}} | |noicon={{{no-icon|{{{noicon|}}}}}} | ||
− | }} | + | }}}}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |url={{#if:{{{wstitle|}}}| | + | |url={{#if:{{{wstitle|}}}||{{{url|}}}}} |
− | |||
− | |||
− | |||
− | |||
|edition=12th | |edition=12th | ||
|date=1922 | |date=1922 | ||
− | |location={{#if: {{{short|}}}| | + | |location={{#if:{{{short|}}}||London & New York}} |
− | |publisher={{#if: {{{short|}}}| | + | |publisher={{#if:{{{short|}}}||The Encyclopædia Britannica Company}} |
− | + | }}<includeonly><!-- | |
− | |||
− | |||
− | }} | ||
− | |||
-->{{#ifeq: {{NAMESPACEE}} |<!--is set--> | -->{{#ifeq: {{NAMESPACEE}} |<!--is set--> | ||
|<!--Sort out the parameters--> | |<!--Sort out the parameters--> |
Latest revision as of 19:21, 11 October 2020
Chisholm, Hugh, ed. (1922). Encyclopædia Britannica (12th ed.). London & New York: The Encyclopædia Britannica Company. Missing or empty
|title=
(help)
![]() | This is the template sandbox page for Template:Cite EB1922 (diff). See also the companion subpage for test cases. |
Contents
Purpose
This template enables the citation of articles from the Wikisource project 1922 Encyclopædia Britannica in the manner of {{cite encyclopedia}}.
Usage
minimum usage is:
{{Cite EB1922|wstitle=name of the article}}
or
{{Cite EB1922|title=name of the article}}
The template {{{BASENAME}}} is a wrapper around {{cite encyclopedia}} some of the parameters used by {{cite encyclopedia}} can be set when calling this template. These are:
- |author= |first= |last= |page= |pages= |url= |volume=
See the documentation of {{cite encyclopedia}} for more details about these parameters.
There are three other parameters which can be used in this template that affect it and are not passed on as parameters into {{cite encyclopedia}} these are:
- |noicon=x |vb=x |display=display name
Details of theses parameters can be found lower down this page.
Examples
Display using wstitle
(Wikisource link)
{{Cite EB1922|wstitle=Fischer, Theobald}}
displays as:
- Chisholm, Hugh, ed. (1922). Encyclopædia Britannica (12th ed.). London & New York: The Encyclopædia Britannica Company. .
Display using title
(no Wikisource link)
{{Cite EB1922|title=Fischer, Theobald}}
displays as:
Chisholm, Hugh, ed. (1922). "Fischer, Theobald". Encyclopædia Britannica (12th ed.). London & New York: The Encyclopædia Britannica Company.
When title
is being used, url
can be used to specify an external link.
With comment
{{Cite EB1922|wstitle=Fischer, Theobald}} A German-born geographer who developed the Mediterranean region concept.
displays as:
- Chisholm, Hugh, ed. (1922). Encyclopædia Britannica (12th ed.). London & New York: The Encyclopædia Britannica Company. A German-born geographer who developed the Mediterranean region concept. .
Using noicon
{{Cite EB1922|wstitle=Fischer, Theobald|noicon=x}}
displays as:
- Chisholm, Hugh, ed. (1922). "Fischer, Theobald". Encyclopædia Britannica (12th ed.). London & New York: The Encyclopædia Britannica Company.
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 EB1922|wstitle=Lowell, Abbott Lawrence|vb=x}}
displays as:
- This article incorporates text from a publication now in the public domain: Chisholm, Hugh, ed. (1922). . Encyclopædia Britannica (12th ed.). London & New York: The Encyclopædia Britannica Company.
Using display
The mechanics of Wikisource will sometimes require that a link have disambiguation information which is not part of the original title. The display
parameter allows this information to be hidden for the purpose of the citation. For example:
{{Cite EB1922|wstitle=Nicholas (Russian Grand Duke)|display=Nicholas (Nikolai Nikolayevich), Russian Grand Duke}}
displays as:
- Chisholm, Hugh, ed. (1922). Encyclopædia Britannica (12th ed.). London & New York: The Encyclopædia Britannica Company. .
Hidden categories
For an overview category for this template see: Category:Wikipedia articles incorporating a citation from the 1922 Encyclopædia Britannica.
See also
- {{EB1922 poster}}
The above documentation is transcluded from Template:Cite EB1922/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. |