Difference between revisions of "Template:Cite Jewish Encyclopedia/sandbox"
Jump to navigation
Jump to search
imported>Daask (Allow wstitle to stand in for article title for error message) |
imported>Trappist the monk (sync from live;) |
||
| Line 8: | Line 8: | ||
<!--fill out some parameters with default values--> | <!--fill out some parameters with default values--> | ||
| − | | encyclopedia={{{encyclopedia|[[Jewish Encyclopedia]]}}} | + | | encyclopedia={{{encyclopedia|[[The Jewish Encyclopedia]]}}} |
| year = {{{year | {{#switch:{{{volume}}} | | year = {{{year | {{#switch:{{{volume}}} | ||
| Line 25: | Line 25: | ||
| editor-link={{{editor-link|{{#if:{{{short|}}}| | Isidore Singer}}}}} | | editor-link={{{editor-link|{{#if:{{{short|}}}| | Isidore Singer}}}}} | ||
| display-editors={{{display-editors|{{#if:{{{short|}}}| | etal}}}}} | | display-editors={{{display-editors|{{#if:{{{short|}}}| | etal}}}}} | ||
| − | | publisher={{{publisher|{{#if:{{{short|}}}| |Funk & Wagnalls | + | | publisher={{{publisher|{{#if:{{{short|}}}| |Funk & Wagnalls}}}}} |
| location={{{location|{{#if:{{{short|}}}| |New York}}}}} | | location={{{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--> | <!--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|}}} | |
| − | + | |<!--else-->{{#if: {{{article|}}}|<!--then-->{{{article|}}} | |
| − | + | |<!--else--><sup><span style="color:red">article name needed</span></sup> | |
| − | + | }}<!--end article--> | |
| − | + | }}<!--end title--> | |
| − | + | }}<!--end of check wstitle--> | |
| + | |||
<!--ignore url= if wstitle is set, otherwise set url if it has a value--> | <!--ignore url= if wstitle is set, otherwise set url if it has a value--> | ||
| − | |{{#if:{{{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--> | <!--ref= is set in {{tl|Jewish Encyclopedia}} treat it as a normal parameter here--> | ||
| Line 93: | Line 94: | ||
|{{#if:{{{display-authors|}}} |display-authors |HIDE_PARAMETER7a}}={{{display-authors|}}} | |{{#if:{{{display-authors|}}} |display-authors |HIDE_PARAMETER7a}}={{{display-authors|}}} | ||
| + | |{{#if:{{{article|}}} m |article |HIDE_PARAMETER24}}={{{article|}}} | ||
|{{#if:{{{edition|}}} |edition |HIDE_PARAMETER25}}={{{edition|}}} | |{{#if:{{{edition|}}} |edition |HIDE_PARAMETER25}}={{{edition|}}} | ||
|{{#if:{{{accessdate|}}} |accessdate |HIDE_PARAMETER26}}={{{accessdate|}}} | |{{#if:{{{accessdate|}}} |accessdate |HIDE_PARAMETER26}}={{{accessdate|}}} | ||
| Line 103: | Line 105: | ||
|{{#if:{{{mode|}}} |mode |HIDE_PARAMETER33}}={{{mode|}}} | |{{#if:{{{mode|}}} |mode |HIDE_PARAMETER33}}={{{mode|}}} | ||
|{{#if:{{{1|}}} |1 |HIDE_PARAMETER34}}={{{1|}}} | |{{#if:{{{1|}}} |1 |HIDE_PARAMETER34}}={{{1|}}} | ||
| − | + | }}<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-->|{{#if: {{#if: {{{title|}}}|{{{title}}}|{{{article|}}} }}|[[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]]<!-- | else-->|[[Category:Wikipedia articles incorporating a citation from the 1906 Jewish Encyclopedia with no article parameter]]<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Revision as of 21:41, 10 October 2020
Singer, Isidore; et al., eds. (1901–1906). "article name needed". The Jewish Encyclopedia. New York: Funk & Wagnalls.
| This is the template sandbox page for Template:Cite Jewish Encyclopedia (diff). See also the companion subpage for test cases. |
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). . 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=}} | 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}} | . 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:
- 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. |