Content deleted Content added
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> |
<noinclude> |
||
This is the "Talmud |
This is the "Talmud source" template. |
||
== Example == |
== Example == |
||
<pre>{{Talmud source |
<pre>{{Talmud source |
||
| Line 37: | Line 37: | ||
</noinclude> |
</noinclude> |
||
<includeonly> |
<includeonly> |
||
{{#cargo_store: _table=TalmudSources |
{{#cargo_store: _table=TalmudSources |
||
| Tractate = {{{Tractate|}}} |
|||
| PageNo = {{{PageNo|}}} |
|||
| Layout = {{{Layout|}}} |
|||
| Line = {{{Line|}}} |
|||
| SelectedText = {{{SelectedText|}}} |
|||
| EnglishTranslation = {{{EnglishTranslation|}}} |
|||
| Data = {{{Data|}}} |
|||
| Context = {{{Context|}}} |
|||
| Flags = {{{Flags|}}} |
|||
}} |
|||
<span class="talmud-source"> |
<span class="talmud-source"> |
||
[[Sefaria:{{{Tractate|}}}.{{{PageNo|}}}{{{Layout|}}}.{{{Line|}}}|{{{Tractate|}}} {{{PageNo|}}}{{{Layout|}}}:{{{Line|}}}]] - {{{SelectedText|}}} |
[[Sefaria:{{{Tractate|}}}.{{{PageNo|}}}{{{Layout|}}}.{{{Line|}}}|{{{Tractate|}}} {{{PageNo|}}}{{{Layout|}}}:{{{Line|}}}]] {{{Flags|}}} - {{{SelectedText|}}} |
||
<!-- Flowbite Modal Trigger --> |
<!-- Flowbite Modal Trigger (using span) --> |
||
<span data-modal-target="source-modal-{{{Tractate|}}}-{{{PageNo|}}}{{{Layout|}}}-{{{Line|}}}" data-modal-toggle="source-modal-{{{Tractate|}}}-{{{PageNo|}}}{{{Layout|}}}-{{{Line|}}}" class="inline-block px-2 py-1 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 cursor-pointer" |
<span data-modal-target="source-modal-{{{Tractate|}}}-{{{PageNo|}}}{{{Layout|}}}-{{{Line|}}}" data-modal-toggle="source-modal-{{{Tractate|}}}-{{{PageNo|}}}{{{Layout|}}}-{{{Line|}}}" class="inline-block px-2 py-1 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 cursor-pointer"> |
||
<i class="fas fa-info-circle"></i> More |
|||
</span> |
|||
<!-- Flowbite Modal --> |
<!-- Flowbite Modal --> |
||
<div id="source-modal-{{{Tractate|}}}-{{{PageNo|}}}{{{Layout|}}}-{{{Line|}}}" tabindex="-1" aria-hidden="true" class="fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full"> |
<div id="source-modal-{{{Tractate|}}}-{{{PageNo|}}}{{{Layout|}}}-{{{Line|}}}" tabindex="-1" aria-hidden="true" class="fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full"> |
||
| Line 56: | Line 68: | ||
<p class="text-base leading-relaxed text-gray-500 dark:text-gray-400"><b>English Translation:</b> {{{EnglishTranslation|}}}</p> |
<p class="text-base leading-relaxed text-gray-500 dark:text-gray-400"><b>English Translation:</b> {{{EnglishTranslation|}}}</p> |
||
<p class="text-base leading-relaxed text-gray-500 dark:text-gray-400"><b>Interesting Data:</b> {{{Data|}}}</p> |
<p class="text-base leading-relaxed text-gray-500 dark:text-gray-400"><b>Interesting Data:</b> {{{Data|}}}</p> |
||
<p class="text-base leading-relaxed text-gray-500 dark:text-gray-400"><b>Talmudic Context:</b> {{{Context|}}}</p> |
<p class="text-base leading-relaxed text-gray-500 dark:text-gray-400"><b>Talmudic Context:</b> {{{Context|}}}</p> |
||
<p class="text-base leading-relaxed text-gray-500 dark:text-gray-400"><b>Flags:</b> {{{Flags|}}}</p> |
|||
</div> |
</div> |
||
</div> |
</div> |
||
| Line 64: | Line 75: | ||
</span> |
</span> |
||
</includeonly> |
</includeonly> |
||
<templatedata> |
|||
{ |
|||
"description": "Footnote template for Talmud sources", |
|||
"params": { |
|||
"Tractate": { |
|||
"label": "Tractate", |
|||
"type": "string", |
|||
"required": true |
|||
}, |
|||
"PageNo": { |
|||
"label": "Page No.", |
|||
"type": "number", |
|||
"required": true |
|||
}, |
|||
"Layout": { |
|||
"label": "Layout (a or b)", |
|||
"type": "string", |
|||
"required": true |
|||
}, |
|||
"Line": { |
|||
"label": "Line", |
|||
"type": "number", |
|||
"required": true |
|||
}, |
|||
"SelectedText": { |
|||
"label": "Selected Text", |
|||
"type": "string", |
|||
"required": true |
|||
}, |
|||
"EnglishTranslation": { |
|||
"label": "English Translation", |
|||
"type": "string" |
|||
}, |
|||
"Data": { |
|||
"label": "Data (what's interesting)", |
|||
"type": "string" |
|||
}, |
|||
"Context": { |
|||
"label": "Context in the Talmud", |
|||
"type": "string" |
|||
}, |
|||
"Flags": { |
|||
"label": "Flags", |
|||
"type": "string" |
|||
} |
|||
} |
|||
} |
|||
</templatedata> |
|||
Revision as of 21:50, 12 December 2024
This is the "Talmud source" template.
Example
{{Talmud source
| Tractate = Berakhot
| PageNo = 16
| Layout = a
| Line = 7
| SelectedText = Some interesting Aramaic text
| EnglishTranslation = This is the English translation of the text.
| Data = This is particularly interesting because…
| Context = The broader discussion in the Talmud here is about…
| Flags = This source has been debated, see…
}}Result
Berakhot 16a:7 This source has been debated, see… - Some interesting Aramaic text
More
Footnote template for Talmud sources
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Tractate | Tractate | no description | String | required |
| Page No. | PageNo | no description | Number | required |
| Layout (a or b) | Layout | no description | String | required |
| Line | Line | no description | Number | required |
| Selected Text | SelectedText | no description | String | required |
| English Translation | EnglishTranslation | no description | String | optional |
| Data (what's interesting) | Data | no description | String | optional |
| Context in the Talmud | Context | no description | String | optional |
| Flags | Flags | no description | String | optional |
This template defines the table "TalmudSources". This table has not been created yet.
Footnote template for Talmud sources
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Tractate | Tractate | no description | String | required |
| Page No. | PageNo | no description | Number | required |
| Layout (a or b) | Layout | no description | String | required |
| Line | Line | no description | Number | required |
| Selected Text | SelectedText | no description | String | required |
| English Translation | EnglishTranslation | no description | String | optional |
| Data (what's interesting) | Data | no description | String | optional |
| Context in the Talmud | Context | no description | String | optional |
| Flags | Flags | no description | String | optional |