Template:Update row: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 47: Line 47:
-->{{#if:{{{xd app store date|}}}{{{xd taptap date|}}}|[[Bloons TD 6 (Chinese)|Chinese version]] release dates:<ul><!--
-->{{#if:{{{xd app store date|}}}{{{xd taptap date|}}}|[[Bloons TD 6 (Chinese)|Chinese version]] release dates:<ul><!--
-->{{#if:{{{xd app store date|}}}|<li>{{{xd app store date}}} (App Store)</li>}}<!--
-->{{#if:{{{xd app store date|}}}|<li>{{{xd app store date}}} (App Store)</li>}}<!--
-->{{#if:{{{xd taptap date|}}}|<li>{{{xd taptap date}}} (TapTap)</li>}}</ul><!--
-->{{#if:{{{xd taptap date|}}}|<li>{{{xd taptap date}}} (TapTap)</li>}}</ul>}}<!--
--></includeonly><noinclude>{{/doc}}</noinclude>
--></includeonly><noinclude>{{/doc}}</noinclude>

Latest revision as of 06:48, 26 April 2026

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.