Please sign in to edit, using the button at the upper right corner of the page.
If you would like your name changed, contact Mg27713.


Difference between revisions of "Template:Infobox course"

From Gunn Wiki
Jump to navigation Jump to search
(linked credit)
 
(12 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
| title = {{{title|{{PAGENAME}}}}}
 
| title = {{{title|{{PAGENAME}}}}}
 
| label1 = Department
 
| label1 = Department
| data1 = {{#switch: {{{department}}}|math=Math|mathelective=Math elective|english=English|englishelective=English elective|history=Social Studies|historyelective=Social Studies elective|biology=Biology|chemistry=Chemistry|physics=Physics|scienceelective=Science elective|cs=Computer Science|art=Art|pe=PE|other=Other}}
+
| data1 = {{#switch: {{{department}}}
 +
          |math|mathelective=[[Math]][[Category:Math Courses]]
 +
          |english|englishelective=[[English]][[Category:English Courses]]
 +
          |history|historyelective=[[Social Studies]][[Category:Social Studies Courses]]
 +
          |science|biology|chemistry|physics|scienceelective=[[Science]][[Category:Science Courses]]
 +
          |cte|cs|work=[[CTE]][[Category:CTE Courses]]
 +
          |art=[[Art]][[Category:Art Courses]]
 +
          |pe=[[PE]][[Category:PE Courses]]
 +
          |lang=[[Foreign Language]][[Category:Foreign Language Courses]]
 +
          |Other[[Category:Other Courses]]
 +
 
 +
          }}
 
| label2 = Length
 
| label2 = Length
 
| data2 = {{#switch: {{{length}}}|sem=Semester|year=Year}}
 
| data2 = {{#switch: {{{length}}}|sem=Semester|year=Year}}
 
| label3 = [[Credit]] type
 
| label3 = [[Credit]] type
| data3 = {{#switch: {{{credit}}}|no=None|optional=Optional|repeat=Repeatable|{{#switch: {{{weighted}}}|yes=Weighted|no=Unweighted}}}}
+
| data3 = {{#switch: {{{credit}}}|no=None|passfail=Pass/Fail|repeat=Repeatable{{#if: {{{humor|}}}||[[Category:Repeatable courses]]}}|{{#switch: {{{weighted}}}|yes=[[GPA|Weighted]]{{#if: {{{humor|}}}||[[Category:Weighted courses]]}}|no=[[GPA|Unweighted]]}}}}
 
| label4 = Teacher(s)
 
| label4 = Teacher(s)
 
| data4 = {{{teachers|}}}
 
| data4 = {{{teachers|}}}

Latest revision as of 07:28, 6 January 2025

Infobox course
DepartmentOther
50px Template documentation[view] [edit] [history] [purge]

Usage

Title: the course title

Department Options: math, english, history, science, cte, art, pe, lang
Defunct Department Options (kept for backward-compatibility): mathelective, englishelective, historyelective, biology, chemistry, physics, scienceelective, cs, work

Length Options: sem, year

Credit Options: no, passfail, repeat

Weighted Options: yes, no

Teachers: the teachers