Template:Update row: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
mNo edit summary
Tag: Reverted
m Undo revision 101161 by Polavux (talk)
Tag: Undo
Line 5: Line 5:
|<h3>[[{{{_pageName}}}{{!}}Version {{{version}}}]]</h3>}}
|<h3>[[{{{_pageName}}}{{!}}Version {{{version}}}]]</h3>}}
Release dates:<ul><!--
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>}}<!--
-->{{#if:{{{google_play_date|}}}|<li>{{{google_play_date}}} (Google Play)</li>}}<!--
-->{{#if:{{{google play date|}}}|<li>{{{google play date}}} (Google Play)</li>}}<!--
-->{{#if:{{{amazon_appstore_date|}}}|<li>{{{amazon_appstore_date}}} (Amazon Appstore)</li>}}<!--
-->{{#if:{{{amazon appstore date|}}}|<li>{{{amazon appstore date}}} (Amazon Appstore)</li>}}<!--
-->{{#if:{{{steam_date|}}}|<li>{{{steam_date}}} (Steam)</li>}}<!--
-->{{#if:{{{steam date|}}}|<li>{{{steam date}}} (Steam)</li>}}<!--
-->{{#if:{{{microsoft_store_date|}}}|<li>{{{microsoft_store_date}}} (Microsoft Store)</li>}}<!--
-->{{#if:{{{microsoft store date|}}}|<li>{{{microsoft store date}}} (Microsoft Store)</li>}}<!--
-->{{#if:{{{apple_arcade_date|}}}|<li>{{{apple_arcade_date}}} (''[[Bloons TD 6+]]'')</li>}}<!--
-->{{#if:{{{apple arcade date|}}}|<li>{{{apple arcade date}}} (''[[Bloons TD 6+]]'')</li>}}<!--
-->{{#if:{{{netflix_date|}}}|<li>{{{netflix_date}}} (''[[Bloons TD 6 NETFLIX]]'')</li>}}<!--
-->{{#if:{{{netflix date|}}}|<li>{{{netflix date}}} (''[[Bloons TD 6 NETFLIX]]'')</li>}}<!--
-->{{#if:{{{epic_games_store_date|}}}|<li>{{{epic_games_store_date}}} (Epic Games Store)</li>}}<!--
-->{{#if:{{{epic games store date|}}}|<li>{{{epic games store date}}} (Epic Games Store)</li>}}<!--
-->{{#if:{{{epic_games_store_mobile_date|}}}|<li>{{{epic_games_store_mobile_date}}} (Epic Games Store for mobile)</li>}}<!--
-->{{#if:{{{epic games store mobile date|}}}|<li>{{{epic games store mobile date}}} (Epic Games Store for mobile)</li>}}<!--
--></ul></includeonly><noinclude>{{/doc}}</noinclude>
--></ul></includeonly><noinclude>{{/doc}}</noinclude>

Revision as of 15:58, 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.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
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.