Template:BMC terrain info: Difference between revisions
mNo edit summary |
Pymonkibot (talk | contribs) m Text replacement - "info-sub" to "subtable" |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
|- | |- | ||
|<tabs> | |<tabs> | ||
{{#if:{{{id F|}}}|<tab name="Flash"> | |||
{|class="subtable main centered-cells" | |||
|{{#ifexist:File:{{{image F|???}}}|[[File:{{{image F}}}|100px]]|[[File:missing image.png|250px]]}} | |||
|} | |||
</tab>}} | |||
{{#if:{{{id M|}}}|<tab name="Mobile"> | {{#if:{{{id M|}}}|<tab name="Mobile"> | ||
{|class=" | {|class="subtable main centered-cells" | ||
|{{#ifexist:File:{{{image M|???}}}|[[File:{{{image M}}}|100px]]|[[File:missing image.png|250px]]}} | |{{#ifexist:File:{{{image M|???}}}|[[File:{{{image M}}}|100px]]|[[File:missing image.png|250px]]}} | ||
|} | |} | ||
</tab>}} | </tab>}} | ||
| Line 16: | Line 16: | ||
|- | |- | ||
| | | | ||
{|class=" | {|class="subtable" | ||
![[Difficulty (BMC)|Difficulty]] mod | ![[Difficulty (BMC)|Difficulty]] mod | ||
|colspan="2"| +{{{difficulty|???}}} | |colspan="2"| +{{{difficulty|???}}} | ||
| Line 35: | Line 35: | ||
|image={{{image F|}}} | |image={{{image F|}}} | ||
|keywords=BMC {{{name|}}} | |keywords=BMC {{{name|}}} | ||
}}[[Category:Terrain (BMC)]]</includeonly><noinclude>{{/doc}}</noinclude> | }}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=bmc_terrain | ||
|id_F={{{id F|}}} | |||
|id_M={{{id M|}}} | |||
|name ={{{name|}}} | |||
|image_F={{{image F|}}} | |||
|image_M={{{image M|}}} | |||
|difficulty ={{#invoke:unstrip|kill_markers|{{{difficulty|}}}}} | |||
|favoured ={{{favoured|}}} | |||
|restricted ={{{restricted|}}} | |||
|special_terrain={{{special terrain|}}} | |||
|music ={{{music|}}} | |||
}}[[Category:Terrain (BMC)]]}}</includeonly><noinclude>{{/doc}} | |||
<div>{{#cargo_declare:_table=bmc_terrain | |||
|id_F=String | |||
|id_M=String | |||
|name =String | |||
|image_F=File | |||
|image_M=File | |||
|difficulty =Integer | |||
|favoured =List (, ) of Wikitext string | |||
|restricted =List (, ) of Wikitext string | |||
|special_terrain=List (, ) of Wikitext string | |||
|music =String | |||
}}</div></noinclude> | |||