Template:BTD4 track info: Difference between revisions
mNo edit summary |
Pymonkibot (talk | contribs) m Text replacement - "info-sub" to "subtable" |
||
| (10 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{ | <includeonly>{|class="info" | ||
!class="head"|{{{name iOS|{{{name F|}}}}}} | |||
| | |||
|- | |- | ||
|<tabs> | |<tabs> | ||
{{#if:{{{image iOS|}}}|<tab name="iOS"> | {{#if:{{{image iOS|}}}|<tab name="iOS"> | ||
{|class=" | {|class="subtable main centered-cells" | ||
|{{#ifexist:File:{{{image iOS|???}}}|[[File:{{{image iOS}}}|250px]]|[[File:missing image.png|250px]]}} | |{{#ifexist:File:{{{image iOS|???}}}|[[File:{{{image iOS}}}|250px]]|[[File:missing image.png|250px]]}} | ||
|} | |} | ||
</tab>}} | </tab>}}{{#if:{{{image HD|}}}|<tab name="HD"> | ||
{{#if:{{{image HD|}}}|<tab name="HD"> | {|class="subtable main centered-cells" | ||
{|class=" | |||
|{{#ifexist:File:{{{image HD|???}}}|[[File:{{{image HD}}}|250px]]|[[File:missing image.png|250px]]}} | |{{#ifexist:File:{{{image HD|???}}}|[[File:{{{image HD}}}|250px]]|[[File:missing image.png|250px]]}} | ||
|} | |} | ||
</tab>}} | </tab>}}{{#if:{{{image A|}}}|<tab name="Android"> | ||
{{#if:{{{image A|}}}|<tab name="Android"> | {|class="subtable main centered-cells" | ||
{|class=" | |||
|{{#ifexist:File:{{{image A|???}}}|[[File:{{{image A}}}|250px]]|[[File:missing image.png|250px]]}} | |{{#ifexist:File:{{{image A|???}}}|[[File:{{{image A}}}|250px]]|[[File:missing image.png|250px]]}} | ||
|} | |} | ||
</tab>}} | </tab>}}{{#if:{{{image F|}}}|<tab name="Flash"> | ||
{{#if:{{{image F|}}}|<tab name="Flash"> | {|class="subtable main centered-cells" | ||
{|class=" | |||
|{{#ifexist:File:{{{image F|???}}}|[[File:{{{image F}}}|250px]]|[[File:missing image.png|250px]]}} | |{{#ifexist:File:{{{image F|???}}}|[[File:{{{image F}}}|250px]]|[[File:missing image.png|250px]]}} | ||
|}</tab>}}</tabs> | |}</tab>}}</tabs> | ||
{|class=" | {|class="subtable" | ||
!Difficulty | !Difficulty | ||
|colspan="2"|{{{difficulty|}}} | |colspan="2"|{{#if:{{{difficulty A|}}}<!-- | ||
-->|[[{{{difficulty A|}}}]] (Android)<br>[[{{{difficulty|}}}]] (other versions)<!-- | |||
-->|[[{{{difficulty|}}}]]}} | |||
|} | |} | ||
{|class=" | {|class="subtable" style="text-align:center" | ||
!Entrances | !Entrances | ||
!Exits | !Exits | ||
| Line 77: | Line 37: | ||
|} | |} | ||
{{#invoke:BTD4 track info|main|path labels={{{path labels|}}}|path lengths F={{{path lengths F|}}}|path lengths iOS={{{path lengths iOS|}}}|path lengths HD={{{path lengths HD|}}}|path lengths A={{{path lengths A|}}}}} | {{#invoke:BTD4 track info|main|path labels={{{path labels|}}}|path lengths F={{{path lengths F|}}}|path lengths iOS={{{path lengths iOS|}}}|path lengths HD={{{path lengths HD|}}}|path lengths A={{{path lengths A|}}}}} | ||
|}< | |}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd4_tracks | ||
< | |id_F ={{{id F|}}} | ||
|id_F=String | |id_E ={{{id E|}}} | ||
|id_E=String | |id_iOS={{{id iOS|}}} | ||
|id_A ={{{id A|}}} | |||
|id_C ={{{id C|}}} | |||
|name_F ={{{name F|}}} | |||
|name_iOS ={{{name iOS|}}} | |||
|name_A ={{{name A|}}} | |||
|image_F ={{{image F|}}} | |||
|image_iOS={{{image iOS|}}} | |||
|image_HD ={{{image HD|}}} | |||
|image_A ={{{image A|}}} | |||
|image_C ={{{image C|}}} | |||
|introduced_F ={{{introduced F|}}} | |||
|introduced_iOS={{{introduced iOS|}}} | |||
|introduced_HD ={{{introduced HD|}}} | |||
|introduced_A ={{{introduced A|}}} | |||
|difficulty ={{{difficulty|}}} | |||
|difficulty_A={{{difficulty A|}}} | |||
|entrances ={{{entrances|}}} | |||
|exits ={{{exits|}}} | |||
|junctions ={{{junctions|}}} | |||
|water ={{{water|No}}} | |||
|path_labels ={{{path labels|}}} | |||
|path_lengths_F ={{{path lengths F|}}} | |||
|path_lengths_iOS={{{path lengths iOS|}}} | |||
|path_lengths_HD ={{{path lengths HD|}}} | |||
|path_lengths_A ={{{path lengths A|}}} | |||
}}<!-- | |||
-->{{#if:{{{id iOS|}}}|[[Category:Tracks in BTD4 (mobile)]]}}<!-- | |||
-->{{#if:{{{id C|}}}|[[Category:Tracks in BTD4 (DSi)]]}}<!-- | |||
-->{{#if:{{{id F|}}}|[[Category:Tracks in BTD4 (Flash)]]}}<!-- | |||
-->{{#if:{{{id E|}}}|[[Category:Tracks in BTD4 Expansion]]}}<!-- | |||
-->[[Category:{{{difficulty|}}} maps]]{{#if:{{{difficulty A|}}}|[[Category:{{{difficulty A|}}} maps]]}}}}{{#seo: | |||
|image={{#if:{{{image iOS|}}}|{{{image iOS|}}}|{{#if:{{{image F|}}}|{{{image F}}}}}}} | |||
|keywords=BTD4 {{{name iOS|{{{name F|}}}}}} | |||
}}</includeonly><noinclude>{{#cargo_declare:_table=btd4_tracks | |||
|id_F =String | |||
|id_E =String | |||
|id_iOS=String | |id_iOS=String | ||
|id_A =String | |id_A =String | ||
| | |id_C =String | ||
|name_F =String | |||
|name_M =String | |||
|image_F =File | |image_F =File | ||
|image_iOS=File | |image_iOS=File | ||
|image_HD =File | |image_HD =File | ||
|image_A =File | |image_A =File | ||
| | |image_C =File | ||
|introduced_F =String | |introduced_F =String | ||
| Line 96: | Line 98: | ||
|introduced_A =String | |introduced_A =String | ||
| | |difficulty =String | ||
| | |difficulty_A=String | ||
|entrances =Integer | |entrances =Integer | ||
|exits | |exits =Integer | ||
|junctions =Integer | |junctions =Integer | ||
|water | |water =Boolean | ||
|path_labels =List (,) of String | |path_labels =List (,) of String | ||
| Line 108: | Line 110: | ||
|path_lengths_HD =List (,) of String | |path_lengths_HD =List (,) of String | ||
|path_lengths_A =List (,) of String | |path_lengths_A =List (,) of String | ||
}} | }}{{/doc}}</noinclude> | ||