Actions

Modèle

Site web/Modifications récentes : Différence entre versions

De erg

< Modèle:Site web
Ligne 4 : Ligne 4 :
 
<includeonly>pagename is {{PAGENAME}}
 
<includeonly>pagename is {{PAGENAME}}
 
{{#cargo_query:  
 
{{#cargo_query:  
tables=Site
+
tables=Page_web
 
|fields=Thumbnail,Title,URL,Updated,_pageName=pageName  
 
|fields=Thumbnail,Title,URL,Updated,_pageName=pageName  
|where=Site.source="{{PAGENAME}}"  
+
|where=Page_web.site="{{PAGENAME}}"  
|order by=Site.Updated  
+
|order by=Page_web.Updated  
 
|limit=10
 
|limit=10
 
|format=gallery
 
|format=gallery
Ligne 17 : Ligne 17 :
 
}}
 
}}
 
{{#cargo_query:  
 
{{#cargo_query:  
tables=Site
+
tables=Page_web
 
|fields=Thumbnail,Title,URL,Updated,_pageName=pageName  
 
|fields=Thumbnail,Title,URL,Updated,_pageName=pageName  
|where=Site.source="{{PAGENAME}}"  
+
|where=Page_web.site="{{PAGENAME}}"  
|order by=Site.Updated  
+
|order by=Page_web.Updated  
 
|limit=10
 
|limit=10
 
|format=table
 
|format=table
 
|caption field=Title
 
|caption field=Title
 
}}</includeonly>
 
}}</includeonly>

Version du 11 janvier 2018 à 16:01

Listing of recently added "Site" items that refer to a particular "Site web"