Template:BCS update info: Difference between revisions

Pymonkibot (talk | contribs)
m Text replacement - "info-sub" to "subtable"
No edit summary
Line 1: Line 1:
<includeonly>{|class="info"
<includeonly><templatestyles src="Info/style.css"/><div class="info"><!--
!class="head"|Version {{{version|???}}}
--><div class="head">Version {{{version}}}</div><!--
|-
-->{{#if:{{{image|}}}|<table class="subtable main centered">
|
<tr><td>[[File:{{{image}}}|250px|Artwork representing version {{{version}}}]]</td></tr>
{{#if:{{{image|}}}|<table class="subtable main centered-cells">
</table>}}<!--
<tr><td>[[File:{{{image}}}|250px]]</td></tr>
--><table class="subtable">
</table>}}
{{#if:{{{build|}}}|<tr><th>Build №</th><td>{{{build}}}</td></tr>}}<!--
|-
-->{{#if:{{{app store date|}}}{{{google play date|}}}<!--
|
-->{{{steam windows date|{{{steam date|{{{release date|}}}}}}}}}{{{steam macos date|}}}<!--
{|class="subtable"
--><tr><th colspan="2">Release dates</th></tr>}}<!--
!Release date
-->{{#if:{{{app store date|}}}|<tr><th>App Store</th><td>{{{app store date}}}</td></tr>}}<!--
|colspan="2"|{{{release date|TBA}}}
-->{{#if:{{{google play date|}}}|<tr><th>Google Play</th><td>{{{google play date}}}</td></tr>}}<!--
|-
-->{{#if:{{{steam date|{{{release date|}}}}}}|<tr><th>Steam</th><td>{{{steam date|{{{release date|}}}}}}</td></tr>}}<!-- DEPRECATED
{{#if:{{{build|}}}|!Build №
-->{{#if:{{{steam windows date|}}}|<tr><th>Steam (Windows)</th><td>{{{steam windows date}}}</td></tr>}}<!--
{{!}}colspan="2"{{!}}{{{build|}}}}}
-->{{#if:{{{steam macos date|}}}|<tr><th>Steam (macOS)</th><td>{{{steam macos date}}}</td></tr>}}
|}
</table><!--
|-
--><div class="foot">{{#if:{{{prev|}}}|<div style="float:left;margin-right:.5em">[[Update history:Bloons Card Storm/Version{{{prev}}}|◄◄ {{{prev}}}]]</div>}}{{#if:{{{prev minor|}}}|<div style="float:left">[[Update history:Bloons Card Storm/Version{{{prev minor}}}|◄ {{{prev minor}}}]]</div>}}{{#if:{{{next|}}}|<div style="float:right;margin-left:.5em">[[Update history:Bloons Card Storm/Version{{{next}}}|{{{next}}} ►►]]</div>}}{{#if:{{{next minor|}}}|<div style="float:right">[[Update history:Bloons Card Storm/Version{{{next minor}}}|{{{next minor}}} ►]]</div>}}</div><!--
|class="foot"|{{#if:{{{prev|}}}|<div style="float:left;margin-right:.5em">[[Bloons Card Storm v{{{prev}}}|◄◄ {{{prev}}}]]</div>}}{{#if:{{{prev minor|}}}|<div style="float:left">[[Bloons Card Storm v{{{prev minor}}}|◄ {{{prev minor}}}]]</div>}}{{#if:{{{next|}}}|<div style="float:right;margin-left:.5em">[[Bloons Card Storm v{{{next}}}|{{{next}}} ►►]]</div>}}{{#if:{{{next minor|}}}|<div style="float:right">[[Bloons Card Storm v{{{next minor}}}|{{{next minor}}} ►]]</div>}}
--></div>{{#ifeq:{{NAMESPACENUMBER}}|3200|{{DISPLAYTITLE:Update history:''Bloons Card Storm''/Version {{{version}}}}}<!--
|}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=bcs_updates
-->{{#cargo_store:_table=bcs_updates
|version    ={{{version|}}}
|version    ={{{version|}}}
|version_code={{#invoke:pad version|main|{{{version|}}}}}
|build_number={{{build|}}}
|image      ={{{image|}}}
|image      ={{{image|}}}
|description ={{{description|}}}
|description ={{{description|}}}
|release_date={{#invoke:unstrip|kill_markers|{{{release date|}}}}}
 
|build_number={{{build|}}}
|app_store_date    ={{#invoke:unstrip|kill_markers|{{{app store date|}}}}}
}}[[Category:BCS updates|{{{version}}}]]{{#seo:
|google_play_date  ={{#invoke:unstrip|kill_markers|{{{google play date|}}}}}
|steam_windows_date={{#invoke:unstrip|kill_markers|{{{steam windows date|{{{steam date|{{{release date|}}}}}}}}}}}
|steam_macos_date  ={{#invoke:unstrip|kill_markers|{{{steam macos date|}}}}}
}}<!--
 
-->[[Category:Battles 2 updates|{{{version}}}]]{{#seo:
|image={{{image|}}}
|image={{{image|}}}
|keywords=BCS {{{version|}}}, Bloons Card Storm {{{version|}}}
|keywords=BTDB2 version {{{version|}}}
}}{{DISPLAYTITLE:''Bloons Card Storm'' v{{{version}}}}}}}</includeonly><noinclude>{{#cargo_declare:_table=bcs_updates
}}}}</includeonly><noinclude>{{#cargo_declare:_table=bcs_updates
|version    =String
|version    =String
|version_code=String
|build_number=Integer
|image      =File
|image      =File
|description =Wikitext
|description =Wikitext
|release_date=Wikitext
 
|build_number=Integer
|app_store_date    =Wikitext string
|google_play_date  =Wikitext string
|steam_windows_date=Wikitext string
|steam_macos_date  =Wikitext string
}}{{/doc}}</noinclude>
}}{{/doc}}</noinclude>