Template:Update row: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{major|}}}|<div style='clear:right'></div><h2> | <includeonly>{{#if:{{{major|}}}|<div style='clear:right'></div><h2>Version {{{version}}}</h2> | ||
{{#if:{{{image|}}}|[[File:{{{image}}}{{!}}150px{{!}}thumb]]}} | {{#if:{{{image|}}}|[[File:{{{image}}}{{!}}150px{{!}}thumb]]}} | ||
{{#if:{{{description|}}}|{{blockquote| | {{#if:{{{description|}}}|{{blockquote| | ||
{{{description}}}}}}} | {{{description}}}}}}} | ||
|<h3>[[{{{_pageName}}}{{!}}Version {{{version}}}]]</h3>}} | |<h3>[[{{{_pageName}}}{{!}}Version {{{version}}}]]</h3>}} | ||
{{main|{{{_pageName}}}}} | |||
{{#if:{{{release date|}}}|Release date: {{{release date}}}|Release dates:<ul><!-- | {{#if:{{{release date|}}}|Release date: {{{release date}}}|Release dates:<ul><!-- | ||
-->{{#if:{{{app store date|}}}|<li>{{{app store date}}} (App Store)</li>}}<!-- | -->{{#if:{{{app store date|}}}|<li>{{{app store date}}} (App Store)</li>}}<!-- | ||
Revision as of 20:50, 9 April 2026
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.