Difference between revisions of "Template:DbSub"
From StarMade Wiki
m |
m |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{#if:{{{ | + | {{#if:{{{1|}}}|{{#switch:{{padleft:|1|{{{1}}}}} <!-- Verify if version is requested by ~, then shift all parameters numbers --> |
|~ ={{#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|{{{ | + | |Item|CtrlBy|Ctrling|Price|Desc|BlockResourceType|FactoryBakeTime|Chamber|Volume|InRecipe|MainCtrl|textureId|SupportCtrl|EffectCtrl|ExpAbsorb={{Db/{{Db/Version|{{{1}}}}}Sub|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}}}<!-- 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),textureId(table), Volume, InRecipe, MainCtrl, SupportCtrl, EffectCtrl, ExpAbsorb}}<!-- |
− | -->| | + | -->| DbSub must get a type with version}} |
|{{#switch:{{{2|}}} | |{{#switch:{{{2|}}} | ||
− | |Item|CtrlBy|Ctrling|Price|Desc|BlockResourceType | + | |Item|CtrlBy|Ctrling|Price|Desc|BlockResourceType|Chamber|Volume|InRecipe|MainCtrl|SupportCtrl|textureId|EffectCtrl|ExpAbsorb={{Db/{{Db/Version}}Sub|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}}} |
− | |Unknow "{{{2}}}" : Item(table), CtrlBy(table), Ctrling(table), Shop(InShop+Price), Price, Desc, BlockResourceType, | + | |Unknow "{{{2}}}" : Item(table), CtrlBy(table), Ctrling(table), Shop(InShop+Price), Price, Desc, BlockResourceType, Chamber(table), textureId(table), Volume, InRecipe, MainCtrl, SupportCtrl, EffectCtrl, ExpAbsorb}} }}| No request to DbSub}}<!-- |
− | --> | + | --><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 21:41, 27 July 2018
No request to DbSub
see Template:Db/doc to more information
The above documentation is transcluded from Template:DbSub/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |