Difference between revisions of "Template:Cite Talmud"

From blackwiki
Jump to navigation Jump to search
imported>Daask
(Replace functional template with module that does the same thing)
imported>Pppery
(Module renamed)
 
Line 1: Line 1:
<includeonly>{{#invoke:Talmud|generate_citation}}</includeonly><noinclude>
+
<includeonly>{{#invoke:Cite Talmud|generate_citation}}</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. -->
 
</noinclude>
 
</noinclude>

Latest revision as of 16:03, 18 May 2019

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

Usage

Parameters

  1. b for Babylonian Talmud or y for Jerusalem Talmud. Babylonian is default.
  2. Tractate name (required)
  3. Chapter name or number (optional)
  4. daf (optional) – These are page or folio numbers as described at Talmud#Slavuta Talmud 1795 and Vilna Talmud 1835. Ranges are accepted, eg. 2b-4a
  5. Boolean (optional) – 'yes' will cause it to generate without the preceding Talmud, b.

Example

{{Cite Talmud|b|Shabbat||3b-5a}}

Talmud, b. Shabbat 3b-5a, or
{{Cite Talmud|b|Shabbat||3b-5a|yes}}

Shabbat 3b-5a if 5 = 'yes'

For additional examples, see Template:Cite Talmud/testcases.

Generate Talmud citation linking to an external website

Template parameters

ParameterDescriptionTypeStatus
Compilation1

'b' for Babylonian or 'y' for Jerusalem

Example
b
Stringrequired
Tractate2

no description

Example
Shabbat
Stringrequired
Chapter3

Chapter name or number

Stringoptional
daf4

Page or folio numbers; ranges are accepted

Example
32b, 2b-4a
Stringoptional
Remove preceding?5

Removes preceding Talmud and abbreviation to compilation if 'yes', if blank (default) or 'no' generates normally

Default
no
Example
yes
Booleanoptional