Difference between revisions of "Template:Cite EB1922"

From blackwiki
Jump to navigation Jump to search
imported>Matt Fitzpatrick
(icon alt attributes "public domain" and "Wikisource")
imported>PBS
(remove unnamed parameter as an alternative for wstitle=)
Line 12: Line 12:
 
<!--if title= wstitle is not set the display a warning in red-->
 
<!--if title= wstitle is not set the display a warning in red-->
 
     |title={{#if:{{{title|}}}|{{{title}}}|
 
     |title={{#if:{{{title|}}}|{{{title}}}|
             {{#if:{{{wstitle|{{{1|}}}<!-- -->}}}|[[s:1922 Encyclopædia Britannica/{{{wstitle|{{{1|}}}<!-- -->}}}|{{{display|{{{wstitle|{{{1|}}}<!-- -->}}}<!-- -->}}}]]|<sup><span style="color:red">article name needed</span></sup>}}
+
             {{#if:{{{wstitle|}}}|[[Wikisource:1922 Encyclopædia Britannica/{{{wstitle|}}}|{{{display|{{{wstitle|}}}<!-- display -->}}}]]|<sup><span style="color:red">article name needed</span></sup>}}
 
           }}
 
           }}
  
Line 37: Line 37:
 
     |{{#if:{{{pages|}}}  |pages  |HIDE_PARAMETER14}}={{{pages|}}}
 
     |{{#if:{{{pages|}}}  |pages  |HIDE_PARAMETER14}}={{{pages|}}}
 
     |{{#if:{{{ref|}}}    |ref    |HIDE_PARAMETER15}}={{{ref|}}}
 
     |{{#if:{{{ref|}}}    |ref    |HIDE_PARAMETER15}}={{{ref|}}}
 +
 +
<!-- pass on unnamed parameters for error processing by {{cite encyclopedia}}-->
 +
    |{{#if:{{{1|}}}    |1    |HIDE_PARAMETERone}}={{{1|}}}
 
   }}<!--
 
   }}<!--
 
--><includeonly><!--
 
--><includeonly><!--

Revision as of 15:57, 9 September 2018

File:Wikisource-logo.svg Chisholm, Hugh, ed. (1922). "article name needed". Encyclopædia Britannica (12th ed.). London & New York.

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

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:

Wikisource Chisholm, Hugh, ed. (1922). "Fischer, Theobald" . Encyclopædia Britannica (12th ed.). London & New York.

Display using title (no Wikisource link)

{{Cite EB1922|title=Fischer, Theobald}}

displays as:

File:PD-icon.svg Chisholm, Hugh, ed. (1922). "Fischer, Theobald". Encyclopædia Britannica (12th ed.). London & New York.

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:

File:Wikisource-logo.svg Chisholm, Hugh, ed. (1922). "Fischer, Theobald" . Encyclopædia Britannica (12th ed.). London & New York. 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.

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:

File:Wikisource-logo.svg 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.

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:

File:Wikisource-logo.svg Chisholm, Hugh, ed. (1922). "Nicholas (Nikolai Nikolayevich), Russian Grand Duke" . Encyclopædia Britannica (12th ed.). London & New York.

Hidden categories

For an overview category for this template see: Category:Wikipedia articles incorporating a citation from the 1922 Encyclopædia Britannica.

See also