Template:Latest version: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly>{{#cargo_query:table={{{1}}}|fields=CONCAT("Version ", version, "") = text|order by=build_number DESC|limit=1|more results text=}}</includeonly><noinclude>{{/doc}}</noinclude>" |
mNo edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#cargo_query:table={{{1}}}|fields=CONCAT("[[", _pageName, "|Version ", version, "]]") = text|order by= | <includeonly>{{#cargo_query:table={{{1}}}|fields=CONCAT("[[", _pageName, "|{{{text|Version}}} ", version, "]]") = text|order by=build DESC|where={{{where|}}}|limit=1|more results text=}}</includeonly><noinclude>{{/doc}}</noinclude> | ||
Latest revision as of 04:57, 22 April 2026
Uses cargo to display the latest update of a game. This requires the latest update to have the correct build number assigned in the infobox.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Table | 1 | The name of the cargo table.
| String | required |
| Where | where | An optional where clause for filtering.
| Unknown | optional |
Example usage
{{latest version|btd6_updates}}
{{latest version|btd6_updates|where=netflix_google_play_date IS NOT NULL}}