Template: Infobox class/doc: Difference between revisions

From TSAS Library
Jump to: navigation, search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
==Usage==
==Usage==


<pre style="overflow:auto; white-space:pre;">
<pre style="white-space: pre-wrap;">
{{Infobox class
{{Infobox class
| coursename      =  
| coursename      =  
Line 9: Line 9:
| department      =  
| department      =  
| teacher          =  
| teacher          =  
| teacher2        =
| sessions        =  
| sessions        =  
| prerequisites    =  
| prerequisites    =  
Line 20: Line 21:


For WikiDB use:
For WikiDB use:
<pre style="overflow:auto; white-space:pre;">
<pre style="white-space: pre-wrap;">
<data table="Courses" template="Infobox class">
<data table="Courses" template="Infobox class">
coursename      =  
coursename      =  
Line 26: Line 27:
department      =  
department      =  
teacher          =  
teacher          =  
teacher2        =
sessions        =  
sessions        =  
prerequisites    =  
prerequisites    =  
Line 33: Line 35:
opento          = Courses Available to Freshmen|Freshmen]]<br />[[Courses Available to Sophomores|Sophomores]]<br />[[Courses Available to Juniors|Juniors]]<br />[[Courses Available to Seniors|Seniors
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
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>
</data>
</pre>
</pre>
Line 43: Line 53:
; department
; department
: Should read Language Arts, Mathematics, Science, History, Visual Arts, Performing Arts, World Languages, Computer Science, Physical Education, or Senior Capstone in <nowiki>[[Double square brackets]]</nowiki> .
: Should read Language Arts, Mathematics, Science, History, Visual Arts, Performing Arts, World Languages, Computer Science, Physical Education, or Senior Capstone in <nowiki>[[Double square brackets]]</nowiki> .
; grcode
; Teacher
: Graduation requirement code. Check Wen-GAGE for accuracy.
: Name of teacher
; teacher2
: Name of second teacher
; sessions
; sessions
: Number of sessions for a single enrollment.
: Number of sessions for a single enrollment.
; 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
; grcode
: Graduation requirement code. Check Wen-GAGE for accuracy.
; 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>
; Teacher
: Name of teacher or teachers delivering course. Must be a link to those teachers' pages.
; offered
; offered
: Schoolyear offered, in YY-YY format, as link.
: Schoolyear offered, in YY-YY format, as link.

Latest revision as of 11:42, 12 May 2019

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

Usage

{{Infobox class
| coursename       = 
| description      = 
| department       = 
| teacher          = 
| teacher2         =
| 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          = 
teacher2         =
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]] .
Teacher
Name of teacher
teacher2
Name of second teacher
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
grcode
Graduation requirement code. Check Wen-GAGE for accuracy.
opento
List of grades to be taught. Must include any or all of the following: [[09]] | [[10]] | [[11]] | [[12]]
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]]