Difference between revisions of "Template:Blockbox"

From StarMade Wiki
m
m
 
(242 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={{!}}bodystyle    = width: 12em; text-align: left; font-size: 88%; line-height: 1.5em; float: right;<!--
+
-->|0={{blockboxlayout <!--
-->{{!}}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}}; <!--
-->{{!}}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; <!--
-->{{!}}labelstyle     = text-align: right; font-weight: bold; vertical-align: top; padding: 0.1em 0.5em;<!--
+
-->|headerstyle = text-align: right; padding: 0em; height: 0.5em; <!--
-->{{!}}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, <!--
-->{{!}}imagestyle  = text-align: center; padding: 0em; height: 1.8em;<!--
+
-->|datastyle      = text-align: right; padding: 0em 0.4em;<!--
-->{{!}}imageoption= 100px<!--
+
-->|imagestyle  = text-align: center; padding: 0em; height: 0em;<!--
-->{{!}}title                =  {{DbParser|{{{2}}}|name}}<!--
+
-->|imageoption=<!--
-->{{!}}titlelink        =  {{DbParser|{{{2}}}|link}}<!--
+
-->|title                =  {{DbParser|{{{2}}}|{{{3}}}|name}} <!--
-->{{!}}imagelink          = {{DbParser|{{{2}}}|link}}  <!-- ext is set in layout : png
+
-->|titlelink        =  {{DbParser|{{{2}}}|{{{3}}}|link}} <!--
-->{{!}}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"
-->{{!}}data1    = {{DbParser|{{{1}}}|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={{!}}bodystyle    = width: 19em; text-align: left; font-size: 88%; line-height: 1.5em; float: right;<!--
+
|data0    = <b> ID : </b>{{DbParser|{{{2}}}|{{{3}}}|Id}} -->}}<!--
-->{{!}}titlestyle      = text-align: center; font-size: 125%; font-weight: bold; padding: 5px;<!--
+
======= 1 legacy (old) box ==========
-->{{!}}headerstyle = text-align: center; padding: 0em; height: 1.8em;<!--
+
-->|1={{blockboxlayout <!--
-->{{!}}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}};<!--
-->{{!}}datastyle      = text-align: left; padding: 0.1em 0.5em;<!--
+
-->|titlestyle      = text-align: center; font-size: 125%; font-weight: bold; padding: 5px;<!--
-->{{!}}imagestyle  = text-align: center; padding: 0em; height: 1.8em;<!--
+
-->|headerstyle = text-align: center; padding: 0em; height: 1.8em;<!--
-->{{!}}title                =  {{DbParser|{{{2}}}|name}}<!--
+
-->|labelstyle    = text-align: right; font-weight: bold; vertical-align: top; padding: 0.1em 0.5em; <!--
-->{{!}}titlelink        =  {{DbParser|{{{2}}}|link}}<!--
+
-->|datastyle      = text-align: left; padding: 0em 2em; <!--
-->{{!}}imagelink          = {{DbParser|{{{2}}}|link}}<!-- ext is set in layout : png
+
-->|chessstyle      = background-color:#18181F; <!--
-->{{!}}imageoption= 150px<!--
+
-->|imagestyle  = text-align: center; padding: 0em; height: 1.8em;<!--
-->{{!}}caption        = <!--
+
-->|title                =  {{DbParser|{{{2}}}|{{{3}}}|name}}<!--
-->{{!}}captionstyle= <!--
+
-->|titlelink        =  {{DbParser|{{{2}}}|{{{3}}}|link}}<!--
-->{{#Ifeq:{{DbParser|{{{1}}}|Depreciated}}|false|<!--
+
-->|imagelink          =<div style="{{#ifeq:{{{5|}}}|3d|{{#switch:{{Db|{{{2|}}}|{{{3}}}|BlockStyle}}|0|6|opacity:0;">}}|">}}{{DbParser|{{{2}}}|{{{3}}}|image}}</div><!--
-->{{!}}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}}}}}}<!--
-->{{!}}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====}}<!--
-->{{!}}label1  =<font color="red">Block</font><!--
+
-->|imageoption= 150px<!--
-->{{!}}data1  =<font color="red">obsolete ! </font>}}<!--
+
-->|caption        = <!--
-->{{!}}label2  = Hp<!--
+
-->|captionstyle= <!-- :::old deprecated display,  see above overimage::::
-->{{!}}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>}}
-->{{!}}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>}}
-->{{!}}data3    ={{DbParser|{{{2}}}|Ahp}}<!--
+
-->|label2   = Hit Points<!--
-->{{!}}label4  = Shp<!--
+
-->|data2   ={{DbParser|{{{2}}}|{{{3}}}|Hp}}<!--
-->{{!}}data4    ={{DbParser|{{{2}}}|Shp}}<!--
+
-->|label3   = Armor<!--
-->{{!}}label5  = ReactorHp<!--
+
-->|data3   = {{DbParser|{{{2}}}|{{{3}}}|Armor}}<!--
-->{{!}}data5    ={{DbParser|{{{2}}}|ReactorHp}}<!--
+
-->|label4   = Ahp<!--
-->{{!}}label6  = Armor<!--
+
-->|data4   = {{DbParser|{{{2}}}|{{{3}}}|Ahp}}<!--
-->{{!}}data6    ={{DbParser|{{{2}}}|Armor}}<!--
+
-->|label5   = Shp<!--
-->{{!}}label7  = Mass<!--
+
-->|data5   = {{DbParser|{{{2}}}|{{{3}}}|Shp}}<!--
-->{{!}}data7    ={{DbParser|{{{2}}}|Mass}}<!--
+
-->|label6   = Mass<!--
-->{{!}}label8  = Volume<!--
+
-->|data6   = {{DbParser|{{{2}}}|{{{3}}}|Mass}}<!--
-->{{!}}data8    ={{DbParser|{{{2}}}|Volume}}<!--
+
-->|label7  = Heat Armor<!--
-->{{!}}label9  = Light<!--
+
-->|data7   = {{DbParser|{{{2}}}|{{{3}}}|Heat}}<!--
-->{{!}}data9    ={{DbParser|{{{2}}}|Light}}<!--  
+
-->|label8   = Kinetic Armor<!--
-->{{!}}label10  = LightColor<!--
+
-->|data8    = {{DbParser|{{{2}}}|{{{3}}}|Kinetic}}<!--
-->{{!}}data10    ={{DbParser|{{{2}}}|LightColor}}<!--
+
-->|label9   = EM Armor<!--
-->{{!}}label11  = Transparency<!--
+
-->|data9   = {{DbParser|{{{2}}}|{{{3}}}|EM}}<!--
-->{{!}}data11    ={{DbParser|{{{2}}}|Transparency}}<!--
+
-->|label10   = Luminosity<!--
-->{{!}}label12  = Animated<!--
+
-->|data10   = {{DbParser|{{{2}}}|{{{3}}}|Light}}<!--
-->{{!}}data12    ={{DbParser|{{{2}}}|Animated}}<!--
+
-->|label11   = Id<!--
-->{{!}}label13  = Id<!--
+
-->|data11   = {{DbParser|{{{2}}}|{{{3}}}|Id}}}}<!--
-->{{!}}data13    ={{DbParser|{{{2}}}|Id}}<!--
+
======= 2 : full box =================
-->{{!}}label14   = Make with<!--
+
-->|2={{blockboxlayout <!--
-->{{!}}data14   ={{DbParser|{{{2}}}|Factory}}<!--
+
-->|bodystyle    = width: 19em; text-align: left; font-size: 88%; line-height: 1.5em; float: {{#if:{{{4|}}}|{{{4}}}|right}};<!--
-->{{!}}label15   = Time to make<!--
+
-->|titlestyle      = text-align: center; font-size: 125%; font-weight: bold; padding: 5px;<!--
-->{{!}}data15   ={{DbParser|{{{2}}}|FactoryBakeTime}}<!--
+
-->|headerstyle = text-align: center; padding: 0em; height: 1.8em;<!--
-->{{!}}label16   = Item<!--
+
-->|labelstyle    = text-align: right; font-weight: bold; vertical-align: top; padding: 0.1em 0.5em; <!--
-->{{!}}data16   ={{DbParser|{{{2}}}|Item}}<!--
+
-->|datastyle      = text-align: left; padding: 0.1em 0.5em; <!--
-->{{!}}label17   = Placable<!--
+
-->|chessstyle      = background-color:#18181F; <!--
-->{{!}}data17   ={{DbParser|{{{2}}}|Placable}}<!--
+
-->|imagestyle  = text-align: center; padding: 0em; height: 1.8em;<!--
-->{{!}}label18   = Explos. Abs.<!--
+
-->|title                = {{DbParser|{{{2}}}|{{{3}}}|name}}<!--
-->{{!}}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><!--
-->{{!}}label19  = Trade Price<!--
+
-->|3dimage          ={{#ifeq:{{{5|}}}|3d|{{#switch:{{Db|{{{2|}}}|{{{3}}}|BlockStyle}}|0|6| top: 35px; left: 80px;">{{DbSub|{{{2}}}|{{{3}}}|textureId|0}}}}}}<!--
-->{{!}}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 !}}<!--
-->{{!}}label19   = Traded<!--
+
-->|imageoption= 150px<!--
-->{{!}}data19    = No}}<!--
+
-->|caption        = <!--
-->{{!}}label20   = cat<!--
+
-->|captionstyle= <!-- :::old deprecated display,  see above overimage::::
-->{{!}}data20   ={{DbParser|{{{2}}}|cat}}<!--
+
-->|label1  =<!-- {{#ifeq:{{DbParser|{{{2}}}|{{{3}}}|Deprecated}}|false|<font style="color:DarkGreen;">Block </font>|<font style="color:DarkRed;">Block</font>}}
-->{{!}}label21   = cat2<!--
+
-->|data1  = <!-- {{#ifeq:{{DbParser|{{{2}}}|{{{3}}}|Deprecated}}|false|<font style="color:DarkGreen;"> In game </font>|<font style="color:DarkRed;">obsolete ! </font>}}  
-->{{!}}data21   ={{DbParser|{{{2}}}|cat2}}<!--
+
-->|label2  = Hp<!--
-->{{!}}label22   = cat3<!--
+
-->|data2    ={{DbParser|{{{2}}}|{{{3}}}|Hp}}<!--
-->{{!}}data22   ={{DbParser|{{{2}}}|cat3}}<!--
+
-->|label3  = Ahp<!--
-->{{!}}label23  = cat4<!--
+
-->|data3    ={{DbParser|{{{2}}}|{{{3}}}|Ahp}}<!--
-->{{!}}data23    ={{DbParser|{{{2}}}|cat4}}<!--
+
-->|label4  = Shp<!--
-->{{!}}label24  = Controlled By<!--
+
-->|data4    ={{DbParser|{{{2}}}|{{{3}}}|Shp}}<!--
-->{{!}}data24    ={{DbParser|{{{2}}}|CtrlBy}}<!--
+
-->|label5   = ReactorHp<!--
-->{{!}}label25  = Controlling<!--
+
-->|data5    ={{DbParser|{{{2}}}|{{{3}}}|ReactorHp}}<!--
-->{{!}}data25    ={{DbParser|{{{2}}}|Ctrling}}<!--
+
-->|label6  = Armor<!--
-->{{!}}label26  = Main Ctrler<!--
+
-->|data6    ={{DbParser|{{{2}}}|{{{3}}}|Armor}}<!--
-->{{!}}data26    ={{DbParser|{{{2}}}|MainCtrl}}<!--
+
-->|label7   = Mass<!--
-->{{!}}label27  = Support Ctrler<!--
+
-->|data7    ={{DbParser|{{{2}}}|{{{3}}}|Mass}}<!--
-->{{!}}data27    ={{DbParser|{{{2}}}|SupportCtrl}}<!--
+
-->|label8   = Volume<!--
-->{{!}}label28  = Effect Ctrler<!--
+
-->|data8    ={{DbParser|{{{2}}}|{{{3}}}|Volume}}<!--
-->{{!}}data28    ={{DbParser|{{{2}}}|EffectCtrl}}}}<!--
+
-->|label9   = Light<!--
======= otherwise legacy (old) box ==========
+
-->|data9   ={{DbParser|{{{2}}}|{{{3}}}|Light}}<!--  
-->|{{!}}bodystyle    = width: 19em; text-align: left; font-size: 88%; line-height: 1.5em; float: right;<!--
+
-->|label10  = LightColor<!--
-->{{!}}titlestyle      = text-align: center; font-size: 125%; font-weight: bold; padding: 5px;<!--
+
-->|data10   ={{DbParser|{{{2}}}|{{{3}}}|LightColor}}<!--
-->{{!}}headerstyle = text-align: center; padding: 0em; height: 1.8em;<!--
+
-->|label11   = Transparency<!--
-->{{!}}labelstyle    = font-weight: bold; text-align: right; vertical-align: top; padding: 0.1em 0.5em;<!--
+
-->|data11   ={{DbParser|{{{2}}}|{{{3}}}|Transparency}}<!--
-->{{!}}datastyle      = text-align: left; padding: 0.1em 0.5em;<!--
+
-->|label12   = Animated<!--
-->{{!}}imagestyle  = text-align: center; padding: 0em; height: 1.8em;<!--
+
-->|data12   ={{DbParser|{{{2}}}|{{{3}}}|Animated}}<!--
-->{{!}}title                =  {{DbParser|{{{1}}}|name}}<!--
+
-->|label13   = Id<!--
-->{{!}}titlelink        =  {{DbParser|{{{1}}}|link}}<!--
+
-->|data13    ={{DbParser|{{{2}}}|{{{3}}}|Id}}<!--
-->{{!}}imagelink          = {{DbParser|{{{1}}}|link}}   <!-- ext is set in layout : png
+
-->|label14  = Make with<!--
-->{{!}}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}}]] <!--
-->{{!}}caption        = <!--
+
-->|label15  = produced in<!--
-->{{!}}captionstyle= <!--
+
-->|data15    ={{DbParser|{{{2}}}|{{{3}}}|FactoryBakeTime}}sec<!--
-->{{#Ifeq:{{DbParser|{{{1}}}|Depreciated}}|false|<!--
+
-->|label16  =Heat Armor<!--
-->{{!}}label1   =<font color="green">Block </font><!--
+
-->|data16    ={{DbParser|{{{2}}}|{{{3}}}|Heat}}<!--
-->{{!}}data1  =<font color="green">Up to date </font>|<!--
+
-->|label17  = EM Armor<!--
-->{{!}}label1   =<font color="red">Block</font><!--
+
-->|data17    ={{DbParser|{{{2}}}|{{{3}}}|EM}}<!--
-->{{!}}data1  =<font color="red">obsolete ! </font>}}<!--
+
-->|label18  = Kinetic Armor<!--
-->{{!}}label2   = Hit Points<!--
+
-->|data18    ={{DbParser|{{{2}}}|{{{3}}}|Kinetic}}<!--
-->{{!}}data2    ={{DbParser|{{{1}}}|Hp}}<!--
+
-->|label19  = Traded<!--
-->{{!}}label3   = Armor<!--
+
-->|data19    ={{DbParser|{{{2}}}|{{{3}}}|Shop}}<!--
-->{{!}}data3   = {{DbParser|{{{1}}}|Armor}}<!--
+
-->|label20  = cat<!--
-->{{!}}label4  = Ahp<!--
+
-->|data20    ={{#if:{{DbParser|{{{2}}}|{{{3}}}|cat}}|[[:Category:{{DbParser|{{{2}}}|{{{3}}}|cat}}]]}}<!--
-->{{!}}data4   = {{DbParser|{{{1}}}|Ahp}}<!--
+
-->|label21  = cat2<!--
-->{{!}}label5   = Shp<!--
+
-->|data21    ={{#if:{{DbParser|{{{2}}}|{{{3}}}|cat2}}|[[:Category:{{DbParser|{{{2}}}|{{{3}}}|cat2}}]]}}<!--
-->{{!}}data5   = {{DbParser|{{{1}}}|Shp}}<!--
+
-->|label22  = cat3<!--
-->{{!}}label6   = Mass<!--
+
-->|data22    ={{#if:{{DbParser|{{{2}}}|{{{3}}}|cat3}}|[[:Category:{{DbParser|{{{2}}}|{{{3}}}|cat3}}]]}}<!--
-->{{!}}data6   = {{DbParser|{{{1}}}|Mass}}<!--
+
-->|label23  = cat4<!--
-->{{!}}label7   = Luminosity<!--
+
-->|data23    ={{#if:{{DbParser|{{{2}}}|{{{3}}}|cat4}}|[[:Category:{{DbParser|{{{2}}}|{{{3}}}|cat4}}]]}}<!--
-->{{!}}data7   = {{DbParser|{{{1}}}|Light}}<!--
+
-->|label24  = Control<!--
-->{{!}}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}}<!--
-->{{!}}data8    = {{DbParser|{{{1}}}|Id}}}}<!--
+
--><!--|label25  = Item
-->}}<noinclude>{{Documentation}}</noinclude>
+
--><!--|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>

Latest revision as of 23:12, 27 July 2018