Difference between revisions of "Template:Db"

From StarMade Wiki
m
m
Line 1: Line 1:
{{#if:{{{2|}}}|<!--
+
{{#if:{{{2|}}}|<!-- 2 templates to request in each databases to not make loop by requesting in Main info of value of Sub table.
-->{{#switch:{{{2|}}}<!-- determine the good database file to request.
+
-->{{#switch:{{{2|}}}
-->|link|type|icon|Factory|Animated|Armor|AHP|SHP|Transparency|InShop|ReactorHp|Mass|Hp|cat|cat2|cat3|cat4|Placable|BlockStyle|Light|Deprecated|LightColor={{Db/<!--
+
|link|type|icon|Factory|Animated|Armor|AHP|SHP|Transparency|InShop|ReactorHp|Mass|Hp|cat|cat2|cat3|cat4|Placable|BlockStyle|Light|Deprecated|LightColor={{Db/{{Db/Version{{#if:{{{3|}}}|{{!}}{{{3}}}}}}}Main|{{{1}}}|{{{2}}}}}<!-- if requested a version transmit it to : Db/Version-->
-->{{Db/Version{{#if:{{{3|}}}|{{!}}{{{3}}}}}}}Main|{{{1}}}|{{{2}}}}}<!-- if requested a version transmit it to : Db/Version
+
|Unknow request data : link, Id, Factory, Animated, Armor, Shp, Shp, Transparency, InShop, ReactorHp, Mass, Hp, cat, cat2, cat3, cat4, Placable, BlockStyle, Light, Depreciated, LightColor}}<!--
-->|Item|CtrlBy|Ctrling|Price|Desc|BlockResourceType|FactoryBakeTime|Chamber|Volume|InRecipe|MainCtrl|SupportCtrl|EffectCtrl|ExpAbsorb={{Db/<!--
 
-->{{Db/Version{{#if:{{{3|}}}|{{!}}{{{3}}}}}}}Sub|{{{1}}}|{{{2}}}}}<!-- if request a version, transmit it to : Db/Version
 
-->|Unknow request data : link, Id, Factory, Animated, Armor, Shp, Shp, Transparency, InShop, ReactorHp, Mass, Hp, cat, cat2, cat3, cat4, Placable, BlockStyle, Light, Depreciated, LightColor, Item, CtrlBy, Price, Desc, BlockResourceType, FactoryBakeTime, Chamber, Volume, InRecipe, MainCtrl, SupportCtrl, EffectCtrl, ExpAbsorb}}<!--
 
 
-->| You must specify a request !}}
 
-->| You must specify a request !}}

Revision as of 20:39, 12 May 2018

You must specify a request !