Difference between revisions of "Template:Course Links"

From Georgia Tech Student Wiki
(Prototype table for course links. Added some weird conditional logic for templates; need a way to signal whether registration info is open for new semesters or not (so we can show and hide the oscar links). Right now, if the registration semester (or secondary registration semester) are the same as the current one, they are ignored.)
Line 1: Line 1:
  +
{| class="wikitable"
[https://oscar.gatech.edu/bprod/bwckctlg.p_display_courses?term_in={{OSCAR_CURRENT_SEMESTER}}&one_subj={{{subject}}}&sel_crse_strt={{{number}}}&sel_crse_end={{{number}}}&sel_subj=&sel_levl=&sel_schd=&sel_coll=&sel_divs=&sel_dept=&sel_attr= OSCAR] - [https://critique.gatech.edu/course?courseID={{{subject}}}%20{{{number}}} Course Critique]
 
  +
|- style="font-weight:bold; text-align:center;"
  +
! colspan="2" |{{{subject}}} {{{number}}}
  +
|-
  +
! colspan="2" |Course Links
  +
|-
  +
! colspan="2" |[https://critique.gatech.edu/course?courseID={{{subject}}}%20{{{number}}} Course Critique]
  +
|-
 
! colspan="2" |[https://oscar.gatech.edu/bprod/bwckctlg.p_display_courses?term_in={{OSCAR_CURRENT_SEMESTER}}&one_subj={{{subject}}}&sel_crse_strt={{{number}}}&sel_crse_end={{{number}}}&sel_subj=&sel_levl=&sel_schd=&sel_coll=&sel_divs=&sel_dept=&sel_attr= OSCAR {{OSCAR_CURRENT_SEMESTER_NAME}}]
  +
|-
  +
|{{#ifeq: {{OSCAR_REGISTRATION_SEMESTER}} | {{OSCAR_CURRENT_SEMESTER}}|
  +
{{!}} |
  +
{{!}}[https://oscar.gatech.edu/bprod/bwckctlg.p_display_courses?term_in={{OSCAR_REGISTRATION_SEMESTER}}&one_subj={{{subject}}}&sel_crse_strt={{{number}}}&sel_crse_end={{{number}}}&sel_subj=&sel_levl=&sel_schd=&sel_coll=&sel_divs=&sel_dept=&sel_attr= {{OSCAR_REGISTRATION_SEMESTER_NAME}}]
  +
}}
  +
|{{#ifeq: {{OSCAR_REGISTRATION_SEMESTER_SECONDARY}} | {{OSCAR_CURRENT_SEMESTER}}|
  +
{{!}} |
  +
{{!}}[https://oscar.gatech.edu/bprod/bwckctlg.p_display_courses?term_in={{OSCAR_REGISTRATION_SEMESTER_SECONDARY}}&one_subj={{{subject}}}&sel_crse_strt={{{number}}}&sel_crse_end={{{number}}}&sel_subj=&sel_levl=&sel_schd=&sel_coll=&sel_divs=&sel_dept=&sel_attr= {{OSCAR_REGISTRATION_SEMESTER_SECONDARY_NAME}}]
  +
}}
  +
|-
  +
|}

Revision as of 23:25, 26 August 2023

{{{subject}}} {{{number}}}
Course Links
Course Critique
OSCAR Fall 2023