Template:Latest News: Difference between revisions

From aquila
Jump to navigation Jump to search
m Replaced content with "<includeonly><div class="aquila-feed">{{#cargo_query: tables=NewsPosts |fields=Page_Name,Title,Type,RealDate,Author,Publisher,Period,YearNum |where=YearNum IS NOT NULL{{#if:{{{Type|}}}| AND Type="{{#invoke:Timeline|newsType|{{{Type}}}}}"}} |order by=RealDate DESC, _pageID DESC |limit={{#if:{{{Limit|}}}|{{{Limit}}}|8}} |format=template |template=Latest News Item |named args=yes |default=<div class="aquila-feed-empty">No news yet.</div> }}</div></includeonly><noinclude..."
Tag: Replaced
mNo edit summary
 
Line 10: Line 10:
|default=<div class="aquila-feed-empty">No news yet.</div>
|default=<div class="aquila-feed-empty">No news yet.</div>
}}</div></includeonly><noinclude>
}}</div></includeonly><noinclude>
Shows the newest news posts, straight from the Cargo table. Place it anywhere (main page, sidebar card, a portal).
Shows the newest news posts, straight from the Cargo table.
<pre>
<pre>
{{Latest News}}
{{Latest News}}

Latest revision as of 10:13, 24 October 2026

Shows the newest news posts, straight from the Cargo table.

{{Latest News}}
{{Latest News|Limit=5}}
{{Latest News|Type=Global News|Limit=5}}