Template:Chapter: Difference between revisions
Jump to navigation
Jump to search
m (/cat) |
m (fixing a fail-screen mistake for chapter 7) |
||
Line 13: | Line 13: | ||
|} | |} | ||
|- | |- | ||
![[Image:Act {{#switch:{{{1|7}}}|0|1|2|3|4|5|6|7 | ![[Image:Act {{#switch:{{{1|7}}}|0|1|2|3|4|5|6=1|7|8|9|10|11=2|12|13|14=3}} .MISSION FAILED.png|128px]] | ||
!valign="center" | {{#ifexpr:{{{1|7}}}=0|(None)|[[Image:Chapter {{{1|7}}} .MISSION COMPLETE.png|128px]]}} | !valign="center" | {{#ifexpr:{{{1|7}}}=0|(None)|[[Image:Chapter {{{1|7}}} .MISSION COMPLETE.png|128px]]}} | ||
|- | |- |
Revision as of 21:06, 10 July 2020
|
This handy template is used for navigation on the Chapter summary pages (sample on right). 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 at the upper-right with the chapter numbers using the C template. The C template and this Chapter template itself use the templates C0—C14 to obtain the actual level names used to generate the wiki links in the navigation box.