Difference between revisions of "Template:Blockboxlayout"
From StarMade Wiki
m |
m |
||
(24 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- | <!-- | ||
initial editing of infobox to remove all style (to set it above) and make it more open | initial editing of infobox to remove all style (to set it above) and make it more open | ||
− | --> | + | --><table class="darktable {{{bodyclass|}}}" cellspacing="5" style="{{{bodystyle|}}}" ><!-- |
− | <table class="darktable {{{bodyclass|}}}" cellspacing="5" style="{{{bodystyle|}}}"><!-- | ||
Header | Header | ||
-->{{#if:{{{title|}}}|<tr><th colspan="2" style="{{{titlestyle|}}}">[[{{{titlelink}}}|{{{title}}}]]</th></tr>}}<!-- | -->{{#if:{{{title|}}}|<tr><th colspan="2" style="{{{titlestyle|}}}">[[{{{titlelink}}}|{{{title}}}]]</th></tr>}}<!-- | ||
Image | Image | ||
− | -->{{#if:{{{imagelink|}}}|<tr><td colspan="2" style="{{{imagestyle|}}}"> | + | -->{{#if:{{{imagelink|}}}|<tr><td colspan="2" style="{{{imagestyle|}}}"><div style="position:relative">{{{imagelink}}}{{#if:{{{3dimage|}}}|<div style="position: absolute; {{{3dimage|}}}{{#if:{{{overimage|}}}|<div style="position: absolute; {{{overimage|}}}</div>}}</div>|{{#if:{{{overimage|}}}|<div style="position: absolute; {{{overimage|}}} </div>}}}}</div></td></tr>}}<!-- |
Unique ID | Unique ID | ||
− | -->{{#if:{{{Header0|}}}|<tr><th colspan="2" style="{{{headerstyle|}}}">{{{header1|}}}</th></tr>| {{#if:{{{data0|}}}|<tr ><td colspan="2" style="{{{ | + | -->{{#if:{{{Header0|}}}|<tr><th colspan="2" style="{{{headerstyle|}}}">{{{header1|}}}</th></tr>| {{#if:{{{data0|}}}|<tr ><td colspan="2" style="{{{datastyle|}}}"><p style="{{{unikstyle|}}}">{{{data0|}}}</p></td></tr>}} }}<!-- |
Row 1 | Row 1 | ||
-->{{#if:{{{header1|}}}|<tr><th colspan="2" style="{{{headerstyle|}}}">{{{header1|}}}</th></tr>| {{#if:{{{label1|}}}|{{#if:{{{data1|}}}|<tr><td style="{{{labelstyle|}}}">{{{label1|}}}</td><td style="{{{datastyle|}}}">{{{data1|}}}</td></tr>}}| {{#if:{{{data1|}}}|<tr ><td colspan="2" style="{{{datastyle|}}}">{{{data1|}}}</td></tr>}} }} }}<!-- | -->{{#if:{{{header1|}}}|<tr><th colspan="2" style="{{{headerstyle|}}}">{{{header1|}}}</th></tr>| {{#if:{{{label1|}}}|{{#if:{{{data1|}}}|<tr><td style="{{{labelstyle|}}}">{{{label1|}}}</td><td style="{{{datastyle|}}}">{{{data1|}}}</td></tr>}}| {{#if:{{{data1|}}}|<tr ><td colspan="2" style="{{{datastyle|}}}">{{{data1|}}}</td></tr>}} }} }}<!-- |