Template:BTD6 update info: Difference between revisions
Pymonkibot (talk | contribs) m Text replacement - "info-sub" to "subtable" |
i think this now supports every possible release date timestamp |
||
| Line 6: | Line 6: | ||
<tr><td>[[File:{{{image}}}|250px]]</td></tr> | <tr><td>[[File:{{{image}}}|250px]]</td></tr> | ||
</table>}} | </table>}} | ||
<table class="subtable"> | <table class="subtable"> | ||
{{#if:{{{build|}}}|<tr><th>Build №</th><td colspan="2">{{{build}}}</td></tr>}}<!-- | {{#if:{{{build|}}}|<tr><th>Build №</th><td colspan="2">{{{build}}}</td></tr>}}<!-- | ||
-->{{#if:{{{app store date|}}}{{{google play date|}}}{{{amazon appstore date|}}}{{{steam date|}}}{{{microsoft store date|}}}{{{apple arcade date|}}}{{{netflix date|}}}{{{ | -->{{#if:{{{app store date|}}}{{{google play date|}}}{{{amazon appstore date|}}}{{{steam windows date|{{{steam date|}}}}}}{{{steam macos date|}}}{{{microsoft store date|}}}{{{epic games store date|}}}{{{epic games store mobile date|}}}<!-- | ||
-->{{{apple arcade ios date|{{{apple arcade date|}}}}}}{{{apple arcade macos date|}}}{{{apple arcade visionos date|}}}<!-- | |||
-->{{{netflix app store date|{{{netflix date|}}}}}}{{{netflix google play date|}}}<!-- | |||
-->{{{xd app store date|}}}{{{xd taptap date|}}}|<!-- | |||
--><tr><th colspan="3">Release dates</th></tr>}}<!-- | |||
-->{{#if:{{{app store date|}}}|<tr><th>App Store</th><td colspan="2">{{{app store date}}}</td></tr>}}<!-- | -->{{#if:{{{app store date|}}}|<tr><th>App Store</th><td colspan="2">{{{app store date}}}</td></tr>}}<!-- | ||
-->{{#if:{{{google play date|}}}|<tr><th>Google Play</th><td colspan="2">{{{google play date}}}</td></tr>}}<!-- | -->{{#if:{{{google play date|}}}|<tr><th>Google Play</th><td colspan="2">{{{google play date}}}</td></tr>}}<!-- | ||
-->{{#if:{{{amazon appstore date|}}}|<tr><th>Amazon Appstore</th><td colspan="2">{{{amazon appstore date}}}</td></tr>}}<!-- | -->{{#if:{{{amazon appstore date|}}}|<tr><th>Amazon Appstore</th><td colspan="2">{{{amazon appstore date}}}</td></tr>}}<!-- | ||
-->{{#if:{{{steam date|}}}|<tr><th>Steam</th><td colspan="2">{{{steam date}}}</td></tr>}}<!-- | |||
-->{{#if:{{{steam date|}}}|<tr><th>Steam</th><td colspan="2">{{{steam date}}}</td></tr>}}<!-- DEPRECATED | |||
-->{{#if:{{{steam windows date|}}}|<tr><th>Steam (Windows)</th><td colspan="2">{{{steam windows date}}}</td></tr>}}<!-- | |||
-->{{#if:{{{steam macos date|}}}|<tr><th>Steam (macOS)</th><td colspan="2">{{{steam macos date}}}</td></tr>}}<!-- | |||
-->{{#if:{{{microsoft store date|}}}|<tr><th>Microsoft Store</th><td colspan="2">{{{microsoft store date}}}</td></tr>}}<!-- | -->{{#if:{{{microsoft store date|}}}|<tr><th>Microsoft Store</th><td colspan="2">{{{microsoft store date}}}</td></tr>}}<!-- | ||
-->{{#if:{{{apple arcade date|}}}|<tr><th>[[Bloons TD 6+|Apple Arcade]]</th><td colspan="2">{{{apple arcade date}}}</td></tr>}}<!-- | -->{{#if:{{{epic games store date|}}}|<tr><th>Epic Games Store (Windows)</th><td colspan="2">{{{epic games store date}}}</td></tr>}}<!-- | ||
-->{{#if:{{{netflix date|}}}|<tr><th>[[Bloons TD 6 NETFLIX|Netflix]]</th><td colspan="2">{{{netflix date}}}</td></tr>}}<!-- | -->{{#if:{{{epic games store mobile date|}}}|<tr><th>Epic Games Store (mobile)</th><td colspan="2">{{{epic games store mobile date}}}</td></tr>}}<!-- | ||
-->{{#if:{{{ | |||
-->{{#if:{{{ | -->{{#if:{{{apple arcade date|}}}|<tr><th>[[Bloons TD 6+|Apple Arcade]]</th><td colspan="2">{{{apple arcade date}}}</td></tr>}}<!-- DEPRECATED | ||
-->{{#if:{{{apple arcade ios date|}}}|<tr><th>[[Bloons TD 6+|Apple Arcade]] (iOS)</th><td colspan="2">{{{apple arcade ios date}}}</td></tr>}}<!-- | |||
-->{{#if:{{{apple arcade macos date|}}}|<tr><th>[[Bloons TD 6+|Apple Arcade]] (macOS)</th><td colspan="2">{{{apple arcade macos date}}}</td></tr>}}<!-- | |||
-->{{#if:{{{apple arcade visionos date|}}}|<tr><th>[[Bloons TD 6+|Apple Arcade]] (visionOS)</th><td colspan="2">{{{apple arcade visionos date}}}</td></tr>}}<!-- | |||
-->{{#if:{{{netflix date|}}}|<tr><th>[[Bloons TD 6 NETFLIX|Netflix]]</th><td colspan="2">{{{netflix date}}}</td></tr>}}<!-- DEPRECATED | |||
-->{{#if:{{{netflix app store date|}}}|<tr><th>[[Bloons TD 6 NETFLIX|Netflix]] (iOS)</th><td colspan="2">{{{netflix app store date}}}</td></tr>}}<!-- | |||
-->{{#if:{{{netflix google play date|}}}|<tr><th>[[Bloons TD 6 NETFLIX|Netflix]] (Android)</th><td colspan="2">{{{netflix google play date}}}</td></tr>}}<!-- | |||
-->{{#if:{{{xd app store date|}}}|<tr><th>[[Bloons TD 6 (Chinese)|Chinese]] (App Store)</th><td colspan="2">{{{xd app store date}}}</td></tr>}}<!-- | |||
-->{{#if:{{{xd taptap date|}}}|<tr><th>[[Bloons TD 6 (Chinese)|Chinese]] (TapTap)</th><td colspan="2">{{{xd taptap date}}}</td></tr>}} | |||
</table> | </table> | ||
|- | |- | ||
| Line 26: | Line 42: | ||
|version ={{{version|}}} | |version ={{{version|}}} | ||
|version_code={{#invoke:pad version|main|{{{version|}}}}} | |version_code={{#invoke:pad version|main|{{{version|}}}}} | ||
|build_number={{{build|}}} | |||
|image ={{{image|}}} | |image ={{{image|}}} | ||
|description ={{{description|}}} | |description ={{{description|}}} | ||
|app_store_date={{#invoke:unstrip|kill_markers|{{{app store date|}}}}} | |app_store_date ={{#invoke:unstrip|kill_markers|{{{app store date|}}}}} | ||
|google_play_date={{#invoke:unstrip|kill_markers|{{{google play date|}}}}} | |google_play_date ={{#invoke:unstrip|kill_markers|{{{google play date|}}}}} | ||
|amazon_appstore_date={{#invoke:unstrip|kill_markers|{{{amazon appstore date|}}}}} | |amazon_appstore_date ={{#invoke:unstrip|kill_markers|{{{amazon appstore date|}}}}} | ||
| | |steam_windows_date ={{#invoke:unstrip|kill_markers|{{{steam windows date|{{{steam date|}}}}}}}} | ||
|steam_macos_date ={{#invoke:unstrip|kill_markers|{{{steam macos date|}}}}} | |||
| | |microsoft_store_date ={{#invoke:unstrip|kill_markers|{{{microsoft store date|}}}}} | ||
| | |epic_games_store_date ={{#invoke:unstrip|kill_markers|{{{epic games store date|}}}}} | ||
|epic_games_store_date={{#invoke:unstrip|kill_markers|{{{epic games store date|}}}}} | |||
|epic_games_store_mobile_date={{#invoke:unstrip|kill_markers|{{{epic games store mobile date|}}}}} | |epic_games_store_mobile_date={{#invoke:unstrip|kill_markers|{{{epic games store mobile date|}}}}} | ||
| | |||
|apple_arcade_ios_date ={{#invoke:unstrip|kill_markers|{{{apple arcade ios date|{{{apple arcade date|}}}}}}}} | |||
|apple_arcade_macos_date ={{#invoke:unstrip|kill_markers|{{{apple arcade date|}}}}} | |||
|apple_arcade_visionos_date={{#invoke:unstrip|kill_markers|{{{apple arcade date|}}}}} | |||
|netflix_app_store_date ={{#invoke:unstrip|kill_markers|{{{netflix app store date|{{{netflix date|}}}}}}}} | |||
|netflix_google_play_date={{#invoke:unstrip|kill_markers|{{{netflix google play date|}}}}} | |||
|xbox_one_date={{#invoke:unstrip|kill_markers|{{{xbox one date|}}}}} | |||
|ps4_date ={{#invoke:unstrip|kill_markers|{{{ps4 date|}}}}} | |||
|switch_date ={{#invoke:unstrip|kill_markers|{{{switch date|}}}}} | |||
|xd_app_store_date={{#invoke:unstrip|kill_markers|{{{xd app store date|}}}}} | |xd_app_store_date={{#invoke:unstrip|kill_markers|{{{xd app store date|}}}}} | ||
| | |xd_taptap_date ={{#invoke:unstrip|kill_markers|{{{xd taptap date|}}}}} | ||
}}[[Category:BTD6 updates|{{#ifexpr:{{{version}}}<10|0}}{{{version}}}]]}}{{#seo: | }}[[Category:BTD6 updates|{{#ifexpr:{{{version}}}<10|0}}{{{version}}}]]}}{{#seo: | ||
|image={{{image|}}} | |image={{{image|}}} | ||
| Line 47: | Line 75: | ||
|version =String | |version =String | ||
|version_code=String | |version_code=String | ||
|image | |build_number=Integer | ||
|description =Wikitext | |||
|image =File | |||
|description=Wikitext | |||
|app_store_date=Wikitext string | |app_store_date =Wikitext string | ||
|google_play_date=Wikitext string | |google_play_date =Wikitext string | ||
|amazon_appstore_date=Wikitext string | |amazon_appstore_date =Wikitext string | ||
| | |steam_windows_date =Wikitext string | ||
| | |steam_macos_date =Wikitext string | ||
| | |microsoft_store_date =Wikitext string | ||
|epic_games_store_date =Wikitext string | |||
|epic_games_store_date=Wikitext string | |||
|epic_games_store_mobile_date=Wikitext string | |epic_games_store_mobile_date=Wikitext string | ||
| | |||
|apple_arcade_ios_date =Wikitext string | |||
|apple_arcade_macos_date =Wikitext string | |||
|apple_arcade_visionos_date=Wikitext string | |||
|netflix_app_store_date =Wikitext string | |||
|netflix_google_play_date=Wikitext string | |||
|xbox_one_date=Wikitext string | |||
|ps4_date =Wikitext string | |||
|switch_date =Wikitext string | |||
|xd_app_store_date=Wikitext string | |xd_app_store_date=Wikitext string | ||
| | |xd_taptap_date =Wikitext string | ||
}}{{/doc}}</noinclude> | }}{{/doc}}</noinclude> | ||
Revision as of 03:50, 14 April 2026
This template defines the Cargo table "btd6_updates". View table.
Infobox used for BTD6 updates. Articles with this template are automatically added to [[Category:BTD6 updates]].
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Version number | version | Used for the version number in the infobox header. Needs to be a number and include the decimal.
| Number | required |
| Image | image | An image to represent the update. (Do not use this for minor updates, unless they have a unique image.)
| File | optional |
| Build number | build | no description | Number | suggested |
| Description | description | The in-game description of this update. This is not displayed in the infobox, but is used in cargo queries. | String | optional |
| App Store release date | app store date | Release date on the App Store. Your input should use the {{date}} template, or {{timestamp}} template if that information is available. | String | optional |
| Google Play release date | google play date | Release date on Google Play. Your input should use the {{date}} template, or {{timestamp}} template if that information is available. | String | optional |
| Amazon Appstore release date | amazon appstore date | Release date on the Amazon Appstore. Your input should use the {{date}} template, or {{timestamp}} template if that information is available. | String | optional |
| Steam (Windows) release date | steam windows date steam date | Release date on Steam for Windows. Your input should use the {{date}} template, or {{timestamp}} template if that information is available. | String | optional |
| Steam (macOS) release date | steam macos date | Release date on Steam for macOS. Your input should use the {{date}} template, or {{timestamp}} template if that information is available. | String | optional |
| Microsoft Store release date | microsoft store date | Release date on the Microsoft Store. Your input should use the {{date}} template, or {{timestamp}} template if that information is available. | String | optional |
| Epic Games (Windows) release date | epic games store windows date epic games store date | Release date on Epic Games. Your input should use the {{date}} template, or {{timestamp}} template if that information is available. | String | optional |
| epic games store ios date | epic games store ios date | no description | Unknown | optional |
| epic games store android date | epic games store android date | no description | Unknown | optional |
| apple arcade ios date | apple arcade ios date apple arcade date | no description | Unknown | optional |
| apple arcade macos date | apple arcade macos date | no description | Unknown | optional |
| apple arcade visionos date | apple arcade visionos date | no description | Unknown | optional |
| netflix app store date | netflix app store date | no description | Unknown | optional |
| netflix google play date | netflix google play date netflix date | no description | Unknown | optional |
| xd app store date | xd app store date | no description | Unknown | optional |
| xd taptap date | xd taptap date | no description | Unknown | optional |
| xbox one date | xbox one date | no description | Unknown | optional |
| ps4 date | ps4 date | no description | Unknown | optional |
| switch date | switch date | no description | Unknown | optional |
| Previous major update | prev | The version number of the previous major update. Needs to be a number and include the decimal.
| Number | suggested |
| Next major update | next | The version number of the next major update. Needs to be a number and include the decimal.
| Number | suggested |
| Previous minor update | prev minor | The version number of the previous minor update. Needs to be a number and include the decimal.
| Number | optional |
| Next minor update | next minor | The version number of the next minor update. Needs to be a number and include the decimal.
| Number | optional |