Template:Chapter: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(template now only requires one parameter instead of four)
(using ifexpr for math instead of ifeq, which is for strings)
Line 14: Line 14:
|-
|-
![[Image:Act {{#switch:{{{1|7}}}|1|2|3|4|5|6|7=1|8|9|10|11=2|12|13|14=3}} .MISSION FAILED.png|128px]]
![[Image:Act {{#switch:{{{1|7}}}|1|2|3|4|5|6|7=1|8|9|10|11=2|12|13|14=3}} .MISSION FAILED.png|128px]]
!valign="center" | {{#ifeq:{{{1}}}|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
!Lose-splashscreen
!Win-splashscreen
!Win-splashscreen
|-
|-
!{{#ifeq:{{{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]]}}
!{{#ifeq:{{{1|7}}}+1|15|[[Image:Outro frame 365.png|128px]]|[[Image:{{C{{#expr:{{{1|7}}}+1}}}}.png|128px]]}}
!{{#ifexpr:{{{1|7}}}+1=15|[[Image:Outro frame 365.png|128px]]|[[Image:{{C{{#expr:{{{1|7}}}+1}}}}.png|128px]]}}
|-
|-
!{{#ifeq:{{{1|7}}}-1|-1|[[Intro|<nowiki><<</nowiki> Prev. chapter]]|[[{{C{{#expr:{{{1|7}}}-1}}}}|<nowiki><<</nowiki> Prev. chapter]]}}
!{{#ifexpr:{{{1|7}}}-1=-1|[[Intro|<nowiki><<</nowiki> Prev. chapter]]|[[{{C{{#expr:{{{1|7}}}-1}}}}|<nowiki><<</nowiki> Prev. chapter]]}}
!{{#ifeq:{{{1|7}}}+1|15|[[Outro|Next chapter <nowiki>>></nowiki>]]|[[{{C{{#expr:{{{1|7}}}+1}}}}|Next chapter <nowiki>>></nowiki>]]}}
!{{#ifexpr:{{{1|7}}}+1=15|[[Outro|Next chapter <nowiki>>></nowiki>]]|[[{{C{{#expr:{{{1|7}}}+1}}}}|Next chapter <nowiki>>></nowiki>]]}}
|}
|}
|}
|}
<noinclude>Documentation goes here.
<noinclude>Documentation goes here.
[[Category:General table templates]]</noinclude>
[[Category:General table templates]]</noinclude>

Revision as of 17:00, 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 >>

Documentation goes here.