Difference between revisions of "Template:Cite EB1922/doc"

From blackwiki
Jump to navigation Jump to search
imported>Bob Burkhardt
(→‎Usage: copy edit)
imported>PBS
(Updated document to take account of the new parameters)
Line 4: Line 4:
  
 
=== Usage ===
 
=== Usage ===
<code><nowiki>{{Cite EB1922|name of the article}}</nowiki></code>
+
minimum usage is:
  
or with a specification of optional parameters:
+
<code><nowiki>{{</nowiki>Cite EB1922|wstitle=''name of the article''}}</code>
  
<code><nowiki>{{Cite EB1922|name of article|author=|noicon=x|vb=x|display=|page=|pages=|volume=|title=|url=}}</nowiki></code>
+
or
 +
 
 +
<code><nowiki>{{</nowiki>Cite EB1922|title=''name of the article''}}</code>
 +
 
 +
The template {{{BASENAME}}} is a wrapper around {{tl|cite encyclopedia}} some of the parameters used by {{tl|cite encyclopedia}} can be set when calling this template. These are:
 +
:|author= |first= |last= |page= |pages= |url= |volume=
 +
See the documentation of {{tl|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 {{tl|cite encyclopedia}} these are:
 +
:|noicon=''x'' |vb=''x'' |display=''display name''
 +
Details of theses parameters can be found lower down this page.
  
 
=== Examples ===
 
=== Examples ===
 +
====Display using <code>wstitle</code> (Wikisource link)====
 +
:<code><nowiki>{{Cite EB1922|wstitle=Fischer, Theobald}}</nowiki></code>
 +
displays as:
 +
:{{Cite EB1922|wstitle=Fischer, Theobald}}
  
====Simple====
+
====Display using <code>title</code> (no Wikisource link)====
<code><nowiki>{{Cite EB1922|Fischer, Theobald}}</nowiki></code>
+
:<code><nowiki>{{Cite EB1922|title=Fischer, Theobald}}</nowiki></code>
 
 
 
displays as:
 
displays as:
 +
:{{Cite EB1922|title=Fischer, Theobald}}
  
{{Cite EB1922|Fischer, Theobald}}
+
When <code>title</code> is being used, <code>url</code> can be used to specify an external link. 
  
 
====With comment====
 
====With comment====
 
+
:<code><nowiki>{{Cite EB1922|wstitle=Fischer, Theobald}} A German-born geographer who developed the Mediterranean region concept.</nowiki></code>
<code><nowiki>{{Cite EB1922|Fischer, Theobald}} A German-born geographer who developed the Mediterranean region concept.</nowiki></code>
 
 
 
 
displays as:
 
displays as:
 
+
:{{Cite EB1922|wstitle=Fischer, Theobald}} A German-born geographer who developed the Mediterranean region concept.
{{Cite EB1922|Fischer, Theobald}} A German-born geographer who developed the Mediterranean region concept.
 
  
 
====Using <code>noicon</code>====
 
====Using <code>noicon</code>====
 
+
:<code><nowiki>{{Cite EB1922|wstitle=Fischer, Theobald|noicon=x}}</nowiki></code>
<code><nowiki>{{Cite EB1922|Fischer, Theobald|noicon=x}}</nowiki></code>
 
 
 
 
displays as:
 
displays as:
 
+
:{{Cite EB1922|wstitle=Fischer, Theobald|noicon=x}}
{{Cite EB1922|Fischer, Theobald|noicon=x}}
 
  
 
====Using <code>vb</code>====
 
====Using <code>vb</code>====
 
 
If text is incorporated verbatim into an article, the <code>vb</code> parameter can be used to tack on a notice appropriate to the policy in [[Wikipedia:Plagiarism]].
 
If text is incorporated verbatim into an article, the <code>vb</code> parameter can be used to tack on a notice appropriate to the policy in [[Wikipedia:Plagiarism]].
 
+
:<code><nowiki>{{Cite EB1922|wstitle=Lowell, Abbott Lawrence|vb=x}}</nowiki></code>
<code><nowiki>{{Cite EB1922|Lowell, Abbott Lawrence|vb=x}}</nowiki></code>
 
 
 
 
displays as:
 
displays as:
 
+
:{{Cite EB1922|wstitle=Lowell, Abbott Lawrence|vb=x}}
{{Cite EB1922|Lowell, Abbott Lawrence|vb=x}}
 
  
 
====Using <code>display</code>====
 
====Using <code>display</code>====
 
 
The mechanics of Wikisource will sometimes require that a link have disambiguation information which is not part of the original title.  The <code>display</code> parameter allows this information to be hidden for the purpose of the citation.  For example:
 
The mechanics of Wikisource will sometimes require that a link have disambiguation information which is not part of the original title.  The <code>display</code> parameter allows this information to be hidden for the purpose of the citation.  For example:
 
+
:<code><nowiki>{{Cite EB1922|wstitle=Nicholas (Russian Grand Duke)|display=Nicholas (Nikolai Nikolayevich), Russian Grand Duke}}</nowiki></code>
<code><nowiki>{{Cite EB1922|Nicholas (Russian Grand Duke)|display=Nicholas (Nikolai Nikolayevich), Russian Grand Duke}}</nowiki></code>
 
 
 
 
displays as:
 
displays as:
 
+
:{{Cite EB1922|wstitle=Nicholas (Russian Grand Duke)|display=Nicholas (Nikolai Nikolayevich), Russian Grand Duke}}
{{Cite EB1922|Nicholas (Russian Grand Duke)|display=Nicholas (Nikolai Nikolayevich), Russian Grand Duke}}
 
 
 
====Using <code>title</code> (no Wikisource link)====
 
 
 
<code><nowiki>{{Cite EB1922|title=Fischer, Theobald}}</nowiki></code>
 
 
 
displays as:
 
 
 
{{Cite EB1922|title=Fischer, Theobald}}
 
 
 
When <code>title</code> is being used, <code>url</code> can be used to specify an external link. 
 
  
 
=== See also ===
 
=== See also ===
* {{tl|EB1922 Poster}}
+
* {{tl|EB1922 poster}}
  
 
<includeonly>
 
<includeonly>

Revision as of 08:28, 23 July 2012

Purpose

This template enables the citation of articles from the Wikisource project 1922 Encyclopædia Britannica in the manner of {{cite encyclopaedia}}.

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). "Fischer, Theobald" . 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). "Fischer, Theobald" . 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 domainChisholm, Hugh, ed. (1922). "Lowell, Abbott Lawrence" . 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). "Nicholas (Nikolai Nikolayevich), Russian Grand Duke" . Encyclopædia Britannica (12th ed.). London & New York: The Encyclopædia Britannica Company.

See also