Difference between revisions of "Template:Cite Jewish Encyclopedia"
Jump to navigation
Jump to search
imported>Trappist the monk (sync from sandbox;) |
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.) |
||
| Line 1: | Line 1: | ||
| − | {{#if: | + | <!--sort out the icon to use |
| − | + | -->{{#if: {{{noicon|}}} |<!--then do nothing--> | |
| − | + | |<!--then-->{{#if: {{{wstitle|}}} |<!--then-->[[File:Wikisource-logo.svg|12px|alt=]] | |
| − | + | |<!--else-->[[File:PD-icon.svg|12px|alt=]] | |
| − | + | }} | |
| + | }}<!--no white spaces | ||
| + | -->{{Cite encyclopedia | ||
<!--fill out some parameters with default values--> | <!--fill out some parameters with default values--> | ||
| − | | encyclopedia=[[ | + | | encyclopedia={{{encyclopedia|[[Jewish Encyclopedia]]}}} |
| − | | year = {{#switch:{{{volume}}} | + | | year = {{{year | {{#switch:{{{volume}}} |
| 1 | I = 1901 | | 1 | I = 1901 | ||
| 2 | 3 | II | III = 1902 | | 2 | 3 | II | III = 1902 | ||
| Line 17: | Line 19: | ||
| <!-- default if no volume specified --> 1901–1906 | | <!-- default if no volume specified --> 1901–1906 | ||
}} | }} | ||
| + | }}} | ||
| − | | editor-first={{#if:{{{short|}}}| |Isidore}} | + | | editor-first={{{editor-first|{{#if:{{{short|}}}| |Isidore}}}}} |
| − | | editor-last={{#if:{{{short|}}}| |Singer}} | + | | editor-last={{{editor-last|{{#if:{{{short|}}}| |Singer}}}}} |
| − | | editor-link={{#if:{{{short|}}}| | Isidore Singer}} | + | | editor-link={{{editor-link|{{#if:{{{short|}}}| | Isidore Singer}}}}} |
| − | | display-editors={{#if:{{{short|}}}| | etal}} | + | | display-editors={{{display-editors|{{#if:{{{short|}}}| | etal}}}}} |
| − | | publisher={{#if:{{{short|}}}| |Funk & Wagnalls}} | + | | publisher={{{publisher|{{#if:{{{short|}}}| |Funk & Wagnalls Company}}}}} |
| − | | location={{#if:{{{short|}}}| |New York}} | + | | location={{{location|{{#if:{{{short|}}}| |New York}}}}} |
| − | |title={{#if:{{{ | + | <!--If wstitle set then use a wikisource link NOT YET PRESENT on Wikisource but put in code for future use--> |
| − | + | | title= {{#if: {{{wstitle|}}}|<!--then-->[[wikisource:Jewish Encyclopedia/{{{wstitle|}}}|{{{wstitle|}}}]] | |
| − | + | |<!-- else --> | |
| − | + | {{#if: {{{title|}}}|<!--then-->{{{title|}}} | |
| − | + | }}<!--end title--> | |
| + | }}<!--end of check wstitle--> | ||
| − | |url={{#if: {{{wstitle|}}}||{{{url|}}}}} | + | <!--ignore url= if wstitle is set, otherwise set url if it has a value--> |
| + | |{{#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]] | |
| − | + | |<!--else--> | |
| − | + | [[Category:Wikipedia articles incorporating a citation from the 1906 Jewish Encyclopedia without a Wikisource reference]] | |
| − | + | }} | |
| − | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 21:04, 11 October 2020
Singer, Isidore; et al., eds. (1901–1906). Jewish Encyclopedia. New York: Funk & Wagnalls Company. Missing or empty |title= (help)
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 → |
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=}} | 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". Jewish Encyclopedia. New York: Funk & Wagnalls Company. | 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). . Jewish Encyclopedia. New York: Funk & Wagnalls Company. | noicon=1, remove the lead icon (optional). NB. consider using {{Jewish Encyclopedia poster}} instead.
|
| ==External links== | {{Jewish Encyclopedia |wstitle=Jewish Encyclopedia name|short=x}} | 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:
- Category:Wikipedia articles incorporating a citation from the 1906 Jewish Encyclopedia
- Category:Wikipedia articles incorporating a citation from the 1906 Jewish Encyclopedia with a Wikisource reference
- 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 with no article parameter
See also
- {{Cite JE1906}} - a redirect to this page's template
- {{Jewish Encyclopedia}} - used to attribute the source if a Wikipedia article contains text copied from the 1906 Jewish Encyclopedia (see WP:PLAGIARISM)
- {{JE1906}} - a redirect to the template Jewish Encyclopedia
- {{Jewish Encyclopedia poster}} - places a Wikisource box to the right of the page.
- {{JE1906 poster}} - a redirect to the template Jewish Encyclopedia poster
- Wikipedia:Jewish Encyclopedia topics - Wikipedia project page
- Wikipedia:Sister projects
| The above documentation is transcluded from Template:Cite Jewish Encyclopedia/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. |