Difference between revisions of "Template:DbParser2"
From StarMade Wiki
m |
m |
||
Line 1: | Line 1: | ||
{{#if:{{{1|}}}|{{#switch:{{padleft:|1|{{{1}}}}} <!-- Verify if version is requested by ~, then shift all parameters numbers --> | {{#if:{{{1|}}}|{{#switch:{{padleft:|1|{{{1}}}}} <!-- Verify if version is requested by ~, then shift all parameters numbers --> | ||
− | |~ ={{#if:{{{ | + | |~ ={{#if:{{{3|}}}|<!-- |
− | -->{{#switch:{{{ | + | -->{{#switch:{{{3}}}<!-- |
=========== Main Database ============= | =========== Main Database ============= | ||
--------- Rename some database type name --> | --------- Rename some database type name --> | ||
Line 26: | Line 26: | ||
--------- Default for other Main Db value --> | --------- Default for other Main Db value --> | ||
|Item|CtrlBy|Ctrling|Price|Desc|BlockResourceType|Chamber|Volume|InRecipe = {{DbSub|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}}} | |Item|CtrlBy|Ctrling|Price|Desc|BlockResourceType|Chamber|Volume|InRecipe = {{DbSub|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}}} | ||
− | |Unknow {{{ | + | |Unknow {{{3}}} : link, Id, Factory, Animated, Armor, Ahp, Shp, Transparency, InShop, ReactorHp, Mass, Hp, Heat, Kinetic,EM, cat, cat2, cat3, cat4, Placable, BlockStyle, Light, Depreciated, LightColor, Item(table), CtrlBy(table), Ctrling(table), Shop(InShop+Price), Price, Desc, BlockResourceType, FactoryBakeTime, Chamber(table), Volume, InRecipe, MainCtrl, SupportCtrl, EffectCtrl, ExpAbsorb |
}}}}<!-- | }}}}<!-- | ||
-->|{{#if:{{{2|}}}|<!-- Request without "~" ==> default version | -->|{{#if:{{{2|}}}|<!-- Request without "~" ==> default version |