Difference between revisions of "Template:Blockbox"

From StarMade Wiki
m
m
Line 6: Line 6:
 
|datastyle      = text-align: left; padding: 0.1em 0.5em;
 
|datastyle      = text-align: left; padding: 0.1em 0.5em;
 
|imagestyle  = text-align: center; padding: 0em; height: 1.8em;
 
|imagestyle  = text-align: center; padding: 0em; height: 1.8em;
|title                =  {{ib|{{{1}}}|name}}
+
|title                =  {{DbParser|{{{1}}}|name}}
|titlelink        =  {{ib|{{{1}}}|link}}
+
|titlelink        =  {{DbParser|{{{1}}}|link}}
|imagelink          =  {{ib|{{{1}}}|link}}  <!-- ext is set in layout : png -->
+
|imagelink          =  {{DbParser|{{{1}}}|link}}  <!-- ext is set in layout : png -->
 
|imageoption= 150px
 
|imageoption= 150px
 
|caption        =  
 
|caption        =  
 
|captionstyle=  
 
|captionstyle=  
 
|label1  = Hit Points
 
|label1  = Hit Points
|data1    ={{ib|{{{1}}}|Hp}}
+
|data1    ={{DbParser|{{{1}}}|Hp}}
 
|label2  = Armor
 
|label2  = Armor
|data2    = {{#ifeq:{{ib|{{{1}}}|Armor}}|0.0|No|{{ib|{{{1}}}|Armor}}}}
+
|data2    = {{DbParser|{{{1}}}|Armor}}
 
|label3  = Ahp
 
|label3  = Ahp
|data3    = {{#ifeq:{{ib|{{{1}}}|ArmorHPContribution}}|0| ---- |{{ib|{{{1}}}|ArmorHPContribution}}}}
+
|data3    = {{DbParser|{{{1}}}|ArmorHPContribution}}
 
|label4  = Shp
 
|label4  = Shp
|data4    = {{#ifeq:{{ib|{{{1}}}|SHP}}|0|No|{{ib|{{{1}}}|SHP}}}}
+
|data4    = {{DbParser|{{{1}}}|SHP}}
 
|label5  = Rhp
 
|label5  = Rhp
|data5    = {{#ifeq:{{ib|{{{1}}}|ReactorHp}}|0| ---- |{{ib|{{{1}}}|ReactorHp}}}}
+
|data5    = {{DbParser|{{{1}}}|ReactorHp}}
 
|label6  = Mass
 
|label6  = Mass
|data6    = {{ib|{{{1}}}|Mass}}
+
|data6    = {{DbParser|{{{1}}}|Mass}}
 
|label7  = Luminosity
 
|label7  = Luminosity
|data7    = {{#ifeq:{{ib|{{{1}}}|Light}}|true|Yes|No}}
+
|data7    = {{DbParser|{{{1}}}|Light}}
 
|label8  = Transparency
 
|label8  = Transparency
|data8    = {{#ifeq:{{ib|{{{1}}}|Transparency}}|true|Yes|No}}
+
|data8    = {{{DbParser|{{{1}}}|Transparency}}
 
|label9  = Make it with
 
|label9  = Make it with
|data9    = {{#Ifeq:{{ib|{{{1}}}|Factory}}|3|{{blocklink|Basic Factory}}|{{#Ifeq:{{ib|{{{1}}}|Factory}}|4|{{blocklink|Standard Factory}}|{{#Ifeq:{{ib|{{{1}}}|Factory}}|5|{{blocklink|Advanced Factory}}|n/a}}}}}}
+
|data9    = {{DbParser|{{{1}}}|Factory}}
 
|label10  = Traded
 
|label10  = Traded
|data10    = {{#ifeq:{{ib|{{{1}}}|InShop}}|true|Yes|No}}
+
|data10    = {{DbParser|{{{1}}}|InShop}}
 
|label11  = Category
 
|label11  = Category
|data11    = {{ib|{{{1}}}|cat}}
+
|data11    = {{DbParser|{{{1}}}|cat}}
 
|label12  = SubCateg.
 
|label12  = SubCateg.
|data12    = {{ib|{{{1}}}|cat2}}
+
|data12    = {{DbParser|{{{1}}}|cat2}}
 
|label13  = 2nd SubCat
 
|label13  = 2nd SubCat
|data13    = {{ib|{{{1}}}|cat3}}
+
|data13    = {{DbParser|{{{1}}}|cat3}}
 
}}<noinclude>{{Documentation}}</noinclude>
 
}}<noinclude>{{Documentation}}</noinclude>

Revision as of 04:18, 11 May 2018

AhpUnknow ArmorHPContribution : 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
LuminosityNo
Transparency{No
Make it withn/a
TradedNo

Template:Documentation