Template:BTD5 track info: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| (23 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <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"> | |||
{{#if:{{{ | {|class="subtable main centered" | ||
{|class=" | |||
|[[File:{{{image M}}}|250px]] | |[[File:{{{image M}}}|250px]] | ||
|} | |} | ||
</tab>}}{{#if:{{{name F|}}}|<tab name="Flash"> | </tab>}}{{#if:{{{name F|}}}|<tab name="Flash"> | ||
{|class=" | {|class="subtable main centered" | ||
|[[File:{{{image F}}}|250px]] | |[[File:{{{image F}}}|250px]] | ||
|} | |} | ||
</tab>}} | </tab>}} | ||
</tabs> | </tabs> | ||
{|class=" | {|class="subtable" | ||
{{#if:{{{mission only|}}}||![[Map difficulty|Difficulty]] | {{#if:{{{mission only|}}}||!colspan="3"{{!}}[[Map difficulty|Difficulty]] | ||
{{!}}colspan=" | {{!}}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 | ||
|}{{#invoke:BTD5 track info|main|path labels={{{path labels|}}}|path lengths F={{{path lengths F|}}}|path lengths M={{{path lengths M|}}}}} | {{!}}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|}}} | ||
| Line 87: | 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:{{{mission only|}}}||{{#if:{{{id M|}}}|[[Category:Tracks in BTD5 ( | }}{{#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: | ||
|image={{{image M|{{{image F|}}}}}} | |image={{{image M|{{{image F|}}}}}} | ||
|keywords=BTD5 {{{name F|}}} | |keywords=BTD5 {{{name F|}}} | ||
}}}}</includeonly><noinclude | }}}}</includeonly><noinclude>{{#cargo_declare:_table=btd5_tracks | ||
|id_F=String | |id_F=String | ||
|id_D=String | |id_D=String | ||
| Line 132: | Line 166: | ||
|path_lengths_F=List (,) of String | |path_lengths_F=List (,) of String | ||
|path_lengths_M=List (,) of String | |path_lengths_M=List (,) of String | ||
}} | }}{{/doc}}</noinclude> | ||