pathCast
Log in

Difference between revisions of "Template:pathCast"

From pathCast
 
(12 intermediate revisions by the same user not shown)
Line 57: Line 57:
 
|where=pathCast._pageName='{{FULLPAGENAME}}'
 
|where=pathCast._pageName='{{FULLPAGENAME}}'
 
|format=template|template=pathCastPage|}}
 
|format=template|template=pathCastPage|}}
<htmltag tagname="meta" name="twitter:card" content="summary_large_image"></htmltag>
+
{{#seo:
<htmltag tagname="meta" name="twitter:title" content="{{{title}}}"></htmltag>
+
|title={{{title}}}
<htmltag tagname="meta" name="twitter:description" content="{{{subspecialty}}}"></htmltag>
+
|description={{#cargo_query: tables=pathCast,faculty,subspecialty |join on=pathCast.presenter1=faculty.namefirstlast,pathCast.subspecialty=subspecialty.subspecialty |fields=subspecialty.hashtag,faculty.namefirstlast,faculty.degree,faculty.institution|where=pathCast._pageName='{{FULLPAGENAME}}'|format=template|template=metaDescription}}
<htmltag tagname="meta" name="twitter:image" content="{{#cargo_query: tables=pathCast,pathCastFiles |join on=pathCast._pageName=pathCastFiles.pathCast|fields=pathCastFiles._pageTitle |where=DATEDIFF(pathCast.date,NOW()) >= +1 AND hide=0 AND pathCastFiles.filetype='banner' AND pathCastFiles.pathCast='{{FULLPAGENAME}}'|format=template|template=filepath}}"></htmltag>
+
|published_time={{{date}}}
 +
|image={{#cargo_query: tables=pathCast,pathCastFiles |join on=pathCast._pageName=pathCastFiles.pathCast|fields=pathCastFiles._pageTitle |where=pathCastFiles.filetype='banner' AND pathCastFiles.pathCast='{{FULLPAGENAME}}'|format=template|template=filepath}}
 +
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 22:36, 24 September 2020

Template:CTRADMINThis template defines the table "pathCast". View table. [1]