Template: Infobox class/doc: Difference between revisions

From TSAS Library
Jump to: navigation, search
No edit summary
No edit summary
 
(12 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       =  
| description   =  
| description     =  
| department   =  
| department       =
| grcode        =  
| teacher          =  
| sessions     =
| teacher2        =
| prerequisites =  
| sessions         =  
| addlreqs      =
| prerequisites   =  
| opento       =  
| note            =
| teacher       =
| grcode          =
| offered      =  
| offered          =  
| house        =
| 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
}}
}}
</pre>
</pre>


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       =  
description   =  
description     =  
department    =  
department       =
grcode       = [[FA]] [[C&C]] [[LA]] [[STEM]]
teacher          =
sessions      =  
teacher2        =
prerequisites =  
sessions        =
opento        =  
prerequisites   =
teacher      =
note            =  
offered      =  
grcode           =
house        =[[FA]] [[C&C]] [[LA]] [[STEM]]
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>
</data>
</pre>
</pre>
Line 42: 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]]