Difference between revisions of "Template:Blockbox"

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

Latest revision as of 23:12, 27 July 2018