Difference between revisions of "Template:Blockboxlayout"

From StarMade Wiki
m
m
Line 6: Line 6:
 
-->{{#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}}}|{{{imageoption}}}]]</td></tr>}}<!--
+
-->{{#if:{{{imagelink|}}}|<tr><td colspan="2" style="{{{imagestyle|}}}">[[File:{{{imagelink}}}.png|{{{imageoption}}}|link={{{imagelink}}}]]</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>}} }} }}<!--

Revision as of 00:17, 6 May 2018

[create] 50px Template documentation