Template:BTD5 track info: Difference between revisions

mNo edit summary
mNo edit summary
 
(55 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd5_tracks
<includeonly><templatestyles src="Info/style.css"/><div class="info subtable-container"><!--
--><div class="head">{{{name M|{{{name F|}}}}}}</div>
<tabs>
{{#if:{{{image M|}}}|<tab name="Multiplatform">
{|class="subtable main centered"
|[[File:{{{image M}}}|250px]]
|}
</tab>}}{{#if:{{{name F|}}}|<tab name="Flash">
{|class="subtable main centered"
|[[File:{{{image F}}}|250px]]
|}
</tab>}}
</tabs>
{|class="subtable"
{{#if:{{{mission only|}}}||!colspan="3"{{!}}[[Map difficulty|Difficulty]]
{{!}}colspan="7"{{!}}{{#ifeq:{{{difficulty M|{{{difficulty F|}}}}}}|{{{difficulty F|{{{difficulty M|}}}}}}|<!--
-->[[{{{difficulty F|{{{difficulty M|}}}}}}]]|<!--
-->[[{{{difficulty M}}}]]<sup>[multiplatform{{#if:{{{id C|}}}|, console}}]</sup><br>[[{{{difficulty F}}}]]<sup>[Flash{{#if:{{{id D|}}}|, ''Deluxe''}}]</sup>}}}}
|-
!colspan="3"|Entrances
|colspan="7"|{{{entrances|TBD}}}
|-
!colspan="3"|Exits
|colspan="7"|{{{exits|TBD}}}
|-
!colspan="3"|Tunnels
|colspan="7"|{{{tunnels|TBD}}}
|-
!colspan="3"|Water?
|colspan="7"|{{{water|TBD}}}
|-
!colspan="3"|Music
|colspan="7"|<!-- this mess is to display jazz theme and main theme separately for windows, because for some reason the names are swapped in the WaveBank
-->{{#switch:{{{music M|}}}|Main Theme|Jazz Theme={{{music M}}}<sup>[iOS, Android, macOS{{#if:{{{id C|}}}|, console}}<!--
-->{{#ifeq:{{{music F|}}}|{{{music M}}}|, Flash{{#if:{{{id D|}}}|, ''Deluxe''}}}}]</sup><br><!--
-->{{#ifeq:{{{music M}}}|Main Theme|Jazz Theme|Main Theme}}<sup>[Windows<!--
-->{{#ifeq:{{{music F|{{{music M}}}}}}|{{{music M}}}||{{#ifeq:{{{music F}}}|Volcano Theme||, Flash{{#if:{{{id D|}}}|, ''Deluxe''}}}}}}<!--
-->]</sup>{{#ifeq:{{{music F}}}|Volcano Theme|<!--
-->{{{music F}}} <sup>[Flash{{#if:{{{id D|}}}|<nowiki/>, ''Deluxe''}}]</sup>}}|#default=<!--
 
-->{{#ifeq:{{{music F|{{{music M|}}}}}}|{{{music M|{{{music F|}}}}}}|<!--
-->{{{music M|{{{music F|}}}}}}|<!--
-->{{{music M|}}}<sup>[multiplatform{{#if:{{{id C|}}}|, console}}]</sup><br>{{{music F|}}}<sup>[Flash{{#if:{{{id D|}}}|, ''Deluxe''}}]</sup>}}}}
|-
{{#if:{{{mission only|}}}||!colspan="10"{{!}}Availability
{{!}}- <!-- multiplat version -->
{{#if:{{{id M|}}}|!colspan="3" rowspan="2"{{!}}Multiplatform version
!colspan="2"{{!}}Solo
{{!}}colspan="5"{{!}}{{#if:{{{solo M|}}}
|{{#if:{{{requires sub M|}}}|Open the Mystery Parcel
|{{#ifeq:{{{unlock wins M|0}}}|0
|{{#ifeq:{{{unlock rank M|0}}}|0|Unlocked by default
|Reach [[level|rank]] {{{unlock rank M|}}}}}
|Win {{{unlock wins M|}}} {{#ifeq:{{{difficulty M|}}}|Intermediate|Beginner|Intermediate}} track{{#ifexpr:{{{unlock wins M|1}}} > 1|s}}
}}}}|Unavailable}}
{{!}}-
!colspan="2"{{!}}Co-op
{{!}}colspan="5"{{!}}{{#if:{{{coop M|}}}|Available|Unavailable}}}}
{{!}}- <!-- console version -->
{{#if:{{{id C|}}}|!colspan="3" rowspan="2"{{!}}Console version
!colspan="2"{{!}}Solo
{{!}}colspan="5"{{!}}{{#if:{{{solo C|}}}
|{{#ifeq:{{{unlock wins M|0}}}|0
|{{#ifeq:{{{unlock rank M|0}}}|0|Unlocked by default
|Reach rank {{{unlock rank M|}}}}}
|Win {{{unlock wins M|}}} {{#ifeq:{{{difficulty M|}}}|Intermediate|Beginner|Intermediate}} track{{#ifexpr:{{{unlock wins M|1}}} > 1|s}}
}}|Unavailable}}
{{!}}-
!colspan="2"{{!}}Co-op
{{!}}colspan="5"{{!}}{{#if:{{{coop M|}}}|Available|Unavailable}}}}
{{!}}- <!-- flash version -->
{{#if:{{{id F|}}}|!colspan="3" rowspan="2"{{!}}Flash version
!colspan="2"{{!}}Solo
{{!}}colspan="5"{{!}}{{#if:{{{solo F|}}}|{{#ifeq:{{{unlock rank F|0}}}|0|Unlocked by default|Reach rank {{{unlock rank F|}}}}}|unavailable}}
{{!}}-
!colspan="2"{{!}}Co-op
{{!}}colspan="5"{{!}}{{#if:{{{coop F|}}}|Available|Unavailable}}}}
{{!}}- <!-- deluxe -->
{{#if:{{{id D|}}}|!colspan="5"{{!}}''Deluxe''
{{!}}colspan="5"{{!}}{{#ifeq:{{{unlock rank D|0}}}|0|Unlocked by default|Reach [[level|rank]] {{{unlock rank D|}}}}}}}
}}
|}{{#invoke:BTD5 track info|main|path labels={{{path labels|}}}|path lengths F={{{path lengths F|}}}|path lengths M={{{path lengths M|}}}}}<!--
--></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd5_tracks
|id_F={{{id F|}}}
|id_F={{{id F|}}}
|id_D={{{id D|}}}
|id_D={{{id D|}}}
|id_M={{{id M|}}}
|id_M={{{id M|}}}
|id_C={{{id_C|}}}
|id_C={{{id C|}}}


|name_F ={{{name F|}}}
|name_F ={{{name F|}}}
Line 16: Line 98:
|music_M    ={{{music M|}}}
|music_M    ={{{music M|}}}
|introduced_F={{{introduced F|}}}
|introduced_F={{{introduced F|}}}
|introduced_D={{{introduced D|}}}
|introduced_M={{{introduced M|}}}
|introduced_M={{{introduced M|}}}


|unlock_rank_F    ={{{unlock rank F|}}}
|solo_F        ={{{solo F|No}}}
|unlock_rank_M    ={{{unlock rank M|}}}
|solo_M        ={{{solo M|No}}}
|tracks_required_M={{{tracks required M|}}}
|solo_C        ={{{solo C|No}}}
|tracks_required_C={{{tracks required C|}}}
|coop_F        ={{{coop F|No}}}
|requires_sub      ={{{requires sub|No}}}
|coop_M        ={{{coop M|No}}}
|coop_F            ={{{coop F|No}}}
|coop_C        ={{{coop C|No}}}
|coop_M            ={{{coop M|No}}}
|unlock_rank_F ={{{unlock rank F|}}}
|unlock_rank_D ={{{unlock rank D|}}}
|unlock_rank_M ={{{unlock rank M|}}}
|unlock_wins_M ={{{unlock wins M|}}}
|requires_sub_M={{{requires sub M|No}}}


|entrances={{{entrances|}}}
|entrances={{{entrances|}}}
Line 35: Line 122:
|path_lengths_F={{{path lengths F|}}}
|path_lengths_F={{{path lengths F|}}}
|path_lengths_M={{{path lengths M|}}}
|path_lengths_M={{{path lengths M|}}}
}}{{#if:{{{id M|}}}|[[Category:Tracks in BTD5 (mobile)]]}}{{#if:{{{id C|}}}|[[Category:Tracks in BTD5 (console)]]}}{{#if:{{{id F|}}}|[[Category:Tracks in BTD5 (Flash)]]}}{{#if:{{{id D|}}}|[[Category:Tracks in BTD5 Deluxe]]}}}}
}}{{#if:{{{mission only|}}}||{{#if:{{{id M|}}}|[[Category:Tracks in BTD5 (multiplatform)]]}}{{#if:{{{id C|}}}|[[Category:Tracks in BTD5 (console)]]}}{{#if:{{{id F|}}}|[[Category:Tracks in BTD5 (Flash)]]}}{{#if:{{{id D|}}}|[[Category:Tracks in BTD5 Deluxe]]}}{{#if:{{{difficulty F|}}}|[[Category:{{{difficulty F|}}} maps]]}}{{#if:{{{difficulty M|}}}|[[Category:{{{difficulty M|}}} maps]]}}}}{{#seo:
{|class="info"
|image={{{image M|{{{image F|}}}}}}
!class="head"|{{#if:{{{name M|}}}|{{{name M}}}|{{{name F}}}}}
|-
|<tabs>
{{#if:{{{name M|}}}|<tab name="Mobile">
{|class="info-sub main centered-cells"
|[[File:{{{image M}}}|250px]]
|}
</tab>}}{{#if:{{{name F|}}}|<tab name="Flash">
{|class="info-sub main centered-cells"
|[[File:{{{image F}}}|250px]]
|}
</tab>}}
</tabs>
{|class="info-sub"
!Music
|colspan="3"|{{#if:{{{music F|}}}|{{{music F|}}}{{#if:{{{music D|}}}{{{music M|}}}|{{g|BTD5F}}<br>}}}}<!--
-->{{#if:{{{music D|}}}|{{{music D|}}}{{#if:{{{music F|}}}{{{music M|}}}|{{g|BTD5D}}<br>}}}}<!--
-->{{#if:{{{music M|}}}|{{{music M|}}}{{#if:{{{music F|}}}{{{music D|}}}|{{g|BTD5M}}}}}}
|-
!Availability
|colspan="3"|{{#if:{{{id M|}}}
|{{#if:{{{id F|}}}{{{id D|}}}|'''Mobile{{#if:{{{id C|}}}|/console}} version'''}}
*Solo: {{#if:{{{solo M|}}}
|{{#if:{{{requires sub|}}}|open the Mystery Parcel{{g|BTD5M}}
:/ beat {{{tracks required C|}}} {{{difficulty M|}}} tracks{{g|BTD5C}}
|{{#ifeq:{{{tracks required M|0}}}|0
|{{#ifeq:{{{unlock rank M|0}}}|0|unlocked by default
|reach [[level|rank]] {{{unlock rank M|}}}}}
|beat {{{tracks required M|}}} {{{difficulty M|}}} tracks
}}}}|unavailable}}
*Co-op: {{#if:{{{coop M|}}}|available|unavailable}}}}{{#if:{{{id F|}}}
|{{#if:{{{id M|}}}{{{id D|}}}|{{#if:{{{id M|}}}|<br>}}'''Flash version'''}}
*Solo: {{#if:{{{solo F|}}}|{{#ifeq:{{{unlock rank F|0}}}|0|unlocked by default|Reach [[level|rank]] {{{unlock rank F|}}}}}|unavailable}}
*Co-op: {{#if:{{{coop F|}}}|available|unavailable}}}}{{#if:{{{id D|}}}
|{{#if:{{{id F|}}}{{{id M|}}}|<br>'''''Bloons TD 5 Deluxe'''''<br>}}{{#ifeq:{{{unlock rank F|0}}}|0|Unlocked by default|Reach [[level|rank]] {{{unlock rank F|}}}}}}}
|-
![[Map difficulty|Difficulty]]
|{{#ifeq:{{{difficulty M|{{{difficulty F|}}}}}}|{{{difficulty F|{{{difficulty M|}}}}}}|[[{{{difficulty F|{{{difficulty M|}}}}}}]]|[[{{{difficulty F}}}]]{{g|BTD5F}}<br>[[{{{difficulty M}}}]]{{g|BTD5M}}}}
!Water?
|{{{water|—}}}
|-
!Entrances
|{{{entrances|—}}}
!Junctions
|{{{junctions|—}}}
|-
!Exits
|{{{exits|—}}}
!Tunnels
|{{{tunnels|—}}}
|}{{#invoke:BTD5 track info|main|path labels={{{path labels|}}}|path lengths F={{{path lengths F|}}}|path lengths M={{{path lengths M|}}}}}
|}{{#seo:
|image={{{image F|}}}
|keywords=BTD5 {{{name F|}}}
|keywords=BTD5 {{{name F|}}}
}}</includeonly><noinclude>{{/doc}}
}}}}</includeonly><noinclude>{{#cargo_declare:_table=btd5_tracks
<div>{{#cargo_declare:_table=btd5_tracks
|id_F=String
|id_F=String
|id_D=String
|id_D=String
Line 109: Line 142:
|music_M    =String
|music_M    =String
|introduced_F=String
|introduced_F=String
|introduced_D=String
|introduced_M=String
|introduced_M=String


|unlock_rank_F    =Integer
|solo_F        =Boolean
|unlock_rank_M    =Integer
|solo_M        =Boolean
|tracks_required_M=Integer
|solo_C        =Boolean
|tracks_required_C=Integer
|coop_F        =Boolean
|requires_sub    =Boolean
|coop_M        =Boolean
|coop_F          =Boolean
|coop_C        =Boolean
|coop_M          =Boolean
|unlock_rank_F =Integer
|unlock_rank_D =Integer
|unlock_rank_M =Integer
|unlock_wins_M =Integer
|requires_sub_M=Boolean


|entrances=Wikitext string
|entrances=Wikitext string
Line 126: Line 164:


|path_labels  =List (,) of String
|path_labels  =List (,) of String
|path_lengths_F=List (,) of Float
|path_lengths_F=List (,) of String
|path_lengths_M=List (,) of Float
|path_lengths_M=List (,) of String
}}</div></noinclude>
}}{{/doc}}</noinclude>