Template:Update row/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "<templatedata> { "params": {}, "format": "inline", "description": "Template for displaying rows on update history pages. This should not be used by itself, only as part of a cargo query." } </templatedata> ==Example usage== <pre>{{#cargo_query:table=btd6_updates |fields=_pageName, version, image, description, app_store_date, google_play_date, amazon_appstore_date, steam_date, microsoft_store_date, apple_arcade_date, netflix_date, epic_games_store_date, epic_games_stor..." |
mNo edit summary |
||
| Line 6: | Line 6: | ||
} | } | ||
</templatedata> | </templatedata> | ||
__NOTOC__ | |||
==Example usage== | ==Example usage== | ||
<pre>{{#cargo_query:table=btd6_updates | <pre>{{#cargo_query:table=btd6_updates | ||
Revision as of 16:05, 25 October 2025
Template for displaying rows on update history pages. This should not be used by itself, only as part of a cargo query.
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||
Example usage
{{#cargo_query:table=btd6_updates
|fields=_pageName, version, image, description,
app_store_date, google_play_date, amazon_appstore_date, steam_date, microsoft_store_date, apple_arcade_date, netflix_date, epic_games_store_date, epic_games_store_mobile_date,
IF(version LIKE "%.0", "y", "") = major <!-- major if it ends in .0 -->
|format=template
|template=update row
|named args=yes
|order by=(version+0) <!-- weird hack that treats the version number as a number instead of a string, for sorting -->
}}
Error: No field named "steam_date" found for any of the specified database tables.