Jump to content

Template:Adhyaya: Difference between revisions

From Grantha
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
| chapter_id  = String
| chapter_id  = String
| chapter_num  = String
| chapter_num  = String
| section_num  = String
| title        = String
| title        = String
| title_trans  = String
}}</noinclude>{{#cargo_store: _table=Adhyaya
| has_intro    = Boolean
}}</noinclude><div class="adhyaya-block" id="{{{document_id}}}_C{{{chapter_num}}}"><h2>{{{title}}}</h2>{{#if:{{{title_trans|}}}|<p>{{{title_trans}}}</p>}}{{#if:{{{intro|}}}|<div class="adhyaya-block-intro">{{{intro}}}</div>}}</div><noinclude>
 
</noinclude>{{#cargo_store: _table=Adhyaya
| document_id  = {{{document_id|}}}
| document_id  = {{{document_id|}}}
| chapter_id  = {{{document_id}}}_C{{{chapter_num}}}
| chapter_id  = {{{document_id}}}_C{{{chapter_num|}}}
| chapter_num  = {{{chapter_num|}}}
| chapter_num  = {{{chapter_num|}}}
| section_num  = {{{section_num|}}}
| title        = {{{title|}}}
| title        = {{{title|}}}
| title_trans  = {{{title_trans|}}}
}}<noinclude>
| has_intro    = {{#if:{{{intro|}}}|yes|no}}
== Template:Adhyaya ==
}}
Stores chapter metadata in Cargo only. The visible heading comes from
== wiki markup == in the page wikitext, which MW's TOC picks up natively.
[[Category:Templates]]
[[Category:Cargo store templates]]
</noinclude>

Latest revision as of 11:23, 13 April 2026

This template defines the table "Adhyaya". View table. A replacement table has been generated for this table; View replacement table.

Template:Adhyaya

Stores chapter metadata in Cargo only. The visible heading comes from == wiki markup == in the page wikitext, which MW's TOC picks up natively.