Template:BTD6 update info: Difference between revisions

No edit summary
Tag: Manual revert
optimised the markup (the comments are necessary, otherwise it creates that gap between the image and the release dates)
Line 1: Line 1:
<includeonly>{|class="info"
<includeonly>{|class="info"
!class="head"|
!class="head"|{{#if:{{{prev|}}}|[[Bloons TD 6 v{{{prev}}}|← {{{prev}}}]]}}
<div style="display:flex;justify-content:space-between;">
!class="head" colspan="3"|Version {{{version|???}}}
  <div>
!class="head"|{{#if:{{{next|}}}|[[Bloons TD 6 v{{{next}}}|{{{next}}} →]]}}
    {{#if:{{{prev_update|}}}|<p>← [[{{{prev_update}}}|{{{prev_version}}}]]</p>}}
  </div>
  <div style="width:60%"><p>Version {{{version}}}</p></div>
  <div>
    {{#if:{{{next_update|}}}|<p>[[{{{next_update}}}|{{{next_version}}}]] →</p>}}
  </div>
</div>
|-
|-
|
|colspan="5"|
{{#if:{{{image|}}}|<table class="info-sub main centered-cells">
{{#if:{{{image|}}}|<table class="info-sub main centered-cells">
<tr><td>[[File:{{{image}}}|250px]]</td><tr>
<tr><td>[[File:{{{image}}}|250px]]</td></tr>
</table>}}
</table>}}
|-
|-
|
|colspan="5"|
<table class="info-sub">
<table class="info-sub">
<tr><th colspan="3">Release dates</th></tr>
<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>}}<!--
{{#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:{{{epic games date|}}}|<tr><th>Epic Games</th><td colspan="2">{{{epic games date}}}</td></tr>}}
-->{{#if:{{{epic games date|}}}|<tr><th>Epic Games</th><td colspan="2">{{{epic games date}}}</td></tr>}}
</table>
</table>
|}[[Category:BTD6 updates]]</includeonly><noinclude>{{/doc}}[[Category:Infoboxes]][[Category:BTD6 templates]]</noinclude>
|}[[Category:BTD6 updates]]</includeonly><noinclude>{{/doc}}</noinclude>