Template:Chapter: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(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>

Revision as of 17:15, 21 March 2012

CHAPTER 07 . A FRIEND IN NEED
CHAPTER 07 . A FRIEND IN NEED.png
Intro splashscreen
Chapters of Oni 00
01 02 03 04 05 06 07
08 09 10 11 12 13 14
Speech | Consoles
Objectives | Diary
Act 1 .MISSION FAILED.png File:Chapter 7 .MISSION COMPLETE.png
Lose-splashscreen Win-splashscreen
CHAPTER 06 . COUNTERATTACK.png CHAPTER 08 . AN INNOCENT LIFE.png
<< Prev. chapter Next chapter >>

This handy template is used for navigation on the Chapter summary pages. The syntax is simply {{Chapter|x}}, where x is the chapter number (0-14). Internally, the template uses the Chapters template, which creates the box with the chapter numbers using the C template. The C template and this Chapter template itself use the templates C0C14 to obtain the actual level names used to generate the wiki links in the navigation box.