Template:BTD6 update info: Difference between revisions

Undo revision 33373 by Hemidemisemipresent (talk)
Tag: Undo
added prev update and next update to btd6 update template
Line 1: Line 1:
<includeonly>{|class="info"
<includeonly>{|class="info"
!class="head"|Version {{{version}}}
!class="head"|
<div style="display:flex;justify-content:space-between;">
  <div>
    <p>{{#if:{{{prev_update|}}}|{{#ifexist:{{{prev_update|}}}|← [[{{{prev_update}}}|{{{prev_version}}}]]|{{{prev_version}}}}}}}</p>
  </div>
  <div style="width:60%"><p>Version {{{version}}}</p></div>
  <div>
    <p>{{#if:{{{next_update|}}}|{{#ifexist:{{{next_update|}}}|[[{{{next_update}}}|{{{next_version}}}]]|{{{next_version}}}}}}} →</p>
  </div>
</div>
|-
|-
|
|
Line 10: Line 19:
<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}}[[Category:Infoboxes]][[Category:BTD6 templates]]</noinclude>