Jump to content

Template:Cite Talmud/sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Use named variable for daf
No edit summary
 
(21 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Cite Talmud/sandbox|generate_citation}}</includeonly><noinclude>
<includeonly>{{#vardefine:daf|{{{4|2a}}}}}[[Talmud]], {{#switch: {{#if:{{{1|}}}|{{{1}}}|b}}
| b = [https://www.sefaria.org/{{replace|{{{2}}}| |_}}.{{{daf}}} <abbr title="Babylonian">b.</abbr> {{{2}}} {{{daf}}}]
| y = [https://www.sefaria.org/Jerusalem_Talmud_{{replace|{{{2}}}| |_}}.{{{daf}}} <abbr title="Jerusalem">y.</abbr> {{{2}}} {{{daf}}}]
| {{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. -->

Latest revision as of 18:29, 6 October 2021