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
(added more links and categories)
 
(8 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=[[Math]]|mathelective=[[Math]]|english=[[English]]|englishelective=[[English]]|history=[[Social Studies]]|historyelective=[[Social Studies]]|science=[[Science]]|biology=[[Science]]|chemistry=[[Science]]|physics=[[Science]]|scienceelective=[[Science]]|cs=[[CTE]]|cte=[[CTE]]|art=[[Art]]|pe=[[PE]]|work=[[Work Experience]]|other=Other|lang=[[Foreign Language]]}}
 
| 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[[Category:Repeatable courses]]|{{#switch: {{{weighted}}}|yes=[[GPA|Weighted]][[Category:Weighted courses]]|no=[[GPA|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 17:14, 28 October 2024

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

Usage

Title: the course title

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

Length Options: sem, year

Credit Options: no, passfail, repeat

Weighted Options: yes, no

Teachers: the teachers