Difference between revisions of "Template:Blockbox"

From StarMade Wiki
m
m
Line 1: Line 1:
{{blockboxlayout <!--
 
 
-->{{#switch:{{{1}}}<!--
 
-->{{#switch:{{{1}}}<!--
 
============ 1 : Tiny box ===========
 
============ 1 : Tiny box ===========
-->|1=&#124;bodystyle    = width: 12em; text-align: left; font-size: 88%; line-height: 1.5em; float: right; <!--
+
-->|1={{blockboxlayout <!--
-->&#124;titlestyle      = text-align: center; font-size: 100%; font-weight: bold;line-height: 0.9em; height: 2em; padding: 1px; <!--
+
-->|bodystyle    = width: 12em; text-align: left; font-size: 88%; line-height: 1.5em; float: 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: center; padding: 0em; height: 1.8em; <!--
-->&#124;datastyle      = text-align: left; padding: 0.1em 0.5em; <!--
+
-->|labelstyle    = text-align: right; font-weight: bold; vertical-align: top; padding: 0.1em 0.5em; <!--
-->&#124;imagestyle  = text-align: center; padding: 0em; height: 1.8em; <!--
+
-->|datastyle      = text-align: left; padding: 0.1em 0.5em; <!--
-->&#124;imageoption= 100px <!--
+
-->|imagestyle  = text-align: center; padding: 0em; height: 1.8em; <!--
-->&#124;title                =  {{DbParser|{{{2}}}|name}} <!--
+
-->|imageoption= 100px <!--
-->&#124;titlelink        =  {{DbParser|{{{2}}}|link}} <!--
+
-->|title                =  {{DbParser|{{{2}}}|name}} <!--
-->&#124;imagelink          =  {{DbParser|{{{2}}}|link}} <!-- ext is set in layout : png  
+
-->|titlelink        =  {{DbParser|{{{2}}}|link}} <!--
-->&#124;label1  = Id <!--
+
-->|imagelink          =  {{DbParser|{{{2}}}|link}} <!-- ext is set in layout : png  
-->&#124;data1    = {{DbParser|{{{2}}}|Id}} <!--
+
-->|label1  = Id <!--
 +
-->|data1    = {{DbParser|{{{2}}}|Id}}}} <!--
 
======= 0 : full box =================
 
======= 0 : full box =================
-->|0=&#124;bodystyle    = width: 19em; text-align: left; font-size: 88%; line-height: 1.5em; float: right;<!--
+
-->|0={{blockboxlayout <!--
-->&#124;titlestyle      = text-align: center; font-size: 125%; font-weight: bold; padding: 5px;<!--
+
-->|bodystyle    = width: 19em; text-align: left; font-size: 88%; line-height: 1.5em; float: right;<!--
-->&#124;headerstyle = text-align: center; padding: 0em; height: 1.8em;<!--
+
-->|titlestyle      = text-align: center; font-size: 125%; font-weight: bold; padding: 5px;<!--
-->&#124;labelstyle    = font-weight: bold; text-align: right; vertical-align: top; padding: 0.1em 0.5em;<!--
+
-->|headerstyle = text-align: center; padding: 0em; height: 1.8em;<!--
-->&#124;datastyle      = text-align: left; padding: 0.1em 0.5em;<!--
+
-->|labelstyle    = font-weight: bold; text-align: right; vertical-align: top; padding: 0.1em 0.5em;<!--
-->&#124;imagestyle  = text-align: center; padding: 0em; height: 1.8em;<!--
+
-->|datastyle      = text-align: left; padding: 0.1em 0.5em;<!--
-->&#124;title                =  {{DbParser|{{{2}}}|name}}<!--
+
-->|imagestyle  = text-align: center; padding: 0em; height: 1.8em;<!--
-->&#124;titlelink        =  {{DbParser|{{{2}}}|link}}<!--
+
-->|title                =  {{DbParser|{{{2}}}|name}}<!--
-->&#124;imagelink          =  {{DbParser|{{{2}}}|link}}<!-- ext is set in layout : png  
+
-->|titlelink        =  {{DbParser|{{{2}}}|link}}<!--
-->&#124;imageoption= 150px<!--
+
-->|imagelink          =  {{DbParser|{{{2}}}|link}}<!-- ext is set in layout : png  
-->&#124;caption        = <!--
+
-->|imageoption= 150px<!--
-->&#124;captionstyle= <!--
+
-->|caption        = <!--
 +
-->|captionstyle= <!--
 
-->{{#Ifeq:{{DbParser|{{{2}}}|Depreciated}}|false|<!--
 
-->{{#Ifeq:{{DbParser|{{{2}}}|Depreciated}}|false|<!--
-->&#124;label1  =<font color="green">Block </font><!--
+
-->{{!}}label1  =<font color="green">Block </font><!--
-->&#124;data1  =<font color="green">Up to date </font>|<!--
+
-->{{!}}data1  =<font color="green">Up to date </font>|<!--
-->&#124;label1  =<font color="red">Block</font><!--
+
-->{{!}}label1  =<font color="red">Block</font><!--
-->&#124;data1  =<font color="red">obsolete ! </font>}}<!--
+
-->{{!}}data1  =<font color="red">obsolete ! </font>}}<!--
-->&#124;label2  = Hp<!--
+
-->|label2  = Hp<!--
-->&#124;data2    ={{DbParser|{{{2}}}|Hp}}<!--
+
-->|data2    ={{DbParser|{{{2}}}|Hp}}<!--
-->&#124;label3  = Ahp<!--
+
-->|label3  = Ahp<!--
-->&#124;data3    ={{DbParser|{{{2}}}|Ahp}}<!--
+
-->|data3    ={{DbParser|{{{2}}}|Ahp}}<!--
-->&#124;label4  = Shp<!--
+
-->|label4  = Shp<!--
-->&#124;data4    ={{DbParser|{{{2}}}|Shp}}<!--
+
-->|data4    ={{DbParser|{{{2}}}|Shp}}<!--
-->&#124;label5  = ReactorHp<!--
+
-->|label5  = ReactorHp<!--
-->&#124;data5    ={{DbParser|{{{2}}}|ReactorHp}}<!--
+
-->|data5    ={{DbParser|{{{2}}}|ReactorHp}}<!--
-->&#124;label6  = Armor<!--
+
-->|label6  = Armor<!--
-->&#124;data6    ={{DbParser|{{{2}}}|Armor}}<!--
+
-->|data6    ={{DbParser|{{{2}}}|Armor}}<!--
-->&#124;label7  = Mass<!--
+
-->|label7  = Mass<!--
-->&#124;data7    ={{DbParser|{{{2}}}|Mass}}<!--
+
-->|data7    ={{DbParser|{{{2}}}|Mass}}<!--
-->&#124;label8  = Volume<!--
+
-->|label8  = Volume<!--
-->&#124;data8    ={{DbParser|{{{2}}}|Volume}}<!--
+
-->|data8    ={{DbParser|{{{2}}}|Volume}}<!--
-->&#124;label9  = Light<!--
+
-->|label9  = Light<!--
-->&#124;data9    ={{DbParser|{{{2}}}|Light}}<!--  
+
-->|data9    ={{DbParser|{{{2}}}|Light}}<!--  
-->&#124;label10  = LightColor<!--
+
-->|label10  = LightColor<!--
-->&#124;data10    ={{DbParser|{{{2}}}|LightColor}}<!--
+
-->|data10    ={{DbParser|{{{2}}}|LightColor}}<!--
-->&#124;label11  = Transparency<!--
+
-->|label11  = Transparency<!--
-->&#124;data11    ={{DbParser|{{{2}}}|Transparency}}<!--
+
-->|data11    ={{DbParser|{{{2}}}|Transparency}}<!--
-->&#124;label12  = Animated<!--
+
-->|label12  = Animated<!--
-->&#124;data12    ={{DbParser|{{{2}}}|Animated}}<!--
+
-->|data12    ={{DbParser|{{{2}}}|Animated}}<!--
-->&#124;label13  = Id<!--
+
-->|label13  = Id<!--
-->&#124;data13    ={{DbParser|{{{2}}}|Id}}<!--
+
-->|data13    ={{DbParser|{{{2}}}|Id}}<!--
-->&#124;label14  = Make with<!--
+
-->|label14  = Make with<!--
-->&#124;data14    ={{DbParser|{{{2}}}|Factory}}<!--
+
-->|data14    ={{DbParser|{{{2}}}|Factory}}<!--
-->&#124;label15  = Time to make<!--
+
-->|label15  = Time to make<!--
-->&#124;data15    ={{DbParser|{{{2}}}|FactoryBakeTime}}<!--
+
-->|data15    ={{DbParser|{{{2}}}|FactoryBakeTime}}<!--
-->&#124;label16  = Item<!--
+
-->|label16  = Item<!--
-->&#124;data16    ={{DbParser|{{{2}}}|Item}}<!--
+
-->|data16    ={{DbParser|{{{2}}}|Item}}<!--
-->&#124;label17  = Placable<!--
+
-->|label17  = Placable<!--
-->&#124;data17    ={{DbParser|{{{2}}}|Placable}}<!--
+
-->|data17    ={{DbParser|{{{2}}}|Placable}}<!--
-->&#124;label18  = Explos. Abs.<!--
+
-->|label18  = Explos. Abs.<!--
-->&#124;data18    ={{DbParser|{{{2}}}|ExpAbsorb}}<!--
+
-->|data18    ={{DbParser|{{{2}}}|ExpAbsorb}}<!--
 
-->{{#ifeq:{{DbParser|{{{2}}}|InShop}}|yes|<!--
 
-->{{#ifeq:{{DbParser|{{{2}}}|InShop}}|yes|<!--
-->&#124;label19  = Trade Price<!--
+
-->{{!}}label19  = Trade Price<!--
-->&#124;data19    ={{DbParser|{{{2}}}|Price}}|<!--
+
-->{{!}}data19    ={{DbParser|{{{2}}}|Price}}|<!--
-->&#124;label19  = Traded<!--
+
-->{{!}}label19  = Traded<!--
-->&#124;data19    = No}}<!--
+
-->{{!}}data19    = No}}<!--
-->&#124;label20  = cat<!--
+
-->|label20  = cat<!--
-->&#124;data20    ={{DbParser|{{{2}}}|cat}}<!--
+
-->|data20    ={{DbParser|{{{2}}}|cat}}<!--
-->&#124;label21  = cat2<!--
+
-->|label21  = cat2<!--
-->&#124;data21    ={{DbParser|{{{2}}}|cat2}}<!--
+
-->|data21    ={{DbParser|{{{2}}}|cat2}}<!--
-->&#124;label22  = cat3<!--
+
-->|label22  = cat3<!--
-->&#124;data22    ={{DbParser|{{{2}}}|cat3}}<!--
+
-->|data22    ={{DbParser|{{{2}}}|cat3}}<!--
-->&#124;label23  = cat4<!--
+
-->|label23  = cat4<!--
-->&#124;data23    ={{DbParser|{{{2}}}|cat4}}<!--
+
-->|data23    ={{DbParser|{{{2}}}|cat4}}<!--
-->&#124;label24  = Controlled By<!--
+
-->|label24  = Controlled By<!--
-->&#124;data24    ={{DbParser|{{{2}}}|CtrlBy}}<!--
+
-->|data24    ={{DbParser|{{{2}}}|CtrlBy}}<!--
-->&#124;label25  = Controlling<!--
+
-->|label25  = Controlling<!--
-->&#124;data25    ={{DbParser|{{{2}}}|Ctrling}}<!--
+
-->|data25    ={{DbParser|{{{2}}}|Ctrling}}<!--
-->&#124;label26  = Main Ctrler<!--
+
-->|label26  = Main Ctrler<!--
-->&#124;data26    ={{DbParser|{{{2}}}|MainCtrl}}<!--
+
-->|data26    ={{DbParser|{{{2}}}|MainCtrl}}<!--
-->&#124;label27  = Support Ctrler<!--
+
-->|label27  = Support Ctrler<!--
-->&#124;data27    ={{DbParser|{{{2}}}|SupportCtrl}}<!--
+
-->|data27    ={{DbParser|{{{2}}}|SupportCtrl}}<!--
-->&#124;label28  = Effect Ctrler<!--
+
-->|label28  = Effect Ctrler<!--
-->&#124;data28    ={{DbParser|{{{2}}}|EffectCtrl}}<!--
+
-->|data28    ={{DbParser|{{{2}}}|EffectCtrl}}}}<!--
 
  ======= otherwise legacy (old) box ==========
 
  ======= otherwise legacy (old) box ==========
-->|&#124;bodystyle    = width: 19em; text-align: left; font-size: 88%; line-height: 1.5em; float: right;<!--
+
-->|{{blockboxlayout <!--
-->&#124;titlestyle      = text-align: center; font-size: 125%; font-weight: bold; padding: 5px;<!--
+
-->|bodystyle    = width: 19em; text-align: left; font-size: 88%; line-height: 1.5em; float: right;<!--
-->&#124;headerstyle = text-align: center; padding: 0em; height: 1.8em;<!--
+
-->|titlestyle      = text-align: center; font-size: 125%; font-weight: bold; padding: 5px;<!--
-->&#124;labelstyle    = font-weight: bold; text-align: right; vertical-align: top; padding: 0.1em 0.5em;<!--
+
-->|headerstyle = text-align: center; padding: 0em; height: 1.8em;<!--
-->&#124;datastyle      = text-align: left; padding: 0.1em 0.5em;<!--
+
-->|labelstyle    = font-weight: bold; text-align: right; vertical-align: top; padding: 0.1em 0.5em;<!--
-->&#124;imagestyle  = text-align: center; padding: 0em; height: 1.8em;<!--
+
-->|datastyle      = text-align: left; padding: 0.1em 0.5em;<!--
-->&#124;title                =  {{DbParser|{{{1}}}|name}}<!--
+
-->|imagestyle  = text-align: center; padding: 0em; height: 1.8em;<!--
-->&#124;titlelink        =  {{DbParser|{{{1}}}|link}}<!--
+
-->|title                =  {{DbParser|{{{1}}}|name}}<!--
-->&#124;imagelink          =  {{DbParser|{{{1}}}|link}}  <!-- ext is set in layout : png  
+
-->|titlelink        =  {{DbParser|{{{1}}}|link}}<!--
-->&#124;imageoption= 150px<!--
+
-->|imagelink          =  {{DbParser|{{{1}}}|link}}  <!-- ext is set in layout : png  
-->&#124;caption        = <!--
+
-->|imageoption= 150px<!--
-->&#124;captionstyle= <!--
+
-->|caption        = <!--
 +
-->|captionstyle= <!--
 
-->{{#Ifeq:{{DbParser|{{{1}}}|Depreciated}}|false|<!--
 
-->{{#Ifeq:{{DbParser|{{{1}}}|Depreciated}}|false|<!--
-->&#124;label1  =<font color="green">Block </font><!--
+
-->{{!}}label1  =<font color="green">Block </font><!--
-->&#124;data1  =<font color="green">Up to date </font>|<!--
+
-->{{!}}data1  =<font color="green">Up to date </font>|<!--
-->&#124;label1  =<font color="red">Block</font><!--
+
-->{{!}}label1  =<font color="red">Block</font><!--
-->&#124;data1  =<font color="red">obsolete ! </font>}}<!--
+
-->{{!}}data1  =<font color="red">obsolete ! </font>}}<!--
-->&#124;label2  = Hit Points<!--
+
-->|label2  = Hit Points<!--
-->&#124;data2    ={{DbParser|{{{1}}}|Hp}}<!--
+
-->|data2    ={{DbParser|{{{1}}}|Hp}}<!--
-->&#124;label3  = Armor<!--
+
-->|label3  = Armor<!--
-->&#124;data3    = {{DbParser|{{{1}}}|Armor}}<!--
+
-->|data3    = {{DbParser|{{{1}}}|Armor}}<!--
-->&#124;label4  = Ahp<!--
+
-->|label4  = Ahp<!--
-->&#124;data4    = {{DbParser|{{{1}}}|Ahp}}<!--
+
-->|data4    = {{DbParser|{{{1}}}|Ahp}}<!--
-->&#124;label5  = Shp<!--
+
-->|label5  = Shp<!--
-->&#124;data5    = {{DbParser|{{{1}}}|Shp}}<!--
+
-->|data5    = {{DbParser|{{{1}}}|Shp}}<!--
-->&#124;label6  = Mass<!--
+
-->|label6  = Mass<!--
-->&#124;data6    = {{DbParser|{{{1}}}|Mass}}<!--
+
-->|data6    = {{DbParser|{{{1}}}|Mass}}<!--
-->&#124;label7  = Luminosity<!--
+
-->|label7  = Luminosity<!--
-->&#124;data7    = {{DbParser|{{{1}}}|Light}}<!--
+
-->|data7    = {{DbParser|{{{1}}}|Light}}<!--
-->&#124;label8  = Id<!--
+
-->|label8  = Id<!--
-->&#124;data8    = {{DbParser|{{{1}}}|Id}}<!--
+
-->|data8    = {{DbParser|{{{1}}}|Id}}}}<!--
-->}}<!--
 
 
-->}}<!--
 
-->}}<!--
 
--><noinclude>{{Documentation}}</noinclude>
 
--><noinclude>{{Documentation}}</noinclude>

Revision as of 19:16, 11 May 2018

-->

LuminosityNo

Template:Documentation