Template

Show news on main page: Difference between revisions

No edit summary
No edit summary
 
Line 1: Line 1:
<noinclude>Used on Main Page. Unnamed parameter is minimum number of updates to show (it will show all updates from the last couple of days). Alternative is [[Template:Show news on main page one only]].</noinclude><includeonly>{{#cargo_query: table=News
<noinclude>Used on Main Page. Unnamed parameter is minimum number of updates to show (it used to show all updates from the last couple of days). Alternative is [[Template:Show news on main page one only]].</noinclude><includeonly>{{#cargo_query: table=News
|fields=_pageTitle=Name, Which_table, RSS_title, RSS_description, RSS_pubdate
|fields=_pageTitle=Name, Which_table, RSS_title, RSS_description, RSS_pubdate
|group by=_pageTitle, Which_table, RSS_title, RSS_description, RSS_pubdate, RSS_pubdate__precision
|group by=_pageTitle, Which_table, RSS_title, RSS_description, RSS_pubdate, RSS_pubdate__precision
|order by=News.RSS_pubdate DESC
|order by=News.RSS_pubdate DESC
|limit=5
|limit={{{1|1}}}
|format=template
|format=template
|template=show news on main page row
|template=show news on main page row
|named args=yes
|named args=yes
|more results text=}}</includeonly>
|more results text=}}</includeonly>

Latest revision as of 23:34, 17 October 2024

Used on Main Page. Unnamed parameter is minimum number of updates to show (it used to show all updates from the last couple of days). Alternative is Template:Show news on main page one only.