Template:Cite Talmud/sandbox: Difference between revisions
Appearance
Content deleted Content added
Fix syntax error / brackets from last edit |
Add warning about Chapter name and numbers not implemented |
||
Line 2: | Line 2: | ||
| b = [https://www.sefaria.org/{{replace|{{{2}}}| |_}}.{{{4|2a}}} <abbr title="Babylonian">b.</abbr> {{{2}}} {{{4|2a}}}] |
| b = [https://www.sefaria.org/{{replace|{{{2}}}| |_}}.{{{4|2a}}} <abbr title="Babylonian">b.</abbr> {{{2}}} {{{4|2a}}}] |
||
| y = [https://www.sefaria.org/Jerusalem_Talmud_{{replace|{{{2}}}| |_}}.{{{4|2a}}} <abbr title="Jerusalem">y.</abbr> {{{2}}} {{{4|2a}}}] |
| y = [https://www.sefaria.org/Jerusalem_Talmud_{{replace|{{{2}}}| |_}}.{{{4|2a}}} <abbr title="Jerusalem">y.</abbr> {{{2}}} {{{4|2a}}}] |
||
| {{error | First argument must be either b for Babylonian Talmud or y for Jerusalem Talmud.}} |
| {{error | First argument must be either b for Babylonian Talmud or y for Jerusalem Talmud.}} |
||
}}{{Ifpreview|{{#if: {{{3|}}}| {{small|Note: Chapter name and numbers are not yet implemented.}} }} }}</includeonly><noinclude> |
|||
{{Documentation}} |
{{Documentation}} |
||
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> |
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> |
Revision as of 04:14, 28 March 2018
This is the template sandbox page for Template:Cite Talmud (diff). See also the companion subpage for test cases. |
This template uses Lua: |
Usage
This template's documentation is missing, inadequate, or does not accurately describe its functionality or the parameters in its code. Please help to expand and improve it. |
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Cite Talmud in articles based on its TemplateData.
TemplateData for Cite Talmud
Generate Talmud citation linking to an external website
Parameter | Description | Type | Status | |
---|---|---|---|---|
Compilation | 1 | 'b' for Babylonian Talmud or 'y' for Jerusalem Talmud
| String | required |
Tractate | 2 | The specific tractate of talmud to cite
| String | required |
Daf | 3 4 daf | Page or folio numbers; ranges are accepted
| String | suggested |
Remove book label | nobook 5 | If set, don't include preceding "Talmud, b."
| Boolean | optional |
Example
{{Cite Talmud|b|Shabbat|3b-5a}}
{{Cite Talmud|b|Shabbat|3b-5a|nobook=yes}}
nobook = 'yes'
For additional examples, see Template:Cite Talmud/testcases.