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