Jump to content

Template:Teeka: Difference between revisions

From Anandamakaranda
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{Commentaries
<noinclude>{{#cargo_declare: _table=Commentaries
}}</noinclude>{{#cargo_store: _table=Commentaries
| verse_id      = {{{verse_id|}}}
| verse_id      = {{{verse_id|}}}
| commentary_id  = {{{id|}}}
| commentary_id  = {{{id|}}}
| name          = bhashyam
| name          = {{{name|}}}
| text          = {{{text|}}}
| text          = {{{text|}}}
}}</includeonly>
}}<noinclude>
== Template:Teeka ==
== Template:Teeka ==
Renders a sub-commentary (ṭīkā) block as a titled grey bubble.
Stores ṭīkā commentary in the Commentaries Cargo table.
 
The display HTML is emitted by the renderer directly.
=== Parameters ===
[[Category:Cargo store templates]]
{| class="wikitable"
|-
! Parameter !! Required !! Description
|-
| <code>verse_id</code> || Yes || ID of the parent verse, e.g. <code>BS_C01_S01_V01</code>
|-
| <code>id</code> || No || ID of this commentary block
|-
| <code>name</code> || Yes || Internal name of the commentary (e.g. NyayaDeepika)
|-
| <code>label</code> || No || Display title shown in the bubble header (defaults to name)
|-
| <code>text</code> || Yes || The ṭīkā prose content
|}
 
=== Example ===
<pre>
{{Teeka
| verse_id = BS_C01_S01_V01
| id      = BS_C01_S01_V01_T1
| name    = NyayaDeepika
| label    = न्यायदीपिका
| text    =
धर्मक्षेत्रे इति — धर्मस्य क्षेत्रं धर्मक्षेत्रम् ।
}}
</pre>
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 08:46, 22 May 2026

This template defines the table "Commentaries". View table.

Template:Teeka

Stores ṭīkā commentary in the Commentaries Cargo table. The display HTML is emitted by the renderer directly.