Template:Update row/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Pymonkibot (talk | contribs) m Text replacement - "Category:Row templates" to "Category:Formatting templates" |
||
| Line 25: | Line 25: | ||
|named args=yes | |named args=yes | ||
|order by=(version+0) | |order by=(version+0) | ||
}}<includeonly>[[Category: | }}<includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Documentation]]</noinclude> | ||
Revision as of 21:28, 5 December 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.