Jump to content

Template:Commentary: Difference between revisions

From Grantha
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--
<includeonly><div
  Template:Commentary
  class="bhashyam-block"
  ═══════════════════
  data-verse="{{{verse_id|}}}"
  Collapsible commentary block — clean, no background colors.
  data-commentary-id="{{{id|}}}">{{{text|}}}</div></includeonly><noinclude>
  Parameters:
== Template:Bhashyam ==
    verse_id  – e.g. NNS_C01_V01
Renders a primary bhāṣya commentary block as plain running prose.
    name      – slug identifier
No box, no title, no border — flows as body text with left indent.
    label    – display name
    text      – commentary body
-->
<div class="commentary-block mw-collapsible mw-collapsed"
    id="commentary-{{{verse_id}}}-{{{name}}}">  
  <div class="mw-collapsible-toggle commentary-header">
    <span>▶ {{{label}}}</span>
  </div>
  <div class="commentary-body mw-collapsible-content">
    {{{text}}}
  </div>


</div>
=== Parameters ===
{| class="wikitable"
|-
! Parameter !! Required !! Description
|-
| <code>verse_id</code> || Yes || ID of the parent verse, e.g. <code>ISH_C01_V01</code>
|-
| <code>id</code> || No || ID of this commentary block
|-
| <code>text</code> || Yes || The bhāṣya prose content
|}
 
=== Example ===
<pre>
{{Bhashyam
| verse_id = ISH_C01_V01
| id      = ISH_C01_V01_B01
| text    =
ईशस्यावासयोग्यमीशावास्यम् । जगत्यां प्रकृतौ ।
}}
</pre>
[[Category:Templates]]
</noinclude>

Latest revision as of 08:53, 10 April 2026

Template:Bhashyam

Renders a primary bhāṣya commentary block as plain running prose. No box, no title, no border — flows as body text with left indent.

Parameters

Parameter Required Description
verse_id Yes ID of the parent verse, e.g. ISH_C01_V01
id No ID of this commentary block
text Yes The bhāṣya prose content

Example

{{Bhashyam
| verse_id = ISH_C01_V01
| id       = ISH_C01_V01_B01
| text     =
ईशस्यावासयोग्यमीशावास्यम् । जगत्यां प्रकृतौ ।
}}