Templates
Sample Interim
This is a sample template for an interim report that fits on a single page with a few comments.
/page/,"Sample Interim",2,1
/****/,The second last number on the /page/ keyword must be 2 if the template
/****/,is to be able to refer more than one course on the page. This Interim
/****/,report summarises a student's results on a single page.
/****/,This template includes a few comments that explain how the template works.
/****/,It is assumed that you already studied the "Sample Subject - Commented"
/****/,template which includes many more comments. Features of the template that
/****/,are explained in that template script are not explained here again.
/mode/,transparent
/colour/,0,0,0
/textcolour/
/colour/,255,255,255
/backcolour/
/colour/,0,0,0
/pen/,solid,3
/brush/,hollow
/offset/,50,50,global
/****/,--------------- Headings ---------------
/offset/,0,0
/sans/,36,bold
/centre
/text/,0,0,1800,200,Your High School
/offset/,0,150,relative
/sans/,24,bold
/****/,preview,text,Year 7 Preliminary Course Report
/title/,title,0,0,1800,150
/****/,--------------- Student ---------------
/offset/,0,150,relative
/serif/,16,bold
/left/
/****/,preview,text,A. Good Student
/field/,student,0,0,0,0
/text/,0,0,1800,100,subtextName: ^
/****/,--------------- Absences ---------------
/offset/,0,150,relative
/control/,push,offset
/serif/,14,bold
/left/
/text/,0,0,400,100,Days Absent
/serif/,14
/left/
/text/,0,70,400,150,Explained:
/****/,preview,number,1,10
/field/,attendance,300,70,550,150
/offset/,0,70,relative
/text/,0,70,400,150,Unexplained:
/****/,preview,number,1,10
/field/,reserved3,300,70,550,150
/control/,pop,offset
/control/,push,offset
/offset/,600,0,relative
/serif/,14,bold
/left/
/text/,0,0,400,100,Partial Absences
/serif/,14
/left/
/text/,0,70,400,150,Explained:
/****/,preview,number,1,10
/field/,reserved4,300,70,550,150
/offset/,0,70,relative
/text/,0,70,400,150,Unexplained:
/****/,preview,number,1,10
/field/,reserved5,300,70,550,150
/control/,pop,offset
/****/,--------------- Uniform ---------------
/control/,push,offset
/offset/,1200,0,relative
/serif/,14,bold
/left/
/text/,0,0,400,100,Uniform
/serif/,14
/left/
/****/,This /if/ keyword checks to see if N has been entered in the database. Only
/****/,if N has been entered does the "Not meeting requirements" comment appear
/****/,otherwise "Meeting requirements" is shown. What this means, is that only the
/****/,exceptions need to be entered to hopefully (if most students are satisfactory)
/****/,reduce the required data entry.
/if/,level1,1,equals,N
/text/,0,70,500,150,Not meeting requirements
/else/
/text/,0,70,500,150,Meeting requirements
/endif/
/control/,pop,offset
/****/,--------------- Table Heading ---------------
/offset/,0,240,relative
/grid/,0,0,400,100,1,1
/grid/,400,0,550,100,1,1
/grid/,550,0,1800,100,1,1
/serif/,12
/middle/
/text/,0,0,400,100,Subject
/text/,550,0,1800,100,Teacher's Comment
/serif/,10
/middle/
/text/,400,10,550,100,Grade
/offset/,0,-60,relative
/****/,--------------- First Subject ---------------
/****/,The /if/ keyword uses the number 2. Previously and on the other sample
/****/,templates a number 1 has always been used, but this template is different
/****/,because it refers to more than one course. In this case the 2 refers to
/****/,the second course. Why the second course? This is because with the
/****/,report the first course is the Roll class (or homeroom) which does not
/****/,appear in the table, so the subjects start a number 2.
/****/,preview,latin,10,20
/if/,subject,2
/offset/,0,160,relative
/grid/,0,0,400,160,1,1
/grid/,400,0,550,160,1,1
/grid/,550,0,1800,160,1,1
/serif/,12
/left/
/****/,The /column/ keyword is similar to the /field/ keyword, but it is able to
/****/,refer to a specific course a student is in. The number of the course is
/****/,the number immediately after the field name and before the frame coordinates.
/****/,preview,latin,10,30
/column/,subject,2,10,10,380,160
/middle/
/****/,preview,text,A
/column/,grade,2,400,0,550,160
/serif/,10
/left/
/****/,preview,latin,100,200
/column/,comment,2,560,10,1750,160
/else/
/endif/
/****/,--------------- Next Subject ---------------
/****/,preview,latin,10,20
/if/,subject,3
/offset/,0,160,relative
/grid/,0,0,400,160,1,1
/grid/,400,0,550,160,1,1
/grid/,550,0,1800,160,1,1
/serif/,12
/left/
/****/,preview,latin,10,30
/column/,subject,3,10,10,380,160
/middle/
/****/,preview,text,A
/column/,grade,3,400,0,550,160
/serif/,10
/left/
/****/,preview,latin,100,200
/column/,comment,3,560,10,1750,160
/else/
/endif/
/****/,--------------- Next Subject ---------------
/****/,preview,latin,10,20
/if/,subject,4
/offset/,0,160,relative
/grid/,0,0,400,160,1,1
/grid/,400,0,550,160,1,1
/grid/,550,0,1800,160,1,1
/serif/,12
/left/
/****/,preview,latin,10,30
/column/,subject,4,10,10,380,160
/middle/
/****/,preview,text,A
/column/,grade,4,400,0,550,160
/****/,---- Comment ----
/serif/,10
/left/
/****/,preview,latin,100,200
/column/,comment,4,560,10,1750,160
/else/
/endif/
/****/,--------------- Next Subject ---------------
/****/,preview,latin,10,20
/if/,subject,5
/offset/,0,160,relative
/grid/,0,0,400,160,1,1
/grid/,400,0,550,160,1,1
/grid/,550,0,1800,160,1,1
/serif/,12
/left/
/****/,preview,latin,10,30
/column/,subject,5,10,10,380,160
/middle/
/****/,preview,text,A
/column/,grade,5,400,0,550,160
/serif/,10
/left/
/****/,preview,latin,100,200
/column/,comment,5,560,10,1750,160
/else/
/endif/
/****/,--------------- Next Subject ---------------
/****/,preview,latin,10,20
/if/,subject,6
/offset/,0,160,relative
/grid/,0,0,400,160,1,1
/grid/,400,0,550,160,1,1
/grid/,550,0,1800,160,1,1
/serif/,12
/left/
/****/,preview,latin,10,30
/column/,subject,6,10,10,380,160
/middle/
/****/,preview,text,A
/column/,grade,6,400,0,550,160
/serif/,10
/left/
/****/,preview,latin,100,200
/column/,comment,6,560,10,1750,160
/else/
/endif/
/****/,--------------- Next Subject ---------------
/****/,preview,latin,10,20
/if/,subject,7
/offset/,0,160,relative
/grid/,0,0,400,160,1,1
/grid/,400,0,550,160,1,1
/grid/,550,0,1800,160,1,1
/serif/,12
/left/
/****/,preview,latin,10,30
/column/,subject,7,10,10,380,160
/middle/
/****/,preview,text,A
/column/,grade,7,400,0,550,160
/serif/,10
/left/
/****/,preview,latin,100,200
/column/,comment,7,560,10,1750,160
/else/
/endif/
/****/,--------------- Next Subject ---------------
/****/,preview,latin,10,20
/if/,subject,8
/offset/,0,160,relative
/grid/,0,0,400,160,1,1
/grid/,400,0,550,160,1,1
/grid/,550,0,1800,160,1,1
/serif/,12
/left/
/****/,preview,latin,10,30
/column/,subject,8,10,10,380,160
/middle/
/****/,preview,text,A
/column/,grade,8,400,0,550,160
/serif/,10
/left/
/****/,preview,latin,100,200
/column/,comment,8,560,10,1750,160
/else/
/endif/
/****/,--------------- Next Subject ---------------
/****/,preview,latin,10,20
/if/,subject,9
/offset/,0,160,relative
/grid/,0,0,400,160,1,1
/grid/,400,0,550,160,1,1
/grid/,550,0,1800,160,1,1
/serif/,12
/left/
/****/,preview,latin,10,30
/column/,subject,9,10,10,380,160
/middle/
/****/,preview,text,A
/column/,grade,9,400,0,550,160
/serif/,10
/left/
/****/,preview,latin,100,200
/column/,comment,9,560,10,1750,160
/else/
/endif/
/****/,--------------- Next Subject ---------------
/****/,preview,latin,10,20
/if/,subject,10
/offset/,0,160,relative
/grid/,0,0,400,160,1,1
/grid/,400,0,550,160,1,1
/grid/,550,0,1800,160,1,1
/serif/,12
/left/
/****/,preview,latin,10,30
/column/,subject,10,10,10,380,160
/middle/
/****/,preview,text,A
/column/,grade,10,400,0,550,160
/serif/,10
/left/
/****/,preview,latin,100,200
/column/,comment,10,560,10,1750,160
/else/
/endif/
/****/,--------------- Next Subject ---------------
/****/,preview,latin,10,20
/if/,subject,11
/offset/,0,160,relative
/grid/,0,0,400,160,1,1
/grid/,400,0,550,160,1,1
/grid/,550,0,1800,160,1,1
/serif/,12
/left/
/****/,preview,latin,10,30
/column/,subject,11,10,10,380,160
/middle/
/****/,preview,text,A
/column/,grade,11,400,0,550,160
/serif/,10
/left/
/****/,preview,latin,100,200
/column/,comment,11,560,10,1750,160
/else/
/endif/
/****/,------------ Signatures -----------
/offset/,50,2700
/serif/,12
/left/
/text/,0,0,800,100,student adviser
/line/,250,50,700,50
/offset/,900,0,relative
/serif/,12
/left/
/text/,0,0,800,100,Principal
/line/,250,50,700,50
/end/