Jump to content

Template:Adhyaya: Difference between revisions

From Grantha
No edit summary
No edit summary
 
Line 11: Line 11:
| section_num  = {{{section_num|}}}
| section_num  = {{{section_num|}}}
| title        = {{{title|}}}
| title        = {{{title|}}}
}}<includeonly><div class="adhyaya-block" id="{{{document_id|}}}_C{{{chapter_num|}}}{{#if:{{{section_num|}}}|_S{{{section_num|}}}}}"><h2 class="adhyaya-heading"><span class="mw-headline" id="{{{document_id|}}}_C{{{chapter_num|}}}{{#if:{{{section_num|}}}|_S{{{section_num|}}}}}}">{{{title|}}}</span></h2></div></includeonly><noinclude>
}}<noinclude>
== Template:Adhyaya ==
== Template:Adhyaya ==
Renders the chapter/section heading as h2.adhyaya-heading (orange, dotted).
Stores chapter metadata in Cargo only. The visible heading comes from
The doc title is a separate .gr-doc-title div at top of each page.
== wiki markup == in the page wikitext, which MW's TOC picks up natively.
The mw-headline span registers with MW's TOC generator.
The id= matches the XML id for [[#BGB_C01|anchor]] links to work.
[[Category:Templates]]
[[Category:Templates]]
[[Category:Cargo store templates]]
[[Category:Cargo store templates]]
</noinclude>
</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.