Difference between revisions of "Template:1010Chapter"

From CompSciWiki
Jump to: navigation, search
m (expr tag fix)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
__NOEDITSECTION__
 
__NOEDITSECTION__
 
+
[[COMP1010|Wiki 1010 Table of Contents]]
 
<!--table for Header begins-->
 
<!--table for Header begins-->
[[COMP1010|Back to the Table of Contents]]
+
{|style="width: 100%; font-weight: normal;border-left: 1px solid grey; border-top: 1px solid grey; border-bottom: 1px solid grey;border-right: 1px solid grey;" cellpadding="5" cellspacing="0"
{|style="border-collapse: collapse; width=100%" cellpadding="5" cellspacing="0"
+
|-  
|- style="background-color:black; color:white; font-size: medium;"
+
!colspan=3 width: 100%; style="font-weight: normal; padding: 15px; background: #E1E7EE;" align="left" valign="top"|
|colspan=width="70%" | <h1><font color = "white">Chapter {{{ChapterNum|}}}</font></h1>
+
{{ #if: {{{Picture|}}} | [[Image:{{{Picture}}}|200px|right]] }}
 +
{{ #if: {{{ChapterName|}}} | = {{{ChapterName}}} = | = Chapter {{{ChapterNum|#}}} = }}
 +
{{{Introduction|Introduction goes here.}}}
 +
__NOTOC__ __NOEDITSECTION__
 +
|-
 +
|width="33%" align="center" style="background: #C4D0DD" | &nbsp;
 +
|width="34%" align="center" style="background: #C4D0DD" | Write a [[Program_a_day|Program a Day]]
 +
|width="33%" align="center" style="background: #C4D0DD" | [[Case Studies]]
 +
|}
 +
{{{Body|}}}
  
{{{Introduction|}}}
+
<br>
 
+
<br>
<!--Image goes here-->
+
----
|rowspan=1 align=center|[[Image:stairs3.jpg|400px|Photo credit: original photo from Flickr user ooh_food at http://www.flickr.com/photos/ooh_food/2506055943]]
+
{|width="100%"
|-style="background-color:#458B00; color:white; height:5px" align=center
+
|-
| width="400"|<strong></strong>
+
! width="33%" align="left" | {{ #if: {{{PChapterLink|}}} | Chapter {{ #expr: {{{ChapterNum}}} - 1 }}: {{{PChapterLink}}} }}
| width="400"|<strong>Write a [[Program_a_day|Program a Day]]</strong>
+
! width="34%" align="center" | [[COMP1010|Table of Contents]]
| width="400"|<strong>Case Studies</strong>
+
! width="33%" align="right" | {{ #if: {{{NChapterLink|}}} | Chapter {{ #expr: {{{ChapterNum}}} + 1 }}: {{{NChapterLink}}} }}
 
|}
 
|}
  
 +
[[Category:COMP 1010]]
  
 +
<!--
 +
{{1010Chapter|ChapterNum=1
 +
|Introduction=
 +
|Picture=
  
{{{Body|}}}
+
|Body=
  
<br>
 
<br>
 
  
<table width = 100%, style="font-size:130%" >
+
|PChapterNum=1
<tr >
+
|PChapterLink=[[What Is Programming]]
    <td align = left>Chapter {{{PChapterNum|}}}: {{{PChapterLink|}}}</td>
+
|NChapterNum=2
    <td align = left>[[COMP1010|Table of Contents]] </td>
+
|NChapterLink=[[Java Fundamentals]]
    <td align = right>Chapter {{{NChapterNum|}}}: {{{NChapterLink|}}}</td>
+
}}
</tr>
+
-->
</table>
+
 
+
[[Category:COMP 1010]]
+

Latest revision as of 12:30, 2 December 2010


Wiki 1010 Table of Contents

Chapter #

Introduction goes here.

  Write a Program a Day Case Studies





Table of Contents