Difference between revisions of "learn:oncallfaculty"

From MGH Learn Pathology
Line 1: Line 1:
 
{{#vardefine:HG|{{#cargo_query:tables=scheduleFACservice|fields=StaffAbbrev|where=TaskAbbrev='HG' AND Date='{{#time: Y-m-d|today}}'|format=template|template=text|no html|default=none}}}}{{#vardefine:HGpager|{{#cargo_query:tables=facultyMGH|fields=pageid|where=copath_id='{{#var:HG}}'|fotmat=template|template=text|no html|default=none}}}}{{#vardefine:COAG|{{#cargo_query:tables=scheduleFACservice|fields=StaffAbbrev|where=TaskAbbrev='COAG' AND Date='{{#time: Y-m-d|today}}'|format=template|template=text|no html}}}}{{#vardefine:COAGpager|{{#cargo_query:tables=facultyMGH|fields=pageid|where=copath_id='{{#var:COAG}}'|fotmat=template|template=text|no html|no html}}}}<table class='scheduletable'>
 
{{#vardefine:HG|{{#cargo_query:tables=scheduleFACservice|fields=StaffAbbrev|where=TaskAbbrev='HG' AND Date='{{#time: Y-m-d|today}}'|format=template|template=text|no html|default=none}}}}{{#vardefine:HGpager|{{#cargo_query:tables=facultyMGH|fields=pageid|where=copath_id='{{#var:HG}}'|fotmat=template|template=text|no html|default=none}}}}{{#vardefine:COAG|{{#cargo_query:tables=scheduleFACservice|fields=StaffAbbrev|where=TaskAbbrev='COAG' AND Date='{{#time: Y-m-d|today}}'|format=template|template=text|no html}}}}{{#vardefine:COAGpager|{{#cargo_query:tables=facultyMGH|fields=pageid|where=copath_id='{{#var:COAG}}'|fotmat=template|template=text|no html|no html}}}}<table class='scheduletable'>
<tr><td bgcolor="#d25278"><center>[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=253668 {{ColorText|27364||green}}]</center></td></tr>
+
<tr><td bgcolor="#d25278"><center>[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=253668 {{ColorText|27364||black}}]</center></td></tr>
  
<tr><td bgcolor="#f1b7c0"><center>{{#ifeq:{{#var:COAG}}|JMH|[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=ONEDISP&ID=149652&SRCHNM=Higgins&UseSearchVer=1&NOBACK=0&BEGIN=11&END=20#top {{#var:COAG}}]|[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID={{#var:COAGpager}} {{#var:COAG}}]}}</center></td></tr>
+
<tr><td bgcolor="#f1b7c0"><center>{{#ifeq:{{#var:COAG}}|JMH|[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=ONEDISP&ID=149652&SRCHNM=Higgins&UseSearchVer=1&NOBACK=0&BEGIN=11&END=20#top {{ColorText|{{#var:COAG}}||black}}]|[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID={{#var:COAGpager}} {{ColorText|{{#var:COAG}}||black}}]}}</center></td></tr>
  
<tr><td bgcolor="#f6ab71"><center>[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=253668 27364]</center></td></tr>
+
<tr><td bgcolor="#f6ab71"><center>[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=253668 {{ColorText|27364||black}}]</center></td></tr>
  
<tr><td bgcolor="#f6ab71"><center>[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=86278 32443]</center></td></tr>
+
<tr><td bgcolor="#f6ab71"><center>[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=86278 {{ColorText|32443||black}}]</center></td></tr>
  
<tr><td bgcolor="#b0ced9"><center>[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=383378 25338]</center></td></tr>
+
<tr><td bgcolor="#b0ced9"><center>[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=383378 {{ColorText|25338||black}}]</center></td></tr>
  
<tr><td bgcolor="#b0ced9"><center>[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=383378 25338]</center></td></tr>
+
<tr><td bgcolor="#b0ced9"><center>[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=383378 {{ColorText|25338||black}}]</center></td></tr>
  
 
<tr><td bgcolor="#d3f6d0"><center>-</center></td></tr>
 
<tr><td bgcolor="#d3f6d0"><center>-</center></td></tr>
Line 16: Line 16:
 
<tr><td bgcolor="#d3f6d0"><center>-</center></td></tr>
 
<tr><td bgcolor="#d3f6d0"><center>-</center></td></tr>
  
<tr><td bgcolor="#d3f6d0"><center>{{#ifeq:{{#var:HG}}|JMH|[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=ONEDISP&ID=149652&SRCHNM=Higgins&UseSearchVer=1&NOBACK=0&BEGIN=11&END=20#top {{#var:HG}}]|[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID={{#var:HGpager}} {{#var:HG}}]}}</center></td></tr>
+
<tr><td bgcolor="#d3f6d0"><center>{{#ifeq:{{#var:HG}}|JMH|[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=ONEDISP&ID=149652&SRCHNM=Higgins&UseSearchVer=1&NOBACK=0&BEGIN=11&END=20#top {{ColorText|{{#var:HG}}||black}}]|[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID={{#var:HGpager}} {{ColorText|{{#var:HG}}||black}}]}}</center></td></tr>
  
<tr><td bgcolor="#7ba8c6"><center>{{#ifeq:{{#time:w|now}}|2|[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=143571 MFL12]|[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=67464 MM408]}}</center></td></tr>
+
<tr><td bgcolor="#7ba8c6"><center>{{#ifeq:{{#time:w|now}}|2|[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=143571 {{ColorText|MFL12||black}}]|[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=67464 {{ColorText|MM408||black}}]}}</center></td></tr>
 
</table>
 
</table>

Revision as of 13:22, September 6, 2021