Template:BTD4 track info: Difference between revisions
mNo edit summary |
Pymonkibot (talk | contribs) m Text replacement - "info-sub" to "subtable" |
||
| (5 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|}}} | ||
| Line 43: | Line 45: | ||
|name_F ={{{name F|}}} | |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|}}} | ||
| Line 55: | Line 58: | ||
|introduced_A ={{{introduced A|}}} | |introduced_A ={{{introduced A|}}} | ||
|difficulty={{{difficulty|}}} | |difficulty ={{{difficulty|}}} | ||
|entrances ={{{entrances|}}} | |difficulty_A={{{difficulty A|}}} | ||
|exits | |entrances ={{{entrances|}}} | ||
|junctions ={{{junctions|}}} | |exits ={{{exits|}}} | ||
|water | |junctions ={{{junctions|}}} | ||
|water ={{{water|No}}} | |||
|path_labels ={{{path labels|}}} | |path_labels ={{{path labels|}}} | ||
| Line 71: | Line 75: | ||
-->{{#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]]}}<!-- | ||
-->}}{{#seo: | -->[[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 | }}</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 | ||
| Line 94: | Line 98: | ||
|introduced_A =String | |introduced_A =String | ||
|difficulty=String | |difficulty =String | ||
|entrances =Integer | |difficulty_A=String | ||
|exits | |entrances =Integer | ||
|junctions =Integer | |exits =Integer | ||
|water | |junctions =Integer | ||
|water =Boolean | |||
|path_labels =List (,) of String | |path_labels =List (,) of String | ||
Latest revision as of 05:52, 4 April 2026
This template defines the Cargo table "btd4_tracks". View table.
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id F | id F | no description | Unknown | optional |
| id E | id E | no description | Unknown | optional |
| id iOS | id iOS | no description | Unknown | optional |
| id And | id And | no description | Unknown | optional |
| id DSi | id DSi | no description | Unknown | optional |
| name | name | no description | Unknown | optional |
| image F | image F | no description | Unknown | optional |
| image iOS | image iOS | no description | Unknown | optional |
| image HD | image HD | no description | Unknown | optional |
| image And | image And | no description | Unknown | optional |
| image DSi | image DSi | no description | Unknown | optional |
| difficulty | difficulty | no description | Unknown | optional |
| introduced F | introduced F | no description | Unknown | optional |
| introduced iOS | introduced iOS | no description | Unknown | optional |
| introduced HD | introduced HD | no description | Unknown | optional |
| introduced And | introduced And | no description | Unknown | optional |
| entrances | entrances | no description | Unknown | optional |
| exits | exits | no description | Unknown | optional |
| junctions | junctions | no description | Unknown | optional |
| water | water | no description | Unknown | optional |
| Path labels | path labels | Unofficial names for each path, separated by commas with no spaces. Leave this blank if there is only one path.
| String | optional |
| Path lengths (Flash/Expansion) | path lengths F | The lengths of the paths in distance units in the Flash version and BTD4 Expansion, separated by commas with no spaces.
| String | optional |
| Path lengths (iOS) | path lengths iOS | The lengths of the paths in distance units in the iOS version, separated by commas with no spaces.
| String | required |
| Path lengths (HD) | path lengths HD | The lengths of the paths in distance units in BTD4 HD, separated by commas with no spaces.
| String | optional |
| Path lengths (Android/DSi) | path lengths And | The lengths of the paths in distance units in the Android version and the DSi version, separated by commas with no spaces. (Yes, the paths in the Android and DSi versions are identical.)
| String | optional |