Difference between revisions of "Template:DbSub"

From StarMade Wiki
m
m
Line 2: Line 2:
 
|~ ={{#if:{{{3|}}}|<!-- 2 templates to request in each databases to not make loop by requesting in Main info of value of Sub table.
 
|~ ={{#if:{{{3|}}}|<!-- 2 templates to request in each databases to not make loop by requesting in Main info of value of Sub table.
 
-->{{#switch:{{{3|}}}
 
-->{{#switch:{{{3|}}}
|Item|CtrlBy|Ctrling|Price|Desc|BlockResourceType|FactoryBakeTime|Chamber|Volume|InRecipe|MainCtrl|SupportCtrl|EffectCtrl|ExpAbsorb={{Db/{{Db/Version{{{2}}}}}Sub|{{{1}}}|{{{3}}}}}<!-- if request a version, transmit it to : Db/Version -->
+
|Item|CtrlBy|Ctrling|Price|Desc|BlockResourceType|FactoryBakeTime|Chamber|Volume|InRecipe|MainCtrl|SupportCtrl|EffectCtrl|ExpAbsorb={{Db/{{Db/Version|{{{2}}}}}Sub|{{{1}}}|{{{3}}}}}<!-- if request a version, transmit it to : Db/Version -->
 
|Unknow "{{{3}}}" : Item(table), CtrlBy(table), Ctrling(table), Shop(InShop+Price), Price, Desc, BlockResourceType, FactoryBakeTime, Chamber(table), Volume, InRecipe, MainCtrl, SupportCtrl, EffectCtrl, ExpAbsorb}}<!--
 
|Unknow "{{{3}}}" : Item(table), CtrlBy(table), Ctrling(table), Shop(InShop+Price), Price, Desc, BlockResourceType, FactoryBakeTime, Chamber(table), Volume, InRecipe, MainCtrl, SupportCtrl, EffectCtrl, ExpAbsorb}}<!--
 
-->| Db must get a type with version}}
 
-->| Db must get a type with version}}
 
|{{#switch:{{{2|}}}
 
|{{#switch:{{{2|}}}
|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 -->
+
|Item|CtrlBy|Ctrling|Price|Desc|BlockResourceType|FactoryBakeTime|Chamber|Volume|InRecipe|MainCtrl|SupportCtrl|EffectCtrl|ExpAbsorb={{Db/{{Db/Version}}Sub|{{{1}}}|{{{2}}}}}<!-- if request a version, transmit it to : Db/Version -->
 
|Unknow "{{{2}}}" : Item(table), CtrlBy(table), Ctrling(table), Shop(InShop+Price), Price, Desc, BlockResourceType, FactoryBakeTime, Chamber(table), Volume, InRecipe, MainCtrl, SupportCtrl, EffectCtrl, ExpAbsorb}}<!--
 
|Unknow "{{{2}}}" : Item(table), CtrlBy(table), Ctrling(table), Shop(InShop+Price), Price, Desc, BlockResourceType, FactoryBakeTime, Chamber(table), Volume, InRecipe, MainCtrl, SupportCtrl, EffectCtrl, ExpAbsorb}}<!--
 
-->| No request DbSub}}| No request DbSub}}
 
-->| No request DbSub}}| No request DbSub}}

Revision as of 21:29, 12 May 2018

Unknow "{{{2}}}" : Item(table), CtrlBy(table), Ctrling(table), Shop(InShop+Price), Price, Desc, BlockResourceType, FactoryBakeTime, Chamber(table), Volume, InRecipe, MainCtrl, SupportCtrl, EffectCtrl, ExpAbsorb| No request DbSub}}