Template:Teeka: Difference between revisions

No edit summary
No edit summary
 
Line 1: Line 1:
<noinclude>{{#cargo_declare: _table=Commentaries
<div class="teeka-block" data-verse="{{{verse_id|}}}" data-id="{{{id|}}}" data-name="{{lc:{{{name|}}}}}"><div class="teeka-title">{{{label|{{{name|}}}}}}</div><div class="teeka-body">{{{text|}}}</div></div>{{#cargo_store: _table=Commentaries
}}</noinclude>{{#cargo_store: _table=Commentaries
| verse_id      = {{{verse_id|}}}
| verse_id      = {{{verse_id|}}}
| commentary_id  = {{{id|}}}
| commentary_id  = {{{id|}}}
Line 7: Line 6:
}}<noinclude>
}}<noinclude>
== Template:Teeka ==
== Template:Teeka ==
Stores ṭīkā commentary in the Commentaries Cargo table.
Renders a ṭīkā block and stores it in the Commentaries Cargo table.
The display HTML is emitted by the renderer directly.
Emits: <div class="teeka-block" data-verse="{verse_id}" data-id="{id}" data-name="{name}">
[[Category:Cargo store templates]]
[[Category:Templates]][[Category:Cargo store templates]]
</noinclude>
</noinclude>