Actions

Modèle

NewsActivity : Différence entre versions

De erg

Ligne 4 : Ligne 4 :
 
|fields=DATE_FORMAT(_pageData._creationDate, '%d %M %y')=publiée,DATEDIFF(NOW(),_pageData._creationDate)=Age,_pageData._pageName=Page,News.Subtitle=Subtitle, DATE_FORMAT(News.Start, '%W %d %M %Y')=Start, DATE_FORMAT(News.End, '%W %d %M %Y')=End,Image
 
|fields=DATE_FORMAT(_pageData._creationDate, '%d %M %y')=publiée,DATEDIFF(NOW(),_pageData._creationDate)=Age,_pageData._pageName=Page,News.Subtitle=Subtitle, DATE_FORMAT(News.Start, '%W %d %M %Y')=Start, DATE_FORMAT(News.End, '%W %d %M %Y')=End,Image
 
|order by=_pageData._creationDate DESC
 
|order by=_pageData._creationDate DESC
 +
|where=DATEDIFF(NOW(),_pageData._creationDate) <= 45
 +
|limit=100
 
|format=template
 
|format=template
 
|template=NewsActivity/Listing
 
|template=NewsActivity/Listing
 
|named args=yes
 
|named args=yes
|limit=100
 
 
|intro=<div class="flexgal">
 
|intro=<div class="flexgal">
 
|outro=</div>
 
|outro=</div>
 
|more results text=
 
|more results text=
 
}}
 
}}

Version du 10 avril 2018 à 13:22