Template:Chapter: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (alignment fix)
m (these names for the screens might look a bit nicer)
Line 4: Line 4:
!colspan=2|{{C{{{1|7}}}}}
!colspan=2|{{C{{{1|7}}}}}
|-
|-
![[Image:{{C{{{1|7}}}}}.png|128px]]<br>Intro splashscreen
![[Image:{{C{{{1|7}}}}}.png|128px]]<br>Intro screen
!valign="top"|
!valign="top"|
{{Chapters|align=center}}
{{Chapters|align=center}}
Line 16: Line 16:
!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]]}}
|-
|-
!Lose-splashscreen
!Failure screen
!Win-splashscreen
!Success screen
|-
|-
!{{#ifexpr:{{{1|7}}}-1=-1|[[Image:Intro frame 1077.png|128px]]|[[Image:{{C{{#expr:{{{1|7}}}-1}}}}.png|128px]]}}
!{{#ifexpr:{{{1|7}}}-1=-1|[[Image:Intro frame 1077.png|128px]]|[[Image:{{C{{#expr:{{{1|7}}}-1}}}}.png|128px]]}}

Revision as of 15:24, 12 February 2014

CHAPTER 07 . A FRIEND IN NEED
CHAPTER 07 . A FRIEND IN NEED.png
Intro screen
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
Failure screen Success screen
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 (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 C0C14 to obtain the actual level names used to generate the wiki links in the navigation box.