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
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{major|}}}|<div style='clear:right'></div><h2>[[{{{_pageName}}}{{!}}Version {{{version}}}]]</h2>
<includeonly>{{#if:{{{major|}}}|<!--
 
big header
 
--><div style='clear:right'></div><h2>Version {{{version}}}</h2>
{{main|{{{_pageName}}}}}
{{#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>}}
 
{{#if:{{{release date|}}}|Release date: {{{release date}}}|Release dates:<ul><!--
small header
 
-->|<h3>Version {{{version}}}</h3>{{main|{{{_pageName}}}}}}}
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 windows date|}}}|<li>{{{steam windows date}}} (Steam for Windows)</li>}}<!--
-->{{#if:{{{steam macos date|}}}|<li>{{{steam macos date}}} (Steam for macOS)</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}}} (Apple Arcade)</li>}}<!--
-->{{#if:{{{epic games store windows date|}}}|<li>{{{epic games store windows date|}}} (Epic Games Store for Windows)</li>}}<!-- DEPRECATED
-->{{#if:{{{netflix date|}}}|<li>{{{netflix date}}} (Netflix)</li>}}<!--
-->{{#if:{{{epic games store ios date|}}}|<li>{{{epic games store ios date}}} (Epic Games Store for iOS)</li>}}<!--
-->{{#if:{{{epic games store date|}}}|<li>{{{epic games store date}}} (Epic Games Store)</li>}}<!--
-->{{#if:{{{epic games store android date|}}}|<li>{{{epic games store android date}}} (Epic Games Store for Android)</li>}}</ul><!--
-->{{#if:{{{epic games store mobile date|}}}|<li>{{{epic games store mobile date}}} (Epic Games Store Mobile)</li>}}<!--
 
--></ul>}}</includeonly><noinclude>{{/doc}}</noinclude>
btd6+
 
-->{{#if:{{{apple arcade ios date|}}}{{{apple arcade macos date|}}}{{{apple arcade visionos date|}}}|''[[Bloons TD 6+]]'' release dates:<ul><!--
-->{{#if:{{{apple arcade ios date|}}}|<li>{{{apple arcade ios date}}} (iOS)</li>}}<!--
-->{{#if:{{{apple arcade macos date|}}}|<li>{{{apple arcade macos date}}} (macOS)</li>}}<!--
-->{{#if:{{{apple arcade visionos date|}}}|<li>{{{apple arcade visionos date}}} (visionOS)</li>}}</ul>}}<!--
 
netflix
 
-->{{#if:{{{netflix app store date|}}}{{{netflix google play date|}}}|''[[Bloons TD 6 NETFLIX]]'' release dates:<ul><!--
-->{{#if:{{{netflix app store date|}}}|<li>{{{netflix app store date}}} (Google Play)</li>}}<!--
-->{{#if:{{{netflix google play date|}}}|<li>{{{netflix google play date}}} (Google Play)</li>}}</ul>}}<!--
 
console
 
-->{{#if:{{{xbox one date|}}}{{{ps4 date|}}}{{{switch date|}}}|[[Bloons TD 6 (console)|Console version]] release dates:<ul><!--
-->{{#if:{{{xbox one date|}}}|<li>{{{xbox one date}}} (Xbox One)</li>}}<!--
-->{{#if:{{{ps4 date|}}}|<li>{{{ps4 date}}} (PlayStation 4)</li>}}<!--
-->{{#if:{{{switch date|}}}|<li>{{{switch date}}} (Nintendo Switch)</li>}}</ul>}}<!--
 
chinese
 
-->{{#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 taptap date|}}}|<li>{{{xd taptap date}}} (TapTap)</li>}}</ul>}}<!--
--></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.