Template:Latest version/doc

From Blooncyclopedia, the independent Bloons knowledge base
Revision as of 23:06, 29 October 2025 by Polavux (talk | contribs) (Created page with "<templatedata> { "params": { "1": { "label": "Table", "description": "The name of the cargo table.", "example": "btd6_updates", "type": "string", "required": true }, "where": { "label": "Where", "description": "An optional where clause for filtering.", "default": "netflix_date IS NOT NULL" } }, "description": "Uses cargo to display the latest update of a game. This requires the latest update to have the correct build number assigned in...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Table1

The name of the cargo table.

Example
btd6_updates
Stringrequired
Wherewhere

An optional where clause for filtering.

Default
netflix_date IS NOT NULL
Unknownoptional

Example usage

{{latest version|btd6_updates}}

Version 55.1

{{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