Difference between revisions of "Template:Blockbox"
From StarMade Wiki
m |
m |
||
Line 12: | Line 12: | ||
-->|titlelink = {{DbParser|{{{2}}}|link}} <!-- | -->|titlelink = {{DbParser|{{{2}}}|link}} <!-- | ||
-->|overimage = {{#ifeq:{{{4|}}}|3d|bottom: -100px; right: -25px;|bottom: 10px; right: 5px;}}"><b> Id : </b>{{DbParser|{{{2}}}|Id}} <!-- ======== text over image : "end of style tag" "> "TEXT" | -->|overimage = {{#ifeq:{{{4|}}}|3d|bottom: -100px; right: -25px;|bottom: 10px; right: 5px;}}"><b> Id : </b>{{DbParser|{{{2}}}|Id}} <!-- ======== text over image : "end of style tag" "> "TEXT" | ||
− | -->|imagelink ={{#ifeq:{{{4|}}}|3d|<div style="opacity:0;">|<div>}}{{DbParser|{{{2}}}|image|140}}</div><!-- | + | -->|imagelink ={{#ifeq:{{{4|}}}|3d|{{#ifeq:{{Db|{{{2|}}}|BlockStyle}}|0|<div style="opacity:0;">|<div>}}}}{{DbParser|{{{2}}}|image|140}}</div><!-- |
− | -->|3dimage = {{#ifeq:{{{4|}}}|3d| top: 30px; left: 30px;">{{DbSub|{{{2}}}|textureId|0}}}}<!-- | + | -->|3dimage = {{#ifeq:{{{4|}}}|3d|{{#ifeq:{{Db|{{{2|}}}|BlockStyle}}|0| top: 30px; left: 30px;">{{DbSub|{{{2}}}|textureId|0}}}}}}<!-- |
|data0 = <b> ID : </b>{{DbParser|{{{2}}}|Id}} -->}}<!-- | |data0 = <b> ID : </b>{{DbParser|{{{2}}}|Id}} -->}}<!-- | ||
======= 1 legacy (old) box ========== | ======= 1 legacy (old) box ========== | ||
Line 26: | Line 26: | ||
-->|title = {{DbParser|{{{2}}}|name}}<!-- | -->|title = {{DbParser|{{{2}}}|name}}<!-- | ||
-->|titlelink = {{DbParser|{{{2}}}|link}}<!-- | -->|titlelink = {{DbParser|{{{2}}}|link}}<!-- | ||
− | -->|imagelink ={{#ifeq:{{{4|}}}|3d|<div style="opacity:0;">|<div>}}{{DbParser|{{{2}}}|image}}</div><!-- | + | -->|imagelink ={{#ifeq:{{{4|}}}|3d|{{#ifeq:{{Db|{{{2|}}}|BlockStyle}}|0|<div style="opacity:0;">|<div>}}}}{{DbParser|{{{2}}}|image}}</div><!-- |
− | -->|3dimage ={{#ifeq:{{{4|}}}|3d| top: 35px; left: 80px;">{{DbSub|{{{2}}}|textureId|0}}}}<!-- | + | -->|3dimage ={{#ifeq:{{{4|}}}|3d|{{#ifeq:{{Db|{{{2|}}}|BlockStyle}}|0| 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 !}}<!-- | -->|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<!-- | ||
Line 65: | Line 65: | ||
-->|title = {{DbParser|{{{2}}}|name}}<!-- | -->|title = {{DbParser|{{{2}}}|name}}<!-- | ||
-->|titlelink = {{DbParser|{{{2}}}|link}}<!-- | -->|titlelink = {{DbParser|{{{2}}}|link}}<!-- | ||
− | -->|imagelink ={{#ifeq:{{{4|}}}|3d|<div style="opacity:0;">|<div>}}{{DbParser|{{{2}}}|image}}</div><!-- | + | -->|imagelink ={{#ifeq:{{{4|}}}|3d|{{#ifeq:{{Db|{{{2|}}}|BlockStyle}}|0|<div style="opacity:0;">|<div>}}}}{{DbParser|{{{2}}}|image}}</div><!-- |
− | -->|3dimage ={{#ifeq:{{{4|}}}|3d| top: 35px; left: 80px;">{{DbSub|{{{2}}}|textureId|0}}}}<!-- | + | -->|3dimage ={{#ifeq:{{{4|}}}|3d|{{#ifeq:{{Db|{{{2|}}}|BlockStyle}}|0| 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 !}}<!-- | -->|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<!-- |