Template:BTDB map info: Difference between revisions

Pymonkibot (talk | contribs)
m Text replacement - "info-sub" to "subtable"
mNo edit summary
Line 1: Line 1:
<includeonly>{{#cargo_store:_table=btdb_maps
<includeonly><templatestyles src="Info/style.css"/><div class="info"><!--
|id_F={{{id F|}}}
--><div class="head">{{{name M|{{{name F|}}}}}}</div>
|id_M={{{id M|}}}
{|class="subtable main centered"
 
|name_F ={{{name F|}}}
|name_M ={{{name M|}}}
|image_F={{{image F|}}}
|image_M={{{image M|}}}
 
|introduced_F={{{introduced F|}}}
|introduced_M={{{introduced M|}}}
|availability={{#invoke:unstrip|kill_markers|{{{availability|}}}}}
|music      ={{{music|}}}
 
|entrances    ={{{entrances|}}}
|exits        ={{{exits|}}}
|junctions    ={{{junctions|}}}
|water        ={{{water|}}}
|path_labels  ={{{path labels|}}}
|path_lengths_F={{{path lengths F|}}}
|path_lengths_M={{{path lengths M|}}}
}}{{#seo:
|image={{{image M|}}}
|keywords=BTDB {{{name M|}}},BTD Battles {{{name M|}}}
}}[[Category:Maps in Battles (mobile)]]{{#if:{{{id F|}}}|[[Category:Maps in Battles (Flash)]]}}
{|class="info"
!class="head"|{{{name M}}}
|-
|
{|class="subtable main centered-cells"
|colspan=4|[[File:{{{image M}}}|250px]]
|colspan=4|[[File:{{{image M}}}|250px]]
|}
|}
Line 57: Line 30:
!Introduced
!Introduced
|colspan="2"|{{#if:{{{introduced M|}}}|Version {{{introduced M}}}|Launch}}
|colspan="2"|{{#if:{{{introduced M|}}}|Version {{{introduced M}}}|Launch}}
|}{{#invoke:BTD5 track info|main|path labels={{{path labels|}}}|path lengths F={{{path lengths F|}}}|path lengths M={{{path lengths M|}}}}}
|}{{#invoke:BTD5 track info|main|path labels={{{path labels|}}}|path lengths F={{{path lengths F|}}}|path lengths M={{{path lengths M|}}}}}<!--
|}</includeonly><noinclude>{{/doc}}
--></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btdb_maps
<div>{{#cargo_declare:_table=btdb_maps
|id_F={{{id F|}}}
|id_M={{{id M|}}}
 
|name_F ={{{name F|}}}
|name_M ={{{name M|}}}
|image_F={{{image F|}}}
|image_M={{{image M|}}}
 
|introduced_F={{{introduced F|}}}
|introduced_M={{{introduced M|}}}
|availability={{#invoke:unstrip|kill_markers|{{{availability|}}}}}
|music      ={{{music|}}}
 
|entrances    ={{{entrances|}}}
|exits        ={{{exits|}}}
|junctions    ={{{junctions|}}}
|water        ={{{water|}}}
|path_labels  ={{{path labels|}}}
|path_lengths_F={{{path lengths F|}}}
|path_lengths_M={{{path lengths M|}}}
}}{{#seo:
|image={{{image M|}}}
|keywords=BTDB {{{name M|}}},BTD Battles {{{name M|}}}
}}[[Category:Maps in Battles (mobile)]]{{#if:{{{id F|}}}|[[Category:Maps in Battles (Flash)]]}}}}</includeonly><noinclude>{{#cargo_declare:_table=btdb_maps
|id_F=String
|id_F=String
|id_M=String
|id_M=String
Line 80: Line 76:
|path_lengths_F=List (,) of String
|path_lengths_F=List (,) of String
|path_lengths_M=List (,) of String
|path_lengths_M=List (,) of String
}}</div></noinclude>
}}{{/doc}}</noinclude>