Template:BTD4 track info: Difference between revisions
mNo edit summary |
Pymonkibot (talk | contribs) m Text replacement - "info-sub" to "subtable" |
||
| (11 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd4_tracks | <includeonly>{|class="info" | ||
|id_F={{{id F|}}} | !class="head"|{{{name iOS|{{{name F|}}}}}} | ||
|id_E={{{id E|}}} | |- | ||
|<tabs> | |||
{{#if:{{{image iOS|}}}|<tab name="iOS"> | |||
{|class="subtable main centered-cells" | |||
|{{#ifexist:File:{{{image iOS|???}}}|[[File:{{{image iOS}}}|250px]]|[[File:missing image.png|250px]]}} | |||
|} | |||
</tab>}}{{#if:{{{image HD|}}}|<tab name="HD"> | |||
{|class="subtable main centered-cells" | |||
|{{#ifexist:File:{{{image HD|???}}}|[[File:{{{image HD}}}|250px]]|[[File:missing image.png|250px]]}} | |||
|} | |||
</tab>}}{{#if:{{{image A|}}}|<tab name="Android"> | |||
{|class="subtable main centered-cells" | |||
|{{#ifexist:File:{{{image A|???}}}|[[File:{{{image A}}}|250px]]|[[File:missing image.png|250px]]}} | |||
|} | |||
</tab>}}{{#if:{{{image F|}}}|<tab name="Flash"> | |||
{|class="subtable main centered-cells" | |||
|{{#ifexist:File:{{{image F|???}}}|[[File:{{{image F}}}|250px]]|[[File:missing image.png|250px]]}} | |||
|}</tab>}}</tabs> | |||
{|class="subtable" | |||
!Difficulty | |||
|colspan="2"|{{#if:{{{difficulty A|}}}<!-- | |||
-->|[[{{{difficulty A|}}}]] (Android)<br>[[{{{difficulty|}}}]] (other versions)<!-- | |||
-->|[[{{{difficulty|}}}]]}} | |||
|} | |||
{|class="subtable" style="text-align:center" | |||
!Entrances | |||
!Exits | |||
!Junctions | |||
!Water? | |||
|- | |||
|{{{entrances|—}}} | |||
|{{{exits|—}}} | |||
|{{{junctions|—}}} | |||
|{{{water|—}}} | |||
|} | |||
{{#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_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 17: | 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 30: | 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=btd4_tracks | |||
|id_F =String | |||
|id_E =String | |||
| | |||
|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 98: | 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 110: | 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> | ||