Difference between revisions of "Template:Cite Jewish Encyclopedia"

From blackwiki
Jump to navigation Jump to search
imported>Debresser
(After more than a month nobody has commented on the talkpage section about this error message, I decided it is about time to remove it.)
imported>Debresser
(Undid revision 983033547 by Debresser (talk) Some mistake. No idea how that happened.)
Line 1: Line 1:
<!--sort out the icon to use
+
{{#if:{{{no-icon|{{{noicon|}}}}}}||{{#ifeq: {{{wstitle|}}}||[[File:PD-icon.svg|12px|alt=|link=]]&nbsp;}}}}<!-- optional public domain icon when wstitle is missing or empty
-->{{#if: {{{noicon|}}} |<!--then do nothing-->
+
no white space
    |<!--then-->{{#if: {{{wstitle|}}} |<!--then-->[[File:Wikisource-logo.svg|12px|alt=]]&nbsp;
+
-->{{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite encyclopedia
                  |<!--else-->[[File:PD-icon.svg|12px|alt=]]&nbsp;
+
  |_exclude=article, noicon, prescript, short, wstitle, _debug
                }}
+
  |_reuse=title, url <!-- these are reused -->
  }}<!--no white spaces
 
-->{{Cite encyclopedia
 
  
 
  <!--fill out some parameters with default values-->
 
  <!--fill out some parameters with default values-->
  | encyclopedia={{{encyclopedia|[[Jewish Encyclopedia]]}}}
+
  | encyclopedia=[[The Jewish Encyclopedia]]
  
  | year = {{{year | {{#switch:{{{volume}}}
+
  | year = {{#switch:{{{volume}}}
 
   | 1 | I = 1901
 
   | 1 | I = 1901
 
   | 2 | 3 | II | III = 1902
 
   | 2 | 3 | II | III = 1902
Line 19: Line 17:
 
   | <!-- default if no volume specified --> 1901–1906
 
   | <!-- default if no volume specified --> 1901–1906
 
   }}
 
   }}
  }}}
 
  
  | editor-first={{{editor-first|{{#if:{{{short|}}}| |Isidore}}}}}
+
  | editor-first={{#if:{{{short|}}}| |Isidore}}
  | editor-last={{{editor-last|{{#if:{{{short|}}}| |Singer}}}}}
+
  | editor-last={{#if:{{{short|}}}| |Singer}}
  | editor-link={{{editor-link|{{#if:{{{short|}}}| | Isidore Singer}}}}}
+
  | editor-link={{#if:{{{short|}}}| | Isidore Singer}}
  | display-editors={{{display-editors|{{#if:{{{short|}}}| | etal}}}}}
+
  | display-editors={{#if:{{{short|}}}| | etal}}
  | publisher={{{publisher|{{#if:{{{short|}}}| |Funk & Wagnalls Company}}}}}
+
  | publisher={{#if:{{{short|}}}| |Funk & Wagnalls}}
  | location={{{location|{{#if:{{{short|}}}| |New York}}}}}  
+
  | location={{#if:{{{short|}}}| |New York}}
  
<!--If wstitle set then use a wikisource link NOT YET PRESENT on Wikisource but put in code for future use-->
+
  |title={{#if:{{{title|{{{article|}}}}}}|{{{title|{{{article|}}}}}}|{{#if:{{{wstitle|}}}|{{cite wikisource/make link
  | title= {{#if: {{{wstitle|}}}|<!--then-->[[wikisource:Jewish Encyclopedia/{{{wstitle|}}}|{{{wstitle|}}}]]
+
                |link=Jewish Encyclopedia/{{{wstitle}}}
    |<!-- else -->
+
                |label={{{display|{{{wstitle|}}}}}}
      {{#if: {{{title|}}}|<!--then-->{{{title|}}}
+
                |noicon={{{no-icon|{{{noicon|}}}}}}
      }}<!--end title-->
+
              }}}}}}
    }}<!--end of check wstitle-->
 
  
  <!--ignore url= if wstitle is set, otherwise set url if it has a value-->
+
  |url={{#if: {{{wstitle|}}}||{{{url|}}}}}
|{{#if: {{{wstitle|}}} |HIDE_PARAMETER2url |{{#if:{{{url|}}} |url  |HIDE_PARAMETER2url}}}}={{#if: {{{wstitle|}}} | |{{#if:{{{url|}}} |{{{url|}}} }}}}
 
 
 
<!--ref= is set in {{tl|Jewish Encyclopedia}} treat it as a normal parameter here-->
 
|{{#if:{{{ref|}}}    |ref    |HIDE_PARAMETER3ref}}={{{ref|}}}
 
 
 
<!--
 
  Below this point put in any other parameters that
 
  ought to  be passed into "cite encyclopedia"
 
-->
 
|{{#if:{{{last|}}}    |last    |HIDE_PARAMETER1}}={{{last|}}}
 
|{{#if:{{{first|}}}    |first    |HIDE_PARAMETER2}}={{{first|}}}
 
|{{#if:{{{author|}}}  |author  |HIDE_PARAMETER3}}={{{author|}}}
 
|{{#if:{{{authorlink|}}}  |author-link  |HIDE_PARAMETER4}}={{{authorlink|}}}
 
|{{#if:{{{author-link|}}}  |author-link  |HIDE_PARAMETER5}}={{{author-link|}}}
 
 
 
|{{#if:{{{authors|}}}  |authors  |HIDE_PARAMETER6}}={{{authors|}}}
 
 
 
|{{#if:{{{last1|}}}    |last    |HIDE_PARAMETER1a}}={{{last1|}}}
 
|{{#if:{{{first1|}}}    |first    |HIDE_PARAMETER2a}}={{{first1|}}}
 
|{{#if:{{{author1|}}}  |author  |HIDE_PARAMETER3a}}={{{author1|}}}
 
|{{#if:{{{authorlink1|}}}  |author-link  |HIDE_PARAMETER4a}}={{{authorlink1|}}}
 
|{{#if:{{{author1-link|}}}  |author-link  |HIDE_PARAMETER5a}}={{{author1-link1|}}}
 
 
 
|{{#if:{{{last2|}}}    |last2    |HIDE_PARAMETER1b}}={{{last2|}}}
 
|{{#if:{{{first2|}}}    |first2    |HIDE_PARAMETER2b}}={{{first2|}}}
 
|{{#if:{{{author2|}}}  |author2  |HIDE_PARAMETER3b}}={{{author2|}}}
 
|{{#if:{{{authorlink2|}}}  |author2-link  |HIDE_PARAMETER4b}}={{{authorlink2|}}}
 
|{{#if:{{{author2-link|}}}  |author2-link  |HIDE_PARAMETER5b}}={{{author2-link|}}}
 
 
 
|{{#if:{{{last3|}}}    |last3    |HIDE_PARAMETER1c}}={{{last3|}}}
 
|{{#if:{{{first3|}}}    |first3    |HIDE_PARAMETER2c}}={{{first3|}}}
 
|{{#if:{{{author3|}}}  |author3  |HIDE_PARAMETER3c}}={{{author3|}}}
 
|{{#if:{{{authorlink3|}}}  |author3-link  |HIDE_PARAMETER4c}}={{{authorlink3|}}}
 
|{{#if:{{{author3-link|}}}  |author3-link  |HIDE_PARAMETER5c}}={{{author3-link|}}}
 
 
 
|{{#if:{{{last4|}}}    |last4    |HIDE_PARAMETER1d}}={{{last4|}}}
 
|{{#if:{{{first4|}}}    |first4    |HIDE_PARAMETER2d}}={{{first4|}}}
 
|{{#if:{{{author4|}}}  |author4  |HIDE_PARAMETER3d}}={{{author4|}}}
 
|{{#if:{{{authorlink4|}}}  |author4-link  |HIDE_PARAMETER4d}}={{{authorlink4|}}}
 
|{{#if:{{{author4-link|}}}  |author4-link  |HIDE_PARAMETER5d}}={{{author4-link|}}}
 
 
 
|{{#if:{{{last5|}}}    |last5    |HIDE_PARAMETER1e}}={{{last5|}}}
 
|{{#if:{{{first5|}}}    |first5    |HIDE_PARAMETER2e}}={{{first5|}}}
 
|{{#if:{{{author5|}}}  |author5  |HIDE_PARAMETER3e}}={{{author5|}}}
 
|{{#if:{{{authorlink5|}}}  |author5-link  |HIDE_PARAMETER4e}}={{{authorlink5|}}}
 
|{{#if:{{{author5-link|}}}  |author5-link  |HIDE_PARAMETER5e}}={{{author5-link|}}}
 
 
 
|{{#if:{{{last6|}}}    |last6    |HIDE_PARAMETER1f}}={{{last6|}}} <!--Article "Elijah" has 6 authors-->
 
|{{#if:{{{first6|}}}    |first6    |HIDE_PARAMETER2f}}={{{first6|}}}
 
|{{#if:{{{author6|}}}  |author6  |HIDE_PARAMETER3f}}={{{author6|}}}
 
|{{#if:{{{authorlink6|}}}  |author6-link  |HIDE_PARAMETER4f}}={{{authorlink6|}}}
 
|{{#if:{{{author6-link|}}}  |author6-link  |HIDE_PARAMETER5f}}={{{author6-link|}}}
 
 
 
|{{#if:{{{edition|}}}    |edition    |HIDE_PARAMETER25}}={{{edition|}}}
 
|{{#if:{{{accessdate|}}} |accessdate  |HIDE_PARAMETER26}}={{{accessdate|}}}
 
|{{#if:{{{archiveurl|}}} |archiveurl  |HIDE_PARAMETER28}}={{{archiveurl|}}}
 
|{{#if:{{{archivedate|}}}|archivedate |HIDE_PARAMETER29}}={{{archivedate|}}}
 
 
 
|{{#if:{{{volume|}}}    |volume      |HIDE_PARAMETER30}}={{{volume|}}}
 
|{{#if:{{{page|}}}      |page        |HIDE_PARAMETER31}}={{{page|}}}
 
|{{#if:{{{pages|}}}      |pages        |HIDE_PARAMETER32}}={{{pages|}}}
 
|{{#if:{{{mode|}}}      |mode        |HIDE_PARAMETER33}}={{{mode|}}}
 
 
}}<includeonly><!--
 
}}<includeonly><!--
 
-->{{#ifeq: {{NAMESPACEE}} |<!--is not set-->
 
-->{{#ifeq: {{NAMESPACEE}} |<!--is not set-->
 
     |<!--Set: sort out the parameters-->
 
     |<!--Set: sort out the parameters-->
     [[Category:Wikipedia articles incorporating a citation from the 1906 Jewish Encyclopedia]]
+
     [[Category:Wikipedia articles incorporating a citation from the 1906 Jewish Encyclopedia]]<!--
    {{#if: {{{wstitle|}}} |[[Category:Wikipedia articles incorporating a citation from the 1906 Jewish Encyclopedia with a Wikisource reference]]
+
-->{{#if: {{{wstitle|}}} |[[Category:Wikipedia articles incorporating a citation from the 1906 Jewish Encyclopedia with a Wikisource reference]]<!--
      |<!--else-->
+
              else-->|{{#if: {{#if: {{{title|}}}|{{{title}}}|{{{article|}}} }}|[[Category:Wikipedia articles incorporating a citation from the 1906 Jewish Encyclopedia without a Wikisource reference]]<!--
      [[Category:Wikipedia articles incorporating a citation from the 1906 Jewish Encyclopedia without a Wikisource reference]]
+
              else-->|[[Category:Wikipedia articles incorporating a citation from the 1906 Jewish Encyclopedia with no article parameter]]<!--
    }}
+
            -->}}<!--
 +
  -->}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 21:05, 11 October 2020

 Singer, Isidore; et al., eds. (1901–1906). The Jewish Encyclopedia. New York: Funk & Wagnalls. Missing or empty |title= (help)

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

Usage

This template takes most of the named parameters used by {{cite encyclopedia}}

Quick explanation (aide-mémoire)

The template can be placed in different locations and depending on the what it is required the parameters can be mixed and matched:

Location Parameters Example Note
==References== {{Cite Jewish Encyclopedia |wstitle=Jewish Encyclopedia name}}

See Note →

Singer, Isidore; et al., eds. (1901–1906). "Atonement, Day of" . The Jewish Encyclopedia. New York: Funk & Wagnalls. Use wstitle=Jewish Encyclopedia name if the article exists on Wikisource; if not use title=Jewish Encyclopedia name
==References== {{Cite Jewish Encyclopedia |title=Jewish Encyclopedia name |url=http://... |first= |last= |volume= |page=}}  Jastrow, Morris (1902). "Atonement, Day of". In Singer, Isidore; et al. (eds.). The Jewish Encyclopedia. 2. New York: Funk & Wagnalls. p. 100. some additional information: title instead of wstitle, url to the external page instead of link to wikisource; the first and last names of the author of the article, the volume and page [number]. If volume is set then the year is set to the date the volume was published
==Further reading== {{Cite Jewish Encyclopedia |noicon=1 |url=http://... |title=Jewish Encyclopedia name}} Singer, Isidore; et al., eds. (1901–1906). "Atonement, Day of". The Jewish Encyclopedia. New York: Funk & Wagnalls. noicon=1 remove the lead icon (optional), title= for the article name not yet on Wikisource. url= for where the text can be found online. NB. consider using {{Jewish Encyclopedia poster}} instead.
==External links== {{Jewish Encyclopedia |noicon=1 |wstitle=Jewish Encyclopedia name}} Singer, Isidore; et al., eds. (1901–1906). "Atonement, Day of". The Jewish Encyclopedia. New York: Funk & Wagnalls. noicon=1, remove the lead icon (optional). NB. consider using {{Jewish Encyclopedia poster}} instead.
==External links== {{Jewish Encyclopedia |wstitle=Jewish Encyclopedia name|short=x}} "Atonement, Day of" . The Jewish Encyclopedia. 1901–1906. short=x (optional), blocks the display of editor and location and published.

Hidden categories

This template will add the article transcluding it to the hidden categories:

See also