pathCast
Log in

Difference between revisions of "Template:pathCast"

From pathCast
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>
 
<htmltag tagname="meta" name="twitter:card" content="summary_large_image"></htmltag>
 
<htmltag tagname="meta" name="twitter:title" content="{{{title}}}"></htmltag>
 
<htmltag tagname="meta" name="twitter:title" content="{{{title}}}"></htmltag>
 
<htmltag tagname="meta" name="twitter:description" content="{{{subspecialty}}}"></htmltag>
 
<htmltag tagname="meta" name="twitter:description" content="{{{subspecialty}}}"></htmltag>
<htmltag tagname="meta" name="twitter:image" content="http://pathologycast.com/index.php?title=David_Henry_-_Therapeutic_approach_to_the_colorcetal_cancer_patient_based_on_pathology/'"></htmltag>
+
<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>
{{filepath:David Henry - Therapeutic approach to the colorcetal cancer patient based on pathology-Unknown-1.jpeg}}
 
{{filepath:{{#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}}'}}|nowiki}}
 
 
 
{{#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}}
 
{{#seo:
 
|title={{{title}}}
 
|title_mode=append
 
|keywords={{{subspecialty}}}
 
|description={{{title}}}
 
|published_time={{{date}}}
 
|image={{#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}}'}}
 
|image_alt=Wiki Logo
 
}}
 
 
</includeonly>
 
</includeonly>

Revision as of 18:26, 15 September 2020

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