Template:Update row: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{major|}}}|<div style='clear:right'></div><h2>[[{{{_pageName}}}{{!}}Version {{{version}}}]]</h2> | <includeonly>{{#if:{{{major|}}}|<div style='clear:right'></div><h2>[[{{{_pageName}}}{{!}}Version {{{version}}}]]</h2> | ||
{{#if:{{{image|}}}|[[File:{{{image}}}{{!}}150px{{!}}thumb]]}} | {{#if:{{{image|}}}|[[File:{{{image}}}{{!}}150px{{!}}thumb]]}} | ||
{{#if:{{{description|}}}| | {{#if:{{{description|}}}|{{blockquote| | ||
{{blockquote|{{{description}}}}}}} | {{{description}}}}}}} | ||
|<h3>[[{{{_pageName}}}{{!}}Version {{{version}}}]]</h3>}} | |<h3>[[{{{_pageName}}}{{!}}Version {{{version}}}]]</h3>}} | ||
Release dates:<ul><!-- | Release dates:<ul><!-- | ||
Revision as of 16:00, 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, version_code, image, description,
app_store_date, google_play_date, amazon_appstore_date, steam_windows_date, steam_macos_date, microsoft_store_date, epic_games_store_date, epic_games_store_mobile_date,
apple_arcade_ios_date, apple_arcade_macos_date, apple_arcade_visionos_date,
netflix_app_store_date, netflix_google_play_date,
xbox_one_date, ps4_date, switch_date,
xd_app_store_date, xd_taptap_date,
IF(version LIKE "%.0", "y", "") = major <!-- major if it ends in .0 -->
|format=template
|template=update row
|named args=yes
|order by=version_code <!-- weird hack that treats the version number as a number instead of a string, for sorting -->
|limit=300
}}
Error: No field named "epic_games_store_date" found for any of the specified database tables.