Actions

Modèle

NewsActivity : Différence entre versions

De erg

Ligne 1 : Ligne 1 :
 +
<noinclude>
 +
</noinclude>
 
{{#cargo_query:  
 
{{#cargo_query:  
 
tables=News
 
tables=News
 
|fields=Published,DATEDIFF(NOW(),Published)=Age,_pageName=Page,_pageTitle=Title,Subtitle,DATE_FORMAT(Start, '%W %d %M %Y')=Start, DATE_FORMAT(End, '%W %d %M %Y')=End,Image
 
|fields=Published,DATEDIFF(NOW(),Published)=Age,_pageName=Page,_pageTitle=Title,Subtitle,DATE_FORMAT(Start, '%W %d %M %Y')=Start, DATE_FORMAT(End, '%W %d %M %Y')=End,Image
 
|order by=Published DESC
 
|order by=Published DESC
|limit=10
+
|limit={{{limit|10}}}
 
|format=template
 
|format=template
 
|template=NewsActivity/Listing
 
|template=NewsActivity/Listing
 
|named args=yes
 
|named args=yes
|intro=<div class="flexgal">
+
|intro=<div class="medialisting">
 
|outro=</div>
 
|outro=</div>
 
|more results text=
 
|more results text=
 
|hidenamespaces=1
 
|hidenamespaces=1
 
}}
 
}}

Version du 12 septembre 2018 à 20:43