Template:BTD4 track info: Difference between revisions
mNo edit summary |
Pymonkibot (talk | contribs) m Text replacement - "info-sub" to "subtable" |
||
| (9 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{|class="info" | <includeonly>{|class="info" | ||
!class="head"|{{{name|}}} | !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>}}{{#if:{{{image HD|}}}|<tab name="HD"> | </tab>}}{{#if:{{{image HD|}}}|<tab name="HD"> | ||
{|class=" | {|class="subtable main centered-cells" | ||
|{{#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>}}{{#if:{{{image A|}}}|<tab name="Android"> | </tab>}}{{#if:{{{image A|}}}|<tab name="Android"> | ||
{|class=" | {|class="subtable main centered-cells" | ||
|{{#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>}}{{#if:{{{image F|}}}|<tab name="Flash"> | </tab>}}{{#if:{{{image F|}}}|<tab name="Flash"> | ||
{|class=" | {|class="subtable main centered-cells" | ||
|{{#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 36: | Line 38: | ||
{{#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 | |}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd4_tracks | ||
|id_F={{{id F|}}} | |id_F ={{{id F|}}} | ||
|id_E={{{id E|}}} | |id_E ={{{id E|}}} | ||
|id_iOS={{{id iOS|}}} | |id_iOS={{{id iOS|}}} | ||
|id_A ={{{id A|}}} | |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_F ={{{image F|}}} | ||
|image_iOS={{{image iOS|}}} | |image_iOS={{{image iOS|}}} | ||
|image_HD ={{{image HD|}}} | |image_HD ={{{image HD|}}} | ||
|image_A ={{{image A|}}} | |image_A ={{{image A|}}} | ||
| | |image_C ={{{image C|}}} | ||
|introduced_F ={{{introduced F|}}} | |introduced_F ={{{introduced F|}}} | ||
| Line 53: | Line 58: | ||
|introduced_A ={{{introduced A|}}} | |introduced_A ={{{introduced A|}}} | ||
| | |difficulty ={{{difficulty|}}} | ||
| | |difficulty_A={{{difficulty A|}}} | ||
|entrances ={{{entrances|}}} | |entrances ={{{entrances|}}} | ||
|exits | |exits ={{{exits|}}} | ||
|junctions ={{{junctions|}}} | |junctions ={{{junctions|}}} | ||
|water | |water ={{{water|No}}} | ||
|path_labels ={{{path labels|}}} | |path_labels ={{{path labels|}}} | ||
| Line 66: | Line 71: | ||
|path_lengths_A ={{{path lengths A|}}} | |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 F|}}}|[[Category:Tracks in BTD4 (Flash)]]}}<!-- | ||
-->{{#if:{{{id E|}}}|[[Category:Tracks in BTD4 Expansion]]}}<!-- | -->{{#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}}}}}}} | |image={{#if:{{{image iOS|}}}|{{{image iOS|}}}|{{#if:{{{image F|}}}|{{{image F}}}}}}} | ||
|keywords=BTD4 {{{name|}}} | |keywords=BTD4 {{{name iOS|{{{name F|}}}}}} | ||
}}</includeonly><noinclude>{{#cargo_declare:_table= | }}</includeonly><noinclude>{{#cargo_declare:_table=btd4_tracks | ||
|id_F=String | |id_F =String | ||
|id_E=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 91: | 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 | ||