pathCast
Log in

Difference between revisions of "Template:facultyPage"

From pathCast
 
(20 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
{{text|{{{3}}}, {{{4}}}|||4|}}
 
{{text|{{{3}}}, {{{4}}}|||4|}}
 
<br><br>
 
<br><br>
<table style="width:100%">
+
{{#ifexist: File:{{{6|}}}{{{7|}}}.jpg|<div class="circular">[[Image:{{{6|}}}{{{7|}}}.jpg|200px]]</div>|<div class="circular">[[Image:pathCast.jpg|200px]]</div>}}
<tr>
 
<td style="width:60%">
 
{{#ifexist: File:{{{1|}}}.png|<div class="circular">[[Image:Faculty{{{1|}}}.png|125px]]</div>|<div class="circular">[[Image:ResidentDefault.jpg|100px]]</div>}}
 
</td>
 
<td style="width:40%">
 
<htmltag tagname="a" class="twitter-timeline" data-width="450" data-height="300" data-theme="light" href="https://twitter.com/{{{5|}}}?ref_src=twsrc%5Etfw">Tweets by {{{7|}}}</htmltag></p>
 
<htmltag tagname="script" async src="https://platform.twitter.com/widgets.js" charset="utf-8"></htmltag>
 
<htmltag tagname="a" href="https://twitter.com/{{{5|}}}?ref_src=twsrc%5Etfw" class="twitter-follow-button" data-show-screen-name="true" data-show-count="true">Follow @{{{5|}}}</htmltag>
 
</td>
 
</tr>
 
</table>
 
 
<br>
 
<br>
{{text|
+
{{text|{{{8}}}|||3|}}
 +
<br><br>
 +
    <div class="desktop">
 
{{#css: td { vertical-align: top;} }}
 
{{#css: td { vertical-align: top;} }}
 
{{text|{{#cargo_query:
 
{{text|{{#cargo_query:
Line 23: Line 14:
 
|join on=pathCast.subspecialty=subspecialty.subspecialty
 
|join on=pathCast.subspecialty=subspecialty.subspecialty
 
|fields=
 
|fields=
,pathCast.date=Date
+
,CONCAT('{{tabledate{{#urldecode:%7C}}',pathCast.date,'}}')=Date
 
,CONCAT('[[',subspecialty._pageName,'|',subspecialty.name,']]')=Subspecialty
 
,CONCAT('[[',subspecialty._pageName,'|',subspecialty.name,']]')=Subspecialty
 
,CONCAT('{{tablelink{{#urldecode:%7C}}',pathCast._pageName,'{{#urldecode:%7C}}',pathCast.title,'{{#urldecode:%7C}}',pathCast.urlyt,'}}')=Lecture
 
,CONCAT('{{tablelink{{#urldecode:%7C}}',pathCast._pageName,'{{#urldecode:%7C}}',pathCast.title,'{{#urldecode:%7C}}',pathCast.urlyt,'}}')=Lecture
 
|order by=Date DESC
 
|order by=Date DESC
|limit=500
+
|limit=500|default={{text|''No on-demand videos available at this time. Check back later.''||red|3|}}
 
|where=pathCast.presenter1='{{{1}}}' AND DATEDIFF(pathCast.date,NOW()) <= -0 AND hide=0
 
|where=pathCast.presenter1='{{{1}}}' 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,subspecialty
 +
|join on=pathCast.subspecialty=subspecialty.subspecialty
 +
|fields=
 +
,pathCast._pageName
 +
,pathCast.title
 +
,subspecialty.hashtag
 +
,pathCast.date
 +
|order by=Date DESC
 +
|limit=500|default={{text|''No on-demand videos available at this time. Check back later.''||red|3|}}
 +
|where=pathCast.presenter1='{{{1}}}' AND DATEDIFF(pathCast.date,NOW()) <= -0 AND hide=0
 +
|format=template|template=linkbulletmobile|}}|||3|}}
 +
    </div>
 
{{IfGroup|sysop|
 
{{IfGroup|sysop|
 
[[https://pathologycast.com/index.php?title={{FULLPAGENAME}}&action=edit]]
 
[[https://pathologycast.com/index.php?title={{FULLPAGENAME}}&action=edit]]
 
|}}
 
|}}

Latest revision as of 13:56, 10 September 2020



{{{1}}}, {{{2}}}
{{{3}}}, {{{4}}}

pathCast.jpg


{{{8}}}

No on-demand videos available at this time. Check back later.

No on-demand videos available at this time. Check back later.