Template:Teeka: Difference between revisions
Created page with "<includeonly><div class="teeka-block" data-verse="{{{verse_id|}}}" data-commentary-id="{{{id|}}}" data-teeka-name="{{lc:{{{name|}}}}}"><div class="teeka-title">{{{label|{{{name|}}}}}}</div><div class="teeka-body">{{{text|}}}</div></div></includeonly><noinclude> == Template:Teeka == Renders a sub-commentary (ṭīkā) block as a titled grey bubble. === Parameters === {| class="wikitable" |- ! Parameter !! Required !! Description |- | <code>verse_id</code> || Yes..." |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#cargo_store: _table=Commentaries | ||
| verse_id = {{{verse_id|}}} | |||
| commentary_id = {{{id|}}} | |||
| name = {{{name|}}} | |||
| text = {{{text|}}} | |||
}}</includeonly><noinclude> | |||
== Template:Teeka == | == Template:Teeka == | ||
Renders a sub-commentary (ṭīkā) block as a titled grey bubble. | Renders a sub-commentary (ṭīkā) block as a titled grey bubble. | ||
Revision as of 18:01, 21 May 2026
Template:Teeka
Renders a sub-commentary (ṭīkā) block as a titled grey bubble.
Parameters
| Parameter | Required | Description |
|---|---|---|
verse_id |
Yes | ID of the parent verse, e.g. BS_C01_S01_V01
|
id |
No | ID of this commentary block |
name |
Yes | Internal name of the commentary (e.g. NyayaDeepika) |
label |
No | Display title shown in the bubble header (defaults to name) |
text |
Yes | The ṭīkā prose content |
Example
{{Teeka
| verse_id = BS_C01_S01_V01
| id = BS_C01_S01_V01_T1
| name = NyayaDeepika
| label = न्यायदीपिका
| text =
धर्मक्षेत्रे इति — धर्मस्य क्षेत्रं धर्मक्षेत्रम् ।
}}