Template:Latest version/doc
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_date IS NOT NULL}}
Error 1054: Unknown column 'netflix_date' in 'where clause'
Function: CargoSQLQuery::run Query: SELECT `btd6_updates`.`_pageID` AS `cargo_backlink_page_id_btd6_updates`,CONCAT("Version ", version, "") AS `text` FROM `cargo__btd6_updates` `btd6_updates` WHERE netflix_date IS NOT NULL ORDER BY `build` DESC LIMIT 100