Template: Infobox class/doc: Difference between revisions

From TSAS Library
Jump to: navigation, search
No edit summary
No edit summary
Line 2: Line 2:


==Usage==
==Usage==
<noinclude>{{documentation}}</noinclude>


<pre style="overflow:auto; white-space:pre;">
<pre style="overflow:auto; white-space:pre;">
Line 8: Line 9:
| description      =  
| description      =  
| department      =  
| department      =  
| grcode          =  
| teacher          =
| sessions        =
| sessions        =
| prerequisites    =  
| prerequisites    =  
| addlreqs        =
| note            =
| grcode          =
| offered          =  
| Freshmen        = [[Courses Available to Freshmen|Freshmen]]
| Freshmen        = [[Courses Available to Freshmen|Freshmen]]
| Sophomores      = [[Courses Available to Freshmen|Sophomores]]
| Sophomores      = [[Courses Available to Freshmen|Sophomores]]
| Juniors          = [[Courses Available to Freshmen|Juniors]]
| Juniors          = [[Courses Available to Freshmen|Juniors]]
| Seniors          = [[Courses Available to Freshmen|Seniors]]
| Seniors          = [[Courses Available to Freshmen|Seniors]]
| teacher          =
| offered          =
| Career & College = [[Career & College|<i class="fas fa-building"></i> Career & College]]
| Career & College = [[Career & College|<i class="fas fa-building"></i> Career & College]]
| Fine Arts        = [[Fine Arts|<i class="fas fa-paint-brush"></i> Fine Arts]]
| Fine Arts        = [[Fine Arts|<i class="fas fa-paint-brush"></i> Fine Arts]]
Line 31: Line 32:
description      =  
description      =  
department      =  
department      =  
grcode          =
teacher          =
sessions        =  
sessions        =
prerequisites    =  
prerequisites    =  
addlreqs        =
note            =
grcode          =
offered          =  
Freshmen        = [[Courses Available to Freshmen|Freshmen]]
Freshmen        = [[Courses Available to Freshmen|Freshmen]]
Sophomores      = [[Courses Available to Freshmen|Sophomores]]
Sophomores      = [[Courses Available to Freshmen|Sophomores]]
Juniors          = [[Courses Available to Freshmen|Juniors]]
Juniors          = [[Courses Available to Freshmen|Juniors]]
Seniors          = [[Courses Available to Freshmen|Seniors]]
Seniors          = [[Courses Available to Freshmen|Seniors]]
teacher          =
offered          =
Career & College = [[Career & College|<i class="fas fa-building"></i> Career & College]]
Career & College = [[Career & College|<i class="fas fa-building"></i> Career & College]]
Fine Arts        = [[Fine Arts|<i class="fas fa-paint-brush"></i> Fine Arts]]
Fine Arts        = [[Fine Arts|<i class="fas fa-paint-brush"></i> Fine Arts]]

Revision as of 18:56, 13 May 2018

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

Usage

Template documentation[create]
{{Infobox class
| coursename       = 
| description      = 
| department       = 
| teacher          =
| sessions         =
| prerequisites    = 
| note             =
| grcode           = 
| offered          = 
| Freshmen         = [[Courses Available to Freshmen|Freshmen]]
| Sophomores       = [[Courses Available to Freshmen|Sophomores]]
| Juniors          = [[Courses Available to Freshmen|Juniors]]
| Seniors          = [[Courses Available to Freshmen|Seniors]]
| Career & College = [[Career & College|<i class="fas fa-building"></i> Career & College]]
| Fine Arts        = [[Fine Arts|<i class="fas fa-paint-brush"></i> Fine Arts]]
| Liberal Arts     = [[Liberal Arts|<i class="fas fa-pencil-alt"></i>  Liberal Arts]]
| STEM             = [[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          = 
Freshmen         = [[Courses Available to Freshmen|Freshmen]]
Sophomores       = [[Courses Available to Freshmen|Sophomores]]
Juniors          = [[Courses Available to Freshmen|Juniors]]
Seniors          = [[Courses Available to Freshmen|Seniors]]
Career & College = [[Career & College|<i class="fas fa-building"></i> Career & College]]
Fine Arts        = [[Fine Arts|<i class="fas fa-paint-brush"></i> Fine Arts]]
Liberal Arts     = [[Liberal Arts|<i class="fas fa-pencil-alt"></i>  Liberal Arts]]
STEM             = [[STEM|<i class="fas fa-cogs"></i> STEM]]
</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.
addlreqs
Additional, non-course requirements. All courses should go in previous box!
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]]