Difference between revisions of "Template:Blockbox"

From StarMade Wiki
m
m
Line 1: Line 1:
{{blockboxlayout<!--
+
{{blockboxlayout |<!--
 
-->{{#switch:{{{1}}}<!--
 
-->{{#switch:{{{1}}}<!--
 
============ 1 : Tiny box ===========
 
============ 1 : Tiny box ===========
Line 27: Line 27:
 
-->{{!}}caption        = <!--
 
-->{{!}}caption        = <!--
 
-->{{!}}captionstyle= }}<!--
 
-->{{!}}captionstyle= }}<!--
-->{{#Ifeq:{{DbParser|{{{1}}}|Depreciated}}|true|<!--
+
-->{{#Ifeq:{{DbParser|{{{1}}}|Depreciated}}|false|<!--
 +
-->{{!}}label1  =<font color="green">Block </font><!--
 +
-->{{!}}data1  =<font color="green">Up to date </font>|<!--
 
-->{{!}}label1  =<font color="red">Block</font><!--
 
-->{{!}}label1  =<font color="red">Block</font><!--
-->{{!}}data1  =<font color="red">obsolete ! </font>|<!--
+
-->{{!}}data1  =<font color="red">obsolete ! </font>}}<!--
-->{{!}}label1  =<font color="green">Block </font><!--
 
-->{{!}}data1  =<font color="green">Up to date </font>}}<!--
 
 
-->{{!}}label2  = Hp<!--
 
-->{{!}}label2  = Hp<!--
 
-->{{!}}data2    ={{DbParser|{{{2}}}|Hp}}<!--
 
-->{{!}}data2    ={{DbParser|{{{2}}}|Hp}}<!--
Line 102: Line 102:
 
-->{{!}}caption        = <!--
 
-->{{!}}caption        = <!--
 
-->{{!}}captionstyle= <!--
 
-->{{!}}captionstyle= <!--
-->{{#Ifeq:{{DbParser|{{{1}}}|Depreciated}}|true|<!--
+
-->{{#Ifeq:{{DbParser|{{{1}}}|Depreciated}}|false|<!--
 +
-->{{!}}label1  =<font color="green">Block </font><!--
 +
-->{{!}}data1  =<font color="green">Up to date </font>|<!--
 
-->{{!}}label1  =<font color="red">Block</font><!--
 
-->{{!}}label1  =<font color="red">Block</font><!--
-->{{!}}data1  =<font color="red">obsolete ! </font>|<!--
+
-->{{!}}data1  =<font color="red">obsolete ! </font>}}<!--
-->{{!}}label1  =<font color="green">Block </font><!--
 
-->{{!}}data1  =<font color="green">Up to date </font>}}<!--
 
 
-->{{!}}label2  = Hit Points<!--
 
-->{{!}}label2  = Hit Points<!--
 
-->{{!}}data2    ={{DbParser|{{{1}}}|Hp}}<!--
 
-->{{!}}data2    ={{DbParser|{{{1}}}|Hp}}<!--
Line 121: Line 121:
 
-->{{!}}label8  = Id<!--
 
-->{{!}}label8  = Id<!--
 
-->{{!}}data8    = {{DbParser|{{{1}}}|Id}}<!--
 
-->{{!}}data8    = {{DbParser|{{{1}}}|Id}}<!--
-->{{#Ifeq:{{DbParser|{{{1}}}|Depreciated}}|true|<!--
 
-->{{!}}label9  =<font color="red">Block</font><!--
 
-->{{!}}data9  =<font color="red">obsolete ! </font>|<!--
 
-->{{!}}label9  =<font color="green">Block </font><!--
 
-->{{!}}data9  =<font color="green">Up to date </font>}}<!--
 
 
-->}}}}<noinclude>{{Documentation}}</<!--
 
-->}}}}<noinclude>{{Documentation}}</<!--
 
-->noinclude><!--
 
-->noinclude><!--
 
-->
 
-->

Revision as of 18:32, 11 May 2018

}}Template:Documentation</noinclude>