Difference between revisions of "Template:Blockbox"

From StarMade Wiki
m
m
 
(238 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{blockboxlayout <!--
+
{{#switch:{{padleft:|1|{{{2}}}}}
-->{{#switch:{{{1}}}<!--
+
|~={{#switch:{{{1}}}<!--
============ 1 : Tiny box ===========
+
============ 0 : Tiny box ===========
-->|1=&#124;bodystyle    = width: 12em; text-align: left; font-size: 88%; line-height: 1.5em; float: right; <!--
+
-->|0={{blockboxlayout <!--
-->&#124;titlestyle      = text-align: center; font-size: 100%; font-weight: bold;line-height: 0.9em; height: 2em; padding: 1px; <!--
+
-->|bodystyle    = width: 11em; text-align: left; font-size: 88%; line-height: 0em; float: {{#if:{{{3|}}}|{{{3}}}|right}}; <!--
-->&#124;headerstyle = text-align: center; padding: 0em; height: 1.8em; <!--
+
-->|titlestyle      = text-align: center; font-size: 100%; font-weight: bold;line-height: 0.9em; height: 2em; padding: 1px; <!--
-->&#124;labelstyle     = text-align: right; font-weight: bold; vertical-align: top; padding: 0.1em 0.5em; <!--
+
-->|headerstyle = text-align: right; padding: 0em; height: 0.5em; <!--
-->&#124;datastyle      = text-align: left; padding: 0.1em 0.5em; <!--
+
-->|unikstyle     =   Background-color:#191f29; color:#0088CC;border:1px; border-style: outset; border-color:DimGrey; display:inline; height: 0.1em; margin : 1px 3px 1px 3px, <!--
-->&#124;imagestyle  = text-align: center; padding: 0em; height: 1.8em; <!--
+
-->|datastyle      = text-align: right; padding: 0em 0.4em;<!--
-->&#124;imageoption= 100px <!--
+
-->|imagestyle  = text-align: center; padding: 0em; height: 0em;<!--
-->&#124;title                =  {{DbParser|{{{2}}}|name}} <!--
+
-->|imageoption=<!--
-->&#124;titlelink        =  {{DbParser|{{{2}}}|link}} <!--
+
-->|title                =  {{DbParser|{{{2}}}|{{{3}}}|name}} <!--
-->&#124;imagelink          =  {{DbParser|{{{2}}}|link}} <!-- ext is set in layout : png
+
-->|titlelink        =  {{DbParser|{{{2}}}|{{{3}}}|link}} <!--
-->&#124;label1  = Id <!--
+
-->|overimage          = {{#ifeq:{{{5|}}}|3d|{{#switch:{{Db|{{{2|}}}|{{{3}}}|BlockStyle}}|0|6|bottom: -100px; right: -25px;}}|bottom: 10px; right: 5px;}}"><b> Id : </b>{{DbParser|{{{2}}}|{{{3}}}|Id}} <!-- ========  text over image : "end of style tag"    ">  "TEXT"
-->&#124;data1    = {{DbParser|{{{2}}}|Id}} <!--
+
-->|imagelink          =<div style="{{#ifeq:{{{5|}}}|3d|{{#switch:{{Db|{{{2|}}}|{{{3}}}|BlockStyle}}|0|6|opacity:0;">}}|">}}{{DbParser|{{{2}}}|{{{3}}}|image|140}}</div><!--
======= 0 : full box =================
+
-->|3dimage          = {{#ifeq:{{{5|}}}|3d|{{#switch:{{Db|{{{2|}}}|{{{3}}}|BlockStyle}}|0|6|  top: 30px; left: 30px;">{{DbSub|{{{2}}}|{{{3}}}|textureId|0}}}}}}<!--
-->|0=&#124;bodystyle    = width: 19em; text-align: left; font-size: 88%; line-height: 1.5em; float: right;<!--
+
|data0    = <b> ID : </b>{{DbParser|{{{2}}}|{{{3}}}|Id}} -->}}<!--
-->&#124;titlestyle      = text-align: center; font-size: 125%; font-weight: bold; padding: 5px;<!--
+
======= 1 legacy (old) box ==========
-->&#124;headerstyle = text-align: center; padding: 0em; height: 1.8em;<!--
+
-->|1={{blockboxlayout <!--
-->&#124;labelstyle    = font-weight: bold; text-align: right; vertical-align: top; padding: 0.1em 0.5em;<!--
+
-->|bodystyle    = width: 19em; text-align: left; font-size: 88%; line-height: 1.5em; float: {{#if:{{{4|}}}|{{{4}}}|right}};<!--
-->&#124;datastyle      = text-align: left; padding: 0.1em 0.5em;<!--
+
-->|titlestyle      = text-align: center; font-size: 125%; font-weight: bold; padding: 5px;<!--
-->&#124;imagestyle  = text-align: center; padding: 0em; height: 1.8em;<!--
+
-->|headerstyle = text-align: center; padding: 0em; height: 1.8em;<!--
-->&#124;title                =  {{DbParser|{{{2}}}|name}}<!--
+
-->|labelstyle    = text-align: right; font-weight: bold; vertical-align: top; padding: 0.1em 0.5em; <!--
-->&#124;titlelink        =  {{DbParser|{{{2}}}|link}}<!--
+
-->|datastyle      = text-align: left; padding: 0em 2em; <!--
-->&#124;imagelink          = {{DbParser|{{{2}}}|link}}<!-- ext is set in layout : png
+
-->|chessstyle      = background-color:#18181F; <!--
-->&#124;imageoption= 150px<!--
+
-->|imagestyle  = text-align: center; padding: 0em; height: 1.8em;<!--
-->&#124;caption        = <!--
+
-->|title                = {{DbParser|{{{2}}}|{{{3}}}|name}}<!--
-->&#124;captionstyle= <!--
+
-->|titlelink        = {{DbParser|{{{2}}}|{{{3}}}|link}}<!--
-->{{#Ifeq:{{DbParser|{{{2}}}|Depreciated}}|false|<!--
+
-->|imagelink          =<div style="{{#ifeq:{{{5|}}}|3d|{{#switch:{{Db|{{{2|}}}|{{{3}}}|BlockStyle}}|0|6|opacity:0;">}}|">}}{{DbParser|{{{2}}}|{{{3}}}|image}}</div><!--
-->&#124;label1  =<font color="green">Block </font><!--
+
-->|3dimage          ={{#ifeq:{{{5|}}}|3d|{{#switch:{{Db|{{{2|}}}|{{{3}}}|BlockStyle}}|0|6|  top: 35px; left: 80px;">{{DbSub|{{{2}}}|{{{3}}}|textureId|0}}}}}}<!--
-->&#124;data1  =<font color="green">Up to date </font>|<!--
+
-->|overimage    ={{#ifeq:{{DbParser|{{{2}}}|{{{3}}}|Deprecated}}|true|-ms-transform: rotate(45deg); -webkit-transform: rotate(45deg); transform: rotate(45deg);color:DarkRed; {{#ifeq:{{{5|}}}|3d|{{#switch:{{Db|{{{2|}}}|{{{3}}}|BlockStyle}}|0|6=top:30px;left:-30px;}}|top: 60px; left: 50px;}} font-weight:bold; text-align:right; opacity: 0.7; font-size: 15px;">====OBSOLETE====}}<!--
-->&#124;label1  =<font color="red">Block</font><!--
+
-->|imageoption= 150px<!--
-->&#124;data1  =<font color="red">obsolete ! </font>}}<!--
+
-->|caption        = <!--
-->&#124;label2  = Hp<!--
+
-->|captionstyle= <!-- :::old deprecated display,  see above overimage::::
-->&#124;data2    ={{DbParser|{{{2}}}|Hp}}<!--
+
-->|label1  = <font style="color:DarkRed;">Version</font> <!--{{#ifeq:{{DbParser|{{{2}}}|{{{3}}}|Deprecated}}|false|<font style="color:DarkGreen;">Block </font>|<font style="color:DarkRed;">Block</font>}}
-->&#124;label3  = Ahp<!--
+
-->|data1  = <font style="color:DarkRed;">{{{2}}}</font><!-- {{#ifeq:{{DbParser|{{{2}}}|{{{3}}}|Deprecated}}|false|<font style="color:DarkGreen;"> In game </font>|<font style="color:DarkRed;">obsolete !</font>}}
-->&#124;data3    ={{DbParser|{{{2}}}|Ahp}}<!--
+
-->|label2   = Hit Points<!--
-->&#124;label4  = Shp<!--
+
-->|data2   ={{DbParser|{{{2}}}|{{{3}}}|Hp}}<!--
-->&#124;data4    ={{DbParser|{{{2}}}|Shp}}<!--
+
-->|label3   = Armor<!--
-->&#124;label5  = ReactorHp<!--
+
-->|data3   = {{DbParser|{{{2}}}|{{{3}}}|Armor}}<!--
-->&#124;data5    ={{DbParser|{{{2}}}|ReactorHp}}<!--
+
-->|label4   = Ahp<!--
-->&#124;label6  = Armor<!--
+
-->|data4   = {{DbParser|{{{2}}}|{{{3}}}|Ahp}}<!--
-->&#124;data6    ={{DbParser|{{{2}}}|Armor}}<!--
+
-->|label5   = Shp<!--
-->&#124;label7  = Mass<!--
+
-->|data5   = {{DbParser|{{{2}}}|{{{3}}}|Shp}}<!--
-->&#124;data7    ={{DbParser|{{{2}}}|Mass}}<!--
+
-->|label6   = Mass<!--
-->&#124;label8  = Volume<!--
+
-->|data6   = {{DbParser|{{{2}}}|{{{3}}}|Mass}}<!--
-->&#124;data8    ={{DbParser|{{{2}}}|Volume}}<!--
+
-->|label7   = Heat Armor<!--
-->&#124;label9  = Light<!--
+
-->|data7   = {{DbParser|{{{2}}}|{{{3}}}|Heat}}<!--
-->&#124;data9    ={{DbParser|{{{2}}}|Light}}<!--  
+
-->|label8   = Kinetic Armor<!--
-->&#124;label10  = LightColor<!--
+
-->|data8   = {{DbParser|{{{2}}}|{{{3}}}|Kinetic}}<!--
-->&#124;data10    ={{DbParser|{{{2}}}|LightColor}}<!--
+
-->|label9   = EM Armor<!--
-->&#124;label11  = Transparency<!--
+
-->|data9   = {{DbParser|{{{2}}}|{{{3}}}|EM}}<!--
-->&#124;data11    ={{DbParser|{{{2}}}|Transparency}}<!--
+
-->|label10   = Luminosity<!--
-->&#124;label12  = Animated<!--
+
-->|data10   = {{DbParser|{{{2}}}|{{{3}}}|Light}}<!--
-->&#124;data12    ={{DbParser|{{{2}}}|Animated}}<!--
+
-->|label11   = Id<!--
-->&#124;label13  = Id<!--
+
-->|data11   = {{DbParser|{{{2}}}|{{{3}}}|Id}}}}<!--
-->&#124;data13    ={{DbParser|{{{2}}}|Id}}<!--
+
======= 2 : full box =================
-->&#124;label14  = Make with<!--
+
-->|2={{blockboxlayout <!--
-->&#124;data14    ={{DbParser|{{{2}}}|Factory}}<!--
+
-->|bodystyle    = width: 19em; text-align: left; font-size: 88%; line-height: 1.5em; float: {{#if:{{{4|}}}|{{{4}}}|right}};<!--
-->&#124;label15   = Time to make<!--
+
-->|titlestyle      = text-align: center; font-size: 125%; font-weight: bold; padding: 5px;<!--
-->&#124;data15   ={{DbParser|{{{2}}}|FactoryBakeTime}}<!--
+
-->|headerstyle = text-align: center; padding: 0em; height: 1.8em;<!--
-->&#124;label16   = Item<!--
+
-->|labelstyle    = text-align: right; font-weight: bold; vertical-align: top; padding: 0.1em 0.5em; <!--
-->&#124;data16   ={{DbParser|{{{2}}}|Item}}<!--
+
-->|datastyle      = text-align: left; padding: 0.1em 0.5em; <!--
-->&#124;label17   = Placable<!--
+
-->|chessstyle      = background-color:#18181F; <!--
-->&#124;data17   ={{DbParser|{{{2}}}|Placable}}<!--
+
-->|imagestyle = text-align: center; padding: 0em; height: 1.8em;<!--
-->&#124;label18   = Explos. Abs.<!--
+
-->|title                = {{DbParser|{{{2}}}|{{{3}}}|name}}<!--
-->&#124;data18   ={{DbParser|{{{2}}}|ExpAbsorb}}<!--
+
-->|titlelink        =  {{DbParser|{{{2}}}|{{{3}}}|link}}<!--
-->{{#ifeq:{{DbParser|{{{2}}}|InShop}}|yes|<!--
+
-->|imagelink          =<div style="{{#ifeq:{{{5|}}}|3d|{{#switch:{{Db|{{{2|}}}|{{{3}}}|BlockStyle}}|0|6|opacity:0;">}}|">}}{{DbParser|{{{2}}}|{{{3}}}|image}}</div><!--
-->&#124;label19   = Trade Price<!--
+
-->|3dimage          ={{#ifeq:{{{5|}}}|3d|{{#switch:{{Db|{{{2|}}}|{{{3}}}|BlockStyle}}|0|6| top: 35px; left: 80px;">{{DbSub|{{{2}}}|{{{3}}}|textureId|0}}}}}}<!--
-->&#124;data19   ={{DbParser|{{{2}}}|Price}}|<!--
+
-->|overimage    ={{#ifeq:{{DbParser|{{{2}}}|{{{3}}}|Deprecated}}|true|-ms-transform: rotate(45deg); -webkit-transform: rotate(45deg); transform: rotate(45deg);color:DarkRed; top: 60px; left: 50px; font-weight:bold; text-align:right; opacity: 0.7; font-size: 15px;">BLOCK OBSOLETE !}}<!--
-->&#124;label19   = Traded<!--
+
-->|imageoption= 150px<!--
-->&#124;data19   = No}}<!--
+
-->|caption        = <!--
-->&#124;label20   = cat<!--
+
-->|captionstyle= <!-- :::old deprecated display,  see above overimage::::
-->&#124;data20   ={{DbParser|{{{2}}}|cat}}<!--
+
-->|label1   =<!-- {{#ifeq:{{DbParser|{{{2}}}|{{{3}}}|Deprecated}}|false|<font style="color:DarkGreen;">Block </font>|<font style="color:DarkRed;">Block</font>}}
-->&#124;label21   = cat2<!--
+
-->|data1   = <!-- {{#ifeq:{{DbParser|{{{2}}}|{{{3}}}|Deprecated}}|false|<font style="color:DarkGreen;"> In game </font>|<font style="color:DarkRed;">obsolete ! </font>}}
-->&#124;data21   ={{DbParser|{{{2}}}|cat2}}<!--
+
-->|label2  = Hp<!--
-->&#124;label22   = cat3<!--
+
-->|data2   ={{DbParser|{{{2}}}|{{{3}}}|Hp}}<!--
-->&#124;data22   ={{DbParser|{{{2}}}|cat3}}<!--
+
-->|label3   = Ahp<!--
-->&#124;label23   = cat4<!--
+
-->|data3   ={{DbParser|{{{2}}}|{{{3}}}|Ahp}}<!--
-->&#124;data23   ={{DbParser|{{{2}}}|cat4}}<!--
+
-->|label4   = Shp<!--
-->&#124;label24  = Controlled By<!--
+
-->|data4   ={{DbParser|{{{2}}}|{{{3}}}|Shp}}<!--
-->&#124;data24    ={{DbParser|{{{2}}}|CtrlBy}}<!--
+
-->|label5   = ReactorHp<!--
-->&#124;label25  = Controlling<!--
+
-->|data5   ={{DbParser|{{{2}}}|{{{3}}}|ReactorHp}}<!--
-->&#124;data25    ={{DbParser|{{{2}}}|Ctrling}}<!--
+
-->|label6   = Armor<!--
-->&#124;label26  = Main Ctrler<!--
+
-->|data6   ={{DbParser|{{{2}}}|{{{3}}}|Armor}}<!--
-->&#124;data26    ={{DbParser|{{{2}}}|MainCtrl}}<!--
+
-->|label7  = Mass<!--
-->&#124;label27  = Support Ctrler<!--
+
-->|data7    ={{DbParser|{{{2}}}|{{{3}}}|Mass}}<!--
-->&#124;data27    ={{DbParser|{{{2}}}|SupportCtrl}}<!--
+
-->|label8  = Volume<!--
-->&#124;label28  = Effect Ctrler<!--
+
-->|data8    ={{DbParser|{{{2}}}|{{{3}}}|Volume}}<!--
-->&#124;data28    ={{DbParser|{{{2}}}|EffectCtrl}}<!--
+
-->|label9  = Light<!--
  ======= otherwise legacy (old) box ==========
+
-->|data9    ={{DbParser|{{{2}}}|{{{3}}}|Light}}<!--
-->|&#124;bodystyle    = width: 19em; text-align: left; font-size: 88%; line-height: 1.5em; float: right;<!--
+
-->|label10  = LightColor<!--
-->&#124;titlestyle      = text-align: center; font-size: 125%; font-weight: bold; padding: 5px;<!--
+
-->|data10    ={{DbParser|{{{2}}}|{{{3}}}|LightColor}}<!--
-->&#124;headerstyle = text-align: center; padding: 0em; height: 1.8em;<!--
+
-->|label11  = Transparency<!--
-->&#124;labelstyle    = font-weight: bold; text-align: right; vertical-align: top; padding: 0.1em 0.5em;<!--
+
-->|data11    ={{DbParser|{{{2}}}|{{{3}}}|Transparency}}<!--
-->&#124;datastyle      = text-align: left; padding: 0.1em 0.5em;<!--
+
-->|label12  = Animated<!--
-->&#124;imagestyle  = text-align: center; padding: 0em; height: 1.8em;<!--
+
-->|data12    ={{DbParser|{{{2}}}|{{{3}}}|Animated}}<!--
-->&#124;title                =  {{DbParser|{{{1}}}|name}}<!--
+
-->|label13  = Id<!--
-->&#124;titlelink        =  {{DbParser|{{{1}}}|link}}<!--
+
-->|data13    ={{DbParser|{{{2}}}|{{{3}}}|Id}}<!--
-->&#124;imagelink          =  {{DbParser|{{{1}}}|link}}   <!-- ext is set in layout : png
+
-->|label14  = Make with<!--
-->&#124;imageoption= 150px<!--
+
-->|data14    =[[File:{{DbParser|{{DbParser|{{{2}}}|{{{3}}}|Factory}}|link}}.png|20px|link={{DbParser|{{DbParser|{{{2}}}|{{{3}}}|Factory}}|link}}]][[{{DbParser|{{DbParser|{{{2}}}|{{{3}}}|Factory}}|link}}|{{DbParser|{{DbParser|{{{2}}}|{{{3}}}|Factory}}|link}}]] <!--
-->&#124;caption        = <!--
+
-->|label15  = produced in<!--
-->&#124;captionstyle= <!--
+
-->|data15    ={{DbParser|{{{2}}}|{{{3}}}|FactoryBakeTime}}sec<!--
-->{{#Ifeq:{{DbParser|{{{1}}}|Depreciated}}|false|<!--
+
-->|label16  =Heat Armor<!--
-->&#124;label1  =<font color="green">Block </font><!--
+
-->|data16    ={{DbParser|{{{2}}}|{{{3}}}|Heat}}<!--
-->&#124;data1   =<font color="green">Up to date </font>|<!--
+
-->|label17  = EM Armor<!--
-->&#124;label1  =<font color="red">Block</font><!--
+
-->|data17    ={{DbParser|{{{2}}}|{{{3}}}|EM}}<!--
-->&#124;data1  =<font color="red">obsolete ! </font>}}<!--
+
-->|label18  = Kinetic Armor<!--
-->&#124;label2   = Hit Points<!--
+
-->|data18    ={{DbParser|{{{2}}}|{{{3}}}|Kinetic}}<!--
-->&#124;data2    ={{DbParser|{{{1}}}|Hp}}<!--
+
-->|label19  = Traded<!--
-->&#124;label3  = Armor<!--
+
-->|data19    ={{DbParser|{{{2}}}|{{{3}}}|Shop}}<!--
-->&#124;data3   = {{DbParser|{{{1}}}|Armor}}<!--
+
-->|label20  = cat<!--
-->&#124;label4   = Ahp<!--
+
-->|data20    ={{#if:{{DbParser|{{{2}}}|{{{3}}}|cat}}|[[:Category:{{DbParser|{{{2}}}|{{{3}}}|cat}}]]}}<!--
-->&#124;data4   = {{DbParser|{{{1}}}|Ahp}}<!--
+
-->|label21  = cat2<!--
-->&#124;label5   = Shp<!--
+
-->|data21    ={{#if:{{DbParser|{{{2}}}|{{{3}}}|cat2}}|[[:Category:{{DbParser|{{{2}}}|{{{3}}}|cat2}}]]}}<!--
-->&#124;data5   = {{DbParser|{{{1}}}|Shp}}<!--
+
-->|label22  = cat3<!--
-->&#124;label6   = Mass<!--
+
-->|data22    ={{#if:{{DbParser|{{{2}}}|{{{3}}}|cat3}}|[[:Category:{{DbParser|{{{2}}}|{{{3}}}|cat3}}]]}}<!--
-->&#124;data6   = {{DbParser|{{{1}}}|Mass}}<!--
+
-->|label23  = cat4<!--
-->&#124;label7   = Luminosity<!--
+
-->|data23    ={{#if:{{DbParser|{{{2}}}|{{{3}}}|cat4}}|[[:Category:{{DbParser|{{{2}}}|{{{3}}}|cat4}}]]}}<!--
-->&#124;data7   = {{DbParser|{{{1}}}|Light}}<!--
+
-->|label24  = Control<!--
-->&#124;label8  = Id<!--
+
-->|data24    ={{DbSub|{{{2}}}|{{{3}}}|Ctrling|2}}{{#ifeq:{{DbSub|{{{2}}}|{{{3}}}|Ctrling}}|Bad format request|<br/>{{ib|{{{2}}}{{{3}}}|}}<br/>|{{#ifeq:{{DbSub|{{{2}}}|{{{3}}}|Ctrlby}}|Bad format request|<br/>{{ib|{{{2}}}{{{3}}}|}}<br/>}}}}{{DbSub|{{{2}}}|{{{3}}}|CtrlBy|2}}<!--
-->&#124;data8    = {{DbParser|{{{1}}}|Id}}<!--
+
--><!--|label25  = Item
-->}}<!--
+
--><!--|data25    ={{DbParser|{{{2}}}|{{{3}}}|Item}}
-->}}<!--
+
-->|label26  = Placable<!--
 +
-->|data26    ={{DbParser|{{{2}}}|{{{3}}}|Placable}}<!--
 +
-->|label27  = Explos. Abs.<!--
 +
-->|data27    ={{DbParser|{{{2}}}|{{{3}}}|ExpAbsorb}}<!--
 +
-->|label28  = Main Ctrler<!--
 +
-->|data28    ={{DbParser|{{{2}}}|{{{3}}}|MainCtrl}}<!--
 +
-->|label29  = Support Ctrler<!--
 +
-->|data29    ={{DbParser|{{{2}}}|{{{3}}}|SupportCtrl}}<!--
 +
-->|label30  = Effect Ctrler<!--
 +
-->|data30    ={{DbParser|{{{2}}}|{{{3}}}|EffectCtrl}}}}
 +
}} <!-- ===============================================================  no version requested ====================================  -->
 +
|{{#switch:{{{1}}}<!--
 +
============ 0 : Tiny box ===========
 +
-->|0={{blockboxlayout <!--
 +
-->|bodystyle    = width: 11em; text-align: left; font-size: 88%; line-height: 0em; float: {{#if:{{{3|}}}|{{{3}}}|right}}; <!--
 +
-->|titlestyle      = text-align: center; font-size: 100%; font-weight: bold;line-height: 0.9em; height: 2em; padding: 1px; <!--
 +
-->|headerstyle = text-align: right; padding: 0em; height: 0.5em; <!--
 +
-->|unikstyle    =  Background-color:#191f29; color:#0088CC;border:1px; border-style: outset; border-color:DimGrey; display:inline; height: 0.1em; margin : 1px 3px 1px 3px, <!--
 +
-->|datastyle      = text-align: right; padding: 0em 0.4em;<!--
 +
-->|imagestyle  = text-align: center; padding: 0em; height: 0em;<!--
 +
-->|imageoption=<!--
 +
-->|title                =  {{DbParser|{{{2}}}|name}} <!--
 +
-->|titlelink        =  {{DbParser|{{{2}}}|link}}  <!--
 +
-->|overimage          = {{#ifeq:{{{4|}}}|3d|{{#switch:{{Db|{{{2|}}}|BlockStyle}}|0|6|bottom: -100px; right: -25px;}}|bottom: 10px; right: 5px;}}"><b> Id : </b>{{DbParser|{{{2}}}|Id}} <!-- ========  text over image : "end of style tag"    ">  "TEXT"
 +
-->|imagelink          =<div style="{{#ifeq:{{{4|}}}|3d|{{#switch:{{Db|{{{2|}}}|BlockStyle}}|0|6|opacity:0;">}}|">}}{{DbParser|{{{2}}}|image|140}}</div><!--
 +
-->|3dimage          = {{#ifeq:{{{4|}}}|3d|{{#switch:{{Db|{{{2|}}}|BlockStyle}}|0|6|  top: 30px; left: 30px;">{{DbSub|{{{2}}}|textureId|0}}}}}}<!--
 +
|data0    = <b> ID : </b>{{DbParser|{{{2}}}|Id}} -->}}<!--
 +
======= 1 legacy (old) box ==========
 +
-->|1={{blockboxlayout <!--
 +
-->|bodystyle    = width: 19em; text-align: left; font-size: 88%; line-height: 1.5em; float: {{#if:{{{3|}}}|{{{3}}}|right}};<!--
 +
-->|titlestyle      = text-align: center; font-size: 125%; font-weight: bold; padding: 5px;<!--
 +
-->|headerstyle = text-align: center; padding: 0em; height: 1.8em;<!--
 +
-->|labelstyle    = text-align: right; font-weight: bold; vertical-align: top; padding: 0.1em 0.5em; <!--
 +
-->|datastyle      = text-align: left; padding: 0em 2em; <!--
 +
-->|chessstyle      = background-color:#18181F; <!--
 +
-->|imagestyle  = text-align: center; padding: 0em; height: 1.8em;<!--
 +
-->|title                =  {{DbParser|{{{2}}}|name}}<!--
 +
-->|titlelink        =  {{DbParser|{{{2}}}|link}}<!--
 +
-->|imagelink          =<div style="{{#ifeq:{{{4|}}}|3d|{{#switch:{{Db|{{{2|}}}|BlockStyle}}|0|6|opacity:0;">}}|">}}{{DbParser|{{{2}}}|image}}</div><!--
 +
-->|3dimage          ={{#ifeq:{{{4|}}}|3d|{{#switch:{{Db|{{{2|}}}|BlockStyle}}|0|6|  top: 35px; left: 80px;">{{DbSub|{{{2}}}|textureId|0}}}}}}<!--
 +
-->|overimage    ={{#ifeq:{{DbParser|{{{2}}}|Deprecated}}|true|-ms-transform: rotate(45deg); -webkit-transform: rotate(45deg); transform: rotate(45deg);color:DarkRed; {{#ifeq:{{{4|}}}|3d|{{#switch:{{Db|{{{2|}}}|BlockStyle}}|0|6=top:30px;left:-30px;}}|top: 60px; left: 50px;}} font-weight:bold; text-align:right; opacity: 0.7; font-size: 15px;">====OBSOLETE====}}<!--
 +
-->|imageoption= 150px<!--
 +
-->|caption        = <!--
 +
-->|captionstyle= <!-- :::old deprecated display,  see above overimage::::
 +
-->|label1  =<!--{{#ifeq:{{DbParser|{{{2}}}|Deprecated}}|false|<font style="color:DarkGreen;">Block </font>|<font style="color:DarkRed;">Block</font>}}
 +
-->|data1  =<!-- {{#ifeq:{{DbParser|{{{2}}}|Deprecated}}|false|<font style="color:DarkGreen;"> In game </font>|<font style="color:DarkRed;">obsolete !</font>}}
 +
-->|label2  = Hit Points<!--
 +
-->|data2    ={{DbParser|{{{2}}}|Hp}}<!--
 +
-->|label3  = Armor<!--
 +
-->|data3    = {{DbParser|{{{2}}}|Armor}}<!--
 +
-->|label4  = Ahp<!--
 +
-->|data4    = {{DbParser|{{{2}}}|Ahp}}<!--
 +
-->|label5  = Shp<!--
 +
-->|data5    = {{DbParser|{{{2}}}|Shp}}<!--
 +
-->|label6  = Mass<!--
 +
-->|data6    = {{DbParser|{{{2}}}|Mass}}<!--
 +
-->|label7  = Heat Armor<!--
 +
-->|data7    = {{DbParser|{{{2}}}|Heat}}<!--
 +
-->|label8  = Kinetic Armor<!--
 +
-->|data8    = {{DbParser|{{{2}}}|Kinetic}}<!--
 +
-->|label9  = EM Armor<!--
 +
-->|data9    = {{DbParser|{{{2}}}|EM}}<!--
 +
-->|label10  = Luminosity<!--
 +
-->|data10    = {{DbParser|{{{2}}}|Light}}<!--
 +
-->|label11  = Id<!--
 +
-->|data11    = {{DbParser|{{{2}}}|Id}}}}<!--
 +
======= 2 : full box =================
 +
-->|2={{blockboxlayout <!--
 +
-->|bodystyle    = width: 19em; text-align: left; font-size: 88%; line-height: 1.5em; float: {{#if:{{{3|}}}|{{{3}}}|right}};<!--
 +
-->|titlestyle      = text-align: center; font-size: 125%; font-weight: bold; padding: 5px;<!--
 +
-->|headerstyle = text-align: center; padding: 0em; height: 1.8em;<!--
 +
-->|labelstyle    = text-align: right; font-weight: bold; vertical-align: top; padding: 0.1em 0.5em; <!--
 +
-->|datastyle      = text-align: left; padding: 0.1em 0.5em; <!--
 +
-->|chessstyle      = background-color:#18181F; <!--
 +
-->|imagestyle  = text-align: center; padding: 0em; height: 1.8em;<!--
 +
-->|title                =  {{DbParser|{{{2}}}|name}}<!--
 +
-->|titlelink        =  {{DbParser|{{{2}}}|link}}<!--
 +
-->|imagelink          =<div style="{{#ifeq:{{{4|}}}|3d|{{#switch:{{Db|{{{2|}}}|BlockStyle}}|0|6|opacity:0;">}}|">}}{{DbParser|{{{2}}}|image}}</div><!--
 +
-->|3dimage          ={{#ifeq:{{{4|}}}|3d|{{#switch:{{Db|{{{2|}}}|BlockStyle}}|0|6| top: 35px; left: 80px;">{{DbSub|{{{2}}}|textureId|0}}}}}}<!--
 +
-->|overimage    ={{#ifeq:{{DbParser|{{{2}}}|Deprecated}}|true|-ms-transform: rotate(45deg); -webkit-transform: rotate(45deg); transform: rotate(45deg);color:DarkRed; top: 60px; left: 50px; font-weight:bold; text-align:right; opacity: 0.7; font-size: 15px;">BLOCK OBSOLETE !}}<!--
 +
-->|imageoption= 150px<!--
 +
-->|caption        = <!--
 +
-->|captionstyle= <!-- :::old deprecated display,  see above overimage::::
 +
-->|label1  =<!-- {{#ifeq:{{DbParser|{{{2}}}|Deprecated}}|false|<font style="color:DarkGreen;">Block </font>|<font style="color:DarkRed;">Block</font>}}
 +
-->|data1  = <!-- {{#ifeq:{{DbParser|{{{2}}}|Deprecated}}|false|<font style="color:DarkGreen;"> In game </font>|<font style="color:DarkRed;">obsolete ! </font>}}
 +
-->|label2  = Hp<!--
 +
-->|data2    ={{DbParser|{{{2}}}|Hp}}<!--
 +
-->|label3  = Ahp<!--
 +
-->|data3    ={{DbParser|{{{2}}}|Ahp}}<!--
 +
-->|label4  = Shp<!--
 +
-->|data4    ={{DbParser|{{{2}}}|Shp}}<!--
 +
-->|label5  = ReactorHp<!--
 +
-->|data5    ={{DbParser|{{{2}}}|ReactorHp}}<!--
 +
-->|label6  = Armor<!--
 +
-->|data6    ={{DbParser|{{{2}}}|Armor}}<!--
 +
-->|label7  = Mass<!--
 +
-->|data7    ={{DbParser|{{{2}}}|Mass}}<!--
 +
-->|label8  = Volume<!--
 +
-->|data8    ={{DbParser|{{{2}}}|Volume}}<!--
 +
-->|label9  = Light<!--
 +
-->|data9    ={{DbParser|{{{2}}}|Light}}<!--
 +
-->|label10  = LightColor<!--
 +
-->|data10    ={{DbParser|{{{2}}}|LightColor}}<!--
 +
-->|label11  = Transparency<!--
 +
-->|data11    ={{DbParser|{{{2}}}|Transparency}}<!--
 +
-->|label12  = Animated<!--
 +
-->|data12    ={{DbParser|{{{2}}}|Animated}}<!--
 +
-->|label13  = Id<!--
 +
-->|data13    ={{DbParser|{{{2}}}|Id}}<!--
 +
-->|label14  = Make with<!--
 +
-->|data14    =[[File:{{DbParser|{{DbParser|{{{2}}}|Factory}}|link}}.png|20px|link={{DbParser|{{DbParser|{{{2}}}|Factory}}|link}}]][[{{DbParser|{{DbParser|{{{2}}}|Factory}}|link}}|{{DbParser|{{DbParser|{{{2}}}|Factory}}|link}}]] <!--
 +
-->|label15  = produced in<!--
 +
-->|data15    ={{DbParser|{{{2}}}|FactoryBakeTime}}sec<!--
 +
-->|label16  =Heat Armor<!--
 +
-->|data16    ={{DbParser|{{{2}}}|Heat}}<!--
 +
-->|label17  = EM Armor<!--
 +
-->|data17    ={{DbParser|{{{2}}}|EM}}<!--
 +
-->|label18  = Kinetic Armor<!--
 +
-->|data18    ={{DbParser|{{{2}}}|Kinetic}}<!--
 +
-->|label19  = Traded<!--
 +
-->|data19    ={{DbParser|{{{2}}}|Shop}}<!--
 +
-->|label20  = cat<!--
 +
-->|data20    ={{#if:{{DbParser|{{{2}}}|cat}}|[[:Category:{{DbParser|{{{2}}}|cat}}]]}}<!--
 +
-->|label21  = cat2<!--
 +
-->|data21    ={{#if:{{DbParser|{{{2}}}|cat2}}|[[:Category:{{DbParser|{{{2}}}|cat2}}]]}}<!--
 +
-->|label22  = cat3<!--
 +
-->|data22    ={{#if:{{DbParser|{{{2}}}|cat3}}|[[:Category:{{DbParser|{{{2}}}|cat3}}]]}}<!--
 +
-->|label23  = cat4<!--
 +
-->|data23    ={{#if:{{DbParser|{{{2}}}|cat4}}|[[:Category:{{DbParser|{{{2}}}|cat4}}]]}}<!--
 +
-->|label24  = Control<!--
 +
-->|data24    ={{DbSub|{{{2}}}|Ctrling|2}}{{#ifeq:{{DbSub|{{{2}}}|Ctrling}}|Bad format request|<br/>{{ib|{{{2}}}}}<br/>|{{#ifeq:{{DbSub|{{{2}}}|Ctrlby}}|Bad format request|<br/>{{ib|{{{2}}}}}<br/>}}}}{{DbSub|{{{2}}}|CtrlBy|2}}<!--
 +
--><!--|label25  = Item
 +
--><!--|data25    ={{DbParser|{{{2}}}|Item}}
 +
-->|label26  = Placable<!--
 +
-->|data26    ={{DbParser|{{{2}}}|Placable}}<!--
 +
-->|label27  = Explos. Abs.<!--
 +
-->|data27    ={{DbParser|{{{2}}}|ExpAbsorb}}<!--
 +
-->|label28  = Main Ctrler<!--
 +
-->|data28    ={{DbParser|{{{2}}}|MainCtrl}}<!--
 +
-->|label29  = Support Ctrler<!--
 +
-->|data29    ={{DbParser|{{{2}}}|SupportCtrl}}<!--
 +
-->|label30  = Effect Ctrler<!--
 +
-->|data30    ={{DbParser|{{{2}}}|EffectCtrl}}}}
 +
}}}}<!--
 
--><noinclude>{{Documentation}}</noinclude>
 
--><noinclude>{{Documentation}}</noinclude>

Latest revision as of 22:12, 27 July 2018