Template:Chapter: Difference between revisions
Jump to navigation
Jump to search
(+docs) |
m (/cat) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| | {|style="float:right" border=1 cellspacing=0 cellpadding=0 | ||
| | | | ||
{| | {| | ||
!colspan=2|{{C{{{1|7}}}}} | !colspan=2|{{C{{{1|7}}}}} | ||
|- | |- | ||
![[Image:{{C{{{1|7}}}}}.png|128px]]<br>Intro | ![[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]]}} | ||
|- | |- | ||
! | !Failure screen | ||
! | !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]]}} | ||
Line 26: | Line 26: | ||
|} | |} | ||
|} | |} | ||
<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]]—[[Template:C14|C14]] to obtain the actual level names used to generate the wiki links in the navigation box. | <noinclude>This handy template is used for navigation on the [[Chapters|Chapter summary pages]] (sample on right). 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 at the upper-right with the chapter numbers using the [[Template:C|C template]]. The C template and this Chapter template itself use the templates [[Template:C0|C0]]—[[Template:C14|C14]] to obtain the actual level names used to generate the wiki links in the navigation box. | ||
[[Category: | |||
[[Category:Table templates]]</noinclude> |
Revision as of 00:10, 16 December 2015
|
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.