Difference between revisions of "Template:Blockboxlayout"

From StarMade Wiki
m
m
 
(29 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|}}}">[[File:{{{imagelink}}}.png|{{{imageoption}}}|link={{{imagelink}}}]]</td></tr>}}{{#if:{{{imagecrop|}}}|<tr><td colspan="2" style="{{{imagestyle|}}}">{{{imagecrop}}}</td></tr>}}<!--
+
-->{{#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="{{{unikstyle|}}}">{{{header1|}}}</th></tr>| {{#if:{{{data0|}}}|<tr ><td colspan="2" style="{{{unikstyle|}}}"><p style="Background-color:#191f29" >{{{data0|}}}</p></td></tr>}} }} }}<!--
+
-->{{#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>}} }} }}<!--

Latest revision as of 15:50, 27 July 2018

[create] 50px Template documentation