Difference between revisions of "Template:Cite Talmud/doc"
Jump to navigation
Jump to search
imported>Waddie96 (add nobook) |
imported>Waddie96 (add templatedata) |
||
| Line 20: | Line 20: | ||
[[Category:Text-specific formatting and function templates]] | [[Category:Text-specific formatting and function templates]] | ||
}}</includeonly> | }}</includeonly> | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "1": { | ||
| + | "label": "Compilation", | ||
| + | "description": "'b' for Babylonian or 'y' for Jerusalem", | ||
| + | "example": "b", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | }, | ||
| + | "2": { | ||
| + | "label": "Tractate", | ||
| + | "example": "Shabbat", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | }, | ||
| + | "3": { | ||
| + | "label": "Chapter", | ||
| + | "description": "Chapter name or number", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "4": { | ||
| + | "label": "daf", | ||
| + | "description": "Page or folio numbers; ranges are accepted", | ||
| + | "example": "32b, 2b-4a", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "5": { | ||
| + | "label": "Remove preceding?", | ||
| + | "description": "Removes preceding Talmud and abbreviation to compilation if 'yes', if blank (default) or 'no' generates normally", | ||
| + | "example": "yes", | ||
| + | "type": "boolean", | ||
| + | "default": "no" | ||
| + | } | ||
| + | }, | ||
| + | "description": "Generate Talmud citation linking to an external website" | ||
| + | } | ||
| + | </templatedata> | ||
Latest revision as of 13:29, 18 September 2019
| This is a documentation subpage for Template:Cite Talmud. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Usage
Parameters
bfor Babylonian Talmud oryfor Jerusalem Talmud. Babylonian is default.- Tractate name (required)
- Chapter name or number (optional)
- 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
- 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
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Compilation | 1 | 'b' for Babylonian or 'y' for Jerusalem
| String | required |
| Tractate | 2 | no description
| String | required |
| Chapter | 3 | Chapter name or number | String | optional |
| daf | 4 | Page or folio numbers; ranges are accepted
| String | optional |
| Remove preceding? | 5 | Removes preceding Talmud and abbreviation to compilation if 'yes', if blank (default) or 'no' generates normally
| Boolean | optional |