Difference between revisions of "Template:pathCastPage"
From pathCast
(121 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | __NOCACHE__{{#css: td { vertical-align: top;} header#content-heading { display: none !important; } #content-wrapper { padding-left: 2.5em; !important; } }} | |
<br><br> | <br><br> | ||
{{text|'''{{{1}}}'''|||6|}}<br> | {{text|'''{{{1}}}'''|||6|}}<br> | ||
{{text|[[{{{13}}}|{{{2}}}]]|||4|}}<br><br> | {{text|[[{{{13}}}|{{{2}}}]]|||4|}}<br><br> | ||
− | {{text|Presented by [[ | + | {{#switch: {{{15}}} | null = |
+ | {{text|Presented by [[{{{14}}}|{{{3}}}, {{{8}}}]]|||4|}}<br> | ||
{{{9}}}, {{{10}}} | {{{9}}}, {{{10}}} | ||
+ | | | ||
+ | {{text|Presented by [[{{{14}}}|{{{3}}}, {{{8}}}]]<sup>1</sup> and {{#cargo_query:tables=faculty|fields=_pageName,namefirstlast,degree|where=namefirstlast='{{{15}}}'|format=template|template=facultyPageLink}}<sup>2</sup>|||4|}}<br> | ||
+ | <sup>1</sup>{{{9}}}, {{{10}}}<br> | ||
+ | <sup>2</sup>{{#cargo_query:tables=faculty|fields=CONCAT(position,', ',institution)|where=namefirstlast='{{{15}}}'|}} | ||
+ | }} | ||
<br><br> | <br><br> | ||
− | + | {{#switch: {{{5}}} | null = [[Image:pathCastTBD.jpg|class=fullwidth]]<br><br> | |
+ | | | ||
{{#ev:youtube|{{{5}}}}} | {{#ev:youtube|{{{5}}}}} | ||
− | {{text| | + | }} |
− | Part of the [[{{{6}}}]] series | + | {{#switch: {{{6}}} |
+ | | null = | ||
+ | |{{text|Part of the [[{{{6}}}]] series|||4|}}<br> | ||
+ | }} | ||
+ | {{text|{{#switch: {{{4}}} | 2038-04-11 = Date TBD | {{#time: F j, Y • g:i A|{{{4}}}}} (ET, NYC) | ||
+ | <br><br> | ||
+ | {{watch|{{{5}}}}} | ||
+ | }} | ||
+ | |||4}} | ||
+ | <br><br> | ||
+ | <div class="desktop"> | ||
+ | {{#if: {{#cargo_query: tables=pathCast,pathCastFiles |join on=pathCast._pageName=pathCastFiles.pathCast|fields=pathCastFiles._pageTitle|where=pathCastFiles.filetype='pdf' AND pathCast._pageName='{{PAGENAME}}'|default=}} | ||
+ | | | ||
<br> | <br> | ||
− | {{# | + | {{#cargo_query: tables=pathCast,pathCastFiles |join on=pathCast._pageName=pathCastFiles.pathCast|fields=pathCastFiles._pageTitle|where=pathCastFiles.filetype='pdf' AND pathCast._pageName='{{PAGENAME}}'|format=template|template=pdf|}} |
− | || | + | |}} |
+ | {{#if: {{#cargo_query: tables=pathCast,faculty,subspecialty |join on=pathCast.presenter1=faculty.namefirstlast,pathCast.subspecialty=subspecialty.subspecialty |fields= ,CONCAT('{{tabledate{{#urldecode:%7C}}',pathCast.date,'}}')=Date|where=subspecialty.subspecialty='{{{11}}}' AND DATEDIFF(pathCast.date,NOW()) <= -0 AND hide=0 AND NOT pathCast._pageName='{{PAGENAME}}'|default=|}} | ||
+ | | | ||
<br><br> | <br><br> | ||
− | < | + | {{text|{{collapsed|{{#fas:play}} <u>More '''{{{7}}}''' pathCast lectures {{#fas:angle-down}}</u>| |
+ | {{#css: td { vertical-align: top;} }} | ||
+ | {{text|{{#cargo_query: | ||
+ | tables=pathCast,faculty,subspecialty | ||
+ | |join on=pathCast.presenter1=faculty.namefirstlast,pathCast.subspecialty=subspecialty.subspecialty | ||
+ | |fields= | ||
+ | ,CONCAT('{{tabledate{{#urldecode:%7C}}',pathCast.date,'}}')=Date | ||
+ | ,CONCAT('[[',faculty._pageName,'|',pathCast.presenter1,']], ',faculty.degree)=Presenter | ||
+ | ,faculty.institution=Institution | ||
+ | ,CONCAT('{{tablelink{{#urldecode:%7C}}',pathCast._pageName,'{{#urldecode:%7C}}',pathCast.title,'{{#urldecode:%7C}}',pathCast.urlyt,'}}')=Lecture | ||
+ | |order by=Date DESC | ||
+ | |limit=500 | ||
+ | |where=subspecialty.subspecialty='{{{11}}}' AND DATEDIFF(pathCast.date,NOW()) <= -0 AND hide=0 AND NOT pathCast._pageName='{{PAGENAME}}' | ||
+ | |format=dynamic table|}}|||3|}} | ||
+ | |}}|||4}} | ||
+ | |}} | ||
+ | {{#if: {{#cargo_query: tables=pathCast,subspecialty |join on=pathCast.subspecialty=subspecialty.subspecialty |fields= ,CONCAT('{{tabledate{{#urldecode:%7C}}',pathCast.date,'}}')=Date |where=pathCast.presenter1='{{{3}}}' AND DATEDIFF(pathCast.date,NOW()) <= -0 AND hide=0 AND NOT pathCast._pageName='{{PAGENAME}}'|default=}}| | ||
+ | <br> | ||
+ | {{text|{{collapsed|{{#fas:play}} <u>More pathCast lectures by '''{{{3}}}, {{{8}}}''' {{#fas:angle-down}}</u>| | ||
+ | {{#css: td { vertical-align: top;} }} | ||
+ | {{text|{{#cargo_query: | ||
+ | tables=pathCast,subspecialty | ||
+ | |join on=pathCast.subspecialty=subspecialty.subspecialty | ||
+ | |fields= | ||
+ | ,CONCAT('{{tabledate{{#urldecode:%7C}}',pathCast.date,'}}')=Date | ||
+ | ,CONCAT('[[',subspecialty._pageName,'|',subspecialty.name,']]')=Subspecialty | ||
+ | ,CONCAT('{{tablelink{{#urldecode:%7C}}',pathCast._pageName,'{{#urldecode:%7C}}',pathCast.title,'{{#urldecode:%7C}}',pathCast.urlyt,'}}')=Lecture | ||
+ | |order by=Date DESC | ||
+ | |limit=500 | ||
+ | |where=pathCast.presenter1='{{{3}}}' AND DATEDIFF(pathCast.date,NOW()) <= -0 AND hide=0 AND NOT pathCast._pageName='{{PAGENAME}}' | ||
+ | |format=dynamic table|}}|||3|}} | ||
+ | |}}|||4}} | ||
+ | |}} | ||
+ | </div> | ||
+ | <div class="mobile_device_480px"> | ||
+ | {{#if: {{#cargo_query: tables=pathCast,pathCastFiles |join on=pathCast._pageName=pathCastFiles.pathCast|fields=pathCastFiles._pageTitle|where=pathCastFiles.filetype='pdf' AND pathCast._pageName='{{PAGENAME}}'|default=}} | ||
+ | | | ||
+ | <br> | ||
+ | {{#cargo_query: tables=pathCast,pathCastFiles |join on=pathCast._pageName=pathCastFiles.pathCast|fields=pathCastFiles._pageTitle|where=pathCastFiles.filetype='pdf' AND pathCast._pageName='{{PAGENAME}}'|format=template|template=pdf|}} | ||
+ | |}} | ||
+ | {{#if: {{#cargo_query: tables=pathCast,faculty,subspecialty |join on=pathCast.presenter1=faculty.namefirstlast,pathCast.subspecialty=subspecialty.subspecialty |fields= ,CONCAT('{{tabledate{{#urldecode:%7C}}',pathCast.date,'}}')=Date|where=subspecialty.subspecialty='{{{11}}}' AND DATEDIFF(pathCast.date,NOW()) <= -0 AND hide=0 AND NOT pathCast._pageName='{{PAGENAME}}'|default=|}} | ||
+ | | | ||
<br> | <br> | ||
{{text|{{collapsed|<u>More '''{{{7}}}''' pathCast lectures {{#fas:angle-down}}</u>| | {{text|{{collapsed|<u>More '''{{{7}}}''' pathCast lectures {{#fas:angle-down}}</u>| | ||
− | {{#cargo_query: | + | {{#css: td { vertical-align: top;} }} |
− | tables=pathCast | + | {{text|{{#cargo_query: |
− | |fields=title | + | tables=pathCast,faculty,subspecialty |
− | |where=subspecialty='{{{11}}}' | + | |join on=pathCast.presenter1=faculty.namefirstlast,pathCast.subspecialty=subspecialty.subspecialty |
− | |format= | + | |fields= |
+ | ,pathCast._pageName | ||
+ | ,pathCast.title | ||
+ | |order by=Date DESC | ||
+ | |limit=500 | ||
+ | |where=subspecialty.subspecialty='{{{11}}}' AND DATEDIFF(pathCast.date,NOW()) <= -0 AND hide=0 AND NOT pathCast._pageName='{{PAGENAME}}' | ||
+ | |format=template|template=linkbullet|}}|||3|}} | ||
+ | |}}|||4}} | ||
|}} | |}} | ||
+ | {{#if: {{#cargo_query: tables=pathCast,subspecialty |join on=pathCast.subspecialty=subspecialty.subspecialty |fields= ,CONCAT('{{tabledate{{#urldecode:%7C}}',pathCast.date,'}}')=Date |where=pathCast.presenter1='{{{3}}}' AND DATEDIFF(pathCast.date,NOW()) <= -0 AND hide=0 AND NOT pathCast._pageName='{{PAGENAME}}'|default=}}| | ||
+ | <br> | ||
+ | {{text|{{collapsed|<u>More pathCast lectures by '''{{{3}}}, {{{8}}}''' {{#fas:angle-down}}</u>| | ||
+ | {{#css: td { vertical-align: top;} }} | ||
+ | {{text|{{#cargo_query: | ||
+ | tables=pathCast,subspecialty | ||
+ | |join on=pathCast.subspecialty=subspecialty.subspecialty | ||
+ | |fields= | ||
+ | ,pathCast._pageName | ||
+ | ,pathCast.title | ||
+ | ,subspecialty.hashtag | ||
+ | ,pathCast.date | ||
+ | |order by=Date DESC | ||
+ | |limit=500 | ||
+ | |where=pathCast.presenter1='{{{3}}}' AND DATEDIFF(pathCast.date,NOW()) <= -0 AND hide=0 AND NOT pathCast._pageName='{{PAGENAME}}' | ||
+ | |format=template|template=linkbulletmobile|}}|||3|}} | ||
|}}|||4}} | |}}|||4}} | ||
+ | |}} | ||
+ | </div> | ||
+ | {{IfGroup|sysop| | ||
+ | [[https://pathologycast.com/index.php?title={{PAGENAMEE}}&action=edit Edit]]{{#urldecode:%0D%0A}} | ||
+ | <br> | ||
+ | {{text|Upload banner|||4|}} | ||
+ | {{#batchupload:pathCastFiles|pathCast={{PAGENAME}}|dts={{#time: M d,Y H:i:s}}|user={{CURRENTUSER}}|filetype=banner|+rename= !^({{FULLPAGENAME}}-)?!iu -->{{FULLPAGENAME}}-}} | ||
<br> | <br> | ||
− | {{text|{{ | + | {{text|Upload PDF|||4|}} |
− | {{ | + | {{#batchupload:pathCastFiles|pathCast={{PAGENAME}}|dts={{#time: M d,Y H:i:s}}|user={{CURRENTUSER}}|filetype=pdf|+rename= !^({{FULLPAGENAME}}-)?!iu -->{{FULLPAGENAME}}-}} |
− | |||
− | | | ||
− | | | ||
− | |||
|}} | |}} | ||
− | |||
− | |||
− |
Latest revision as of 11:25, 31 August 2022
{{{1}}}
[[{{{13}}}|{{{2}}}]]
Presented by [[{{{14}}}|{{{3}}}, {{{8}}}]]1 and No results2
1{{{9}}}, {{{10}}}
2No results
EmbedVideo received the bad id "{{{5}}}" for the service "youtube".
Part of the [[{{{6}}}]] series
Error: Invalid time. (ET, NYC)
Watch this lecture by clicking on the video above. You can also watch it on our Facebook page or YouTube channel.