Difference between revisions of "Template:Blockbox"

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

Latest revision as of 22:12, 27 July 2018