Difference between revisions of "Template:subspecialtyPage"
From pathCast
Line 4: | Line 4: | ||
{{text|{{{2}}}|||4|}} | {{text|{{{2}}}|||4|}} | ||
<br><br> | <br><br> | ||
− | + | <div class="desktop"> | |
{{#css: td { vertical-align: top;} }} | {{#css: td { vertical-align: top;} }} | ||
{{text|{{#cargo_query: | {{text|{{#cargo_query: | ||
Line 18: | Line 18: | ||
|where=subspecialty.subspecialty='{{{3}}}' AND DATEDIFF(pathCast.date,NOW()) <= -0 AND hide=0 | |where=subspecialty.subspecialty='{{{3}}}' AND DATEDIFF(pathCast.date,NOW()) <= -0 AND hide=0 | ||
|format=dynamic table|}}|||3|}} | |format=dynamic table|}}|||3|}} | ||
− | |||3|}} | + | </div> |
+ | <div class="mobile_device_480px"> | ||
+ | {{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='{{{3}}}' AND DATEDIFF(pathCast.date,NOW()) <= -0 AND hide=0 | ||
+ | |format=dynamic table|}}|||3|}} | ||
+ | </div> | ||
+ | |||
{{IfGroup|sysop| | {{IfGroup|sysop| | ||
[[https://pathologycast.com/index.php?title={{FULLPAGENAME}}&action=edit]] | [[https://pathologycast.com/index.php?title={{FULLPAGENAME}}&action=edit]] | ||
|}} | |}} |
Revision as of 13:49, 7 September 2020
{{{1}}}
{{{2}}}
No results
No results