Difference between revisions of "Template:Infobox class"
From TSAS Library
JStallings (talk | contribs) |
JStallings (talk | contribs) |
||
| Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| bodystyle = width: 100%; border: 0px; margin: 0.5em; background-color: #ffffff; | | bodystyle= width: 100%; border: 0px; margin: 0.5em; background-color: #ffffff; | ||
| titlestyle = display: none; | | titlestyle = display: none; | ||
| rowstyle1 = | | rowstyle1= | ||
| title = {{{coursename|}}} | | title = {{{coursename|}}} | ||
| label1 = | | label1 = | ||
| data1 = {{{description|}}} | | data1 = {{{description|}}} | ||
| label2 = Department | | label2 = Department | ||
| data2 = {{{department|}}} | | data2 = {{{department|}}} | ||
| label3 = GR Code | | label3 = GR Code | ||
| data3 = {{{grcode|}}} | | data3 = {{{grcode|}}} | ||
| label4 = Sessions | | label4 = Sessions | ||
| data4 = {{{sessions|}}} | | data4 = {{{sessions|}}} | ||
| label5 = Prerequisites | | label5 = Prerequisites | ||
| data5 = {{{prerequisites|}}} | | data5 = {{{prerequisites|}}} | ||
| label6 = Additional requirements | | label6 = Additional requirements | ||
| data6 = {{{addlreqs|}}} | | data6 = {{{addlreqs|}}} | ||
| label7 | | label7 = Teacher | ||
| data7 | | data7 = {{{teacher|}}} | ||
| label8 | | label8 = Offered | ||
| data8 | | data8 = {{{offered|}}} | ||
| header9 = Open to these classes | | header9 = Open to these classes | ||
| label10 = | | label10 = | ||
| Line 30: | Line 30: | ||
| data13 = {{{Seniors|}}} | | data13 = {{{Seniors|}}} | ||
| header14 = Required for these Houses | | header14 = Required for these Houses | ||
| label15 = | |||
| label15 = | | data15 = {{{Career & College|}}} | ||
| data15 | | label16 = | ||
| label16 = | | data16 = {{{Fine Arts|}}} | ||
| data16 | | label17 = | ||
| label17 = | | data17 = {{{Liberal Arts|}}} | ||
| data17 | | label18 = | ||
| label18 = | | data18 = {{{STEM|}}} | ||
| data18 | |||
| below = {{{below|}}} | | below = {{{below|}}} | ||
}}<noinclude>{{documentation}}<!-- please add category and language links to the /doc sub-page, not here --></noinclude> | }}<noinclude>{{documentation}}<!-- please add category and language links to the /doc sub-page, not here --></noinclude> | ||
Revision as of 18:17, 13 May 2018
| Open to these classes | |
|---|---|
| Required for these Houses |
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
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]]
| The above documentation is transcluded from Template:Infobox class/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |