Template:Bhashyam: Difference between revisions

No edit summary
No edit summary
Line 4: Line 4:
| name          = String
| name          = String
| text          = Text
| text          = Text
}}</noinclude>{{#cargo_store: _table=Commentaries
}}</noinclude><div class="bhashyam-block" id="{{{id|}}}" data-verse="{{{verse_id|}}}" data-block-id="{{{id|}}}">{{{text|}}}</div>{{#cargo_store: _table=Commentaries
| verse_id      = {{{verse_id|}}}
| verse_id      = {{{verse_id|}}}
| commentary_id  = {{{id|}}}
| commentary_id  = {{{id|}}}
Line 11: Line 11:
}}<noinclude>
}}<noinclude>
== Template:Bhashyam ==
== Template:Bhashyam ==
Stores bhāṣya commentary in the Commentaries Cargo table.
Renders a bhāṣya block and stores it in the Commentaries Cargo table.
[[Category:Cargo store templates]]
Emits: <div class="bhashya" id="{id}" data-verse="{verse_id}" data-block-id="{id}">
[[Category:Templates]][[Category:Cargo store templates]]
</noinclude>
</noinclude>