Template: Infobox class/doc: Difference between revisions

From TSAS Library
Jump to: navigation, search
No edit summary
No edit summary
Line 57: Line 57:
; prerequisites
; prerequisites
: Courses to be taken first. Create a link to the course with <nowiki>[[Double square brackets]]</nowiki> around the individual entries.
: Courses to be taken first. Create a link to the course with <nowiki>[[Double square brackets]]</nowiki> around the individual entries.
; addlreqs
; note
: Additional, non-course requirements. All courses should go in previous box!
: Additional, non-course requirements. All courses should go in previous box!
: 2 years of same FL are required for graduation
; opento
; opento
: List of grades to be taught. Must include any or all of the following: <nowiki>[[09]] | [[10]] | [[11]] | [[12]]</nowiki>
: List of grades to be taught. Must include any or all of the following: <nowiki>[[09]] | [[10]] | [[11]] | [[12]]</nowiki>

Revision as of 09:19, 16 May 2018

Infobox class may be used to summarize information about courses at TSAS.

Usage

{{Infobox class
| coursename       = 
| description      = 
| department       = 
| teacher          = 
| sessions         = 
| prerequisites    = 
| note             = 
| grcode           = 
| offered          = 
| opento           = Courses Available to Freshmen|Freshmen]]<br />[[Courses Available to Sophomores|Sophomores]]<br />[[Courses Available to Juniors|Juniors]]<br />[[Courses Available to Seniors|Seniors
| requiredby       = Career & College|<i class="fas fa-building"></i> Career & College]]<br />[[Fine Arts|<i class="fas fa-paint-brush"></i> Fine Arts]]<br />[[Liberal Arts|<i class="fas fa-pencil-alt"></i>  Liberal Arts]]<br />[[STEM|<i class="fas fa-cogs"></i> STEM
}}

For WikiDB use:

<data table="Courses" template="Infobox class">
coursename       = 
description      = 
department       = 
teacher          = 
sessions         = 
prerequisites    = 
note             = 
grcode           = 
offered          = 
opento           = Courses Available to Freshmen|Freshmen]]<br />[[Courses Available to Sophomores|Sophomores]]<br />[[Courses Available to Juniors|Juniors]]<br />[[Courses Available to Seniors|Seniors
requiredby       = Career & College|<i class="fas fa-building"></i> Career & College]]<br />[[Fine Arts|<i class="fas fa-paint-brush"></i> Fine Arts]]<br />[[Liberal Arts|<i class="fas fa-pencil-alt"></i>  Liberal Arts]]<br />[[STEM|<i class="fas fa-cogs"></i> STEM
09               = 
10               = 
11               = 
12               = 
CC               = 
FA               = 
LA               = 
ST               = 
</data>

Parameters

coursename
Name of the course. This is not displayed, but can be pulled from the database.
description
Course description as displayed in the Course Catalog.
department
Should read Language Arts, Mathematics, Science, History, Visual Arts, Performing Arts, World Languages, Computer Science, Physical Education, or Senior Capstone in [[Double square brackets]] .
grcode
Graduation requirement code. Check Wen-GAGE for accuracy.
sessions
Number of sessions for a single enrollment.
prerequisites
Courses to be taken first. Create a link to the course with [[Double square brackets]] around the individual entries.
note
Additional, non-course requirements. All courses should go in previous box!
2 years of same FL are required for graduation
opento
List of grades to be taught. Must include any or all of the following: [[09]] | [[10]] | [[11]] | [[12]]
Teacher
Name of teacher or teachers delivering course. Must be a link to those teachers' pages.
offered
Schoolyear offered, in YY-YY format, as link.
house
Houses that require this course. Must include any or all of the following: [[C&C]] | [[FA]] | [[LA]] | [[STEM]]