Template:Chapter: Difference between revisions

+docs
(forgot to catch level 0 in switch stmt)
(+docs)
Line 26: Line 26:
|}
|}
|}
|}
<noinclude>Documentation goes here.
<noinclude>This handy template is used for navigation on the [[Chapters|Chapter summary pages]]. The syntax is simply <nowiki>{{Chapter|x}}</nowiki>, where x is the chapter number (0-14). Internally, the template uses the [[Template:Chapters|Chapters]] template, which creates the box with the chapter numbers using the [[Template:C|C template]]. The C template and this Chapter template itself use the templates [[Template:C0|C0]]&mdash;[[Template:C14|C14]] to obtain the actual level names used to generate the wiki links in the navigation box.
[[Category:General table templates]]</noinclude>
[[Category:General table templates]]</noinclude>