Template:Infobox/Dual Illustration: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><nowiki/>
+
<includeonly>
  +
{{#if:{{{left_file|}}}{{{right_file|}}}|
 
 
<tr>
 
<tr>
 
<td colspan="6" class="infobox-dual-illustration">
 
<td colspan="6" class="infobox-dual-illustration">
 
<table border="0">
 
<table border="0">
 
<tr>
 
<tr>
<td colspan="1" class="infobox-dual-illustration">{{{left_file}}}</td>
+
<td colspan="1" class="infobox-dual-illustration">{{#if: {{{left_file|}}}|{{{left_file}}}|Void.png}}{{#if: {{{left_caption|}}}|<br><div class="infobox-caption">{{{left_caption}}}</div>|}}</td>
<td colspan="1" class="infobox-dual-illustration">{{{right_file}}}</td>
+
<td colspan="1" class="infobox-dual-illustration">{{#if: {{{right_file|}}}|{{{right_file}}}|Void.png}}{{#if: {{{right_caption|}}}|<br><div class="infobox-caption">{{{right_caption}}}</div>|}}</td>
</tr>
 
<tr>
 
<td colspan="1" class="infobox-caption">{{{left_caption}}}</td>
 
<td colspan="1" class="infobox-caption">{{{right_caption}}}</td>
 
 
</tr>
 
</tr>
 
</table>
 
</table>
 
</td>
 
</td>
 
</tr>
 
</tr>
  +
|}}
<nowiki/></includeonly>
+
</includeonly>
  +
   
 
<noinclude>
 
<noinclude>
  +
{{Infobox/begin}}
  +
{{Infobox/Dual Illustration}}
  +
{{Infobox/end}}
  +
 
{{Infobox/begin}}
 
{{Infobox/begin}}
 
{{Infobox/Dual Illustration|left_file={{{illustration}}}|left_caption={{{caption}}}|right_file={{{illustration}}}|right_caption={{{caption}}}}}
 
{{Infobox/Dual Illustration|left_file={{{illustration}}}|left_caption={{{caption}}}|right_file={{{illustration}}}|right_caption={{{caption}}}}}

Revision as of 22:45, 26 October 2022



{{{illustration}}}
{{{caption}}}
{{{illustration}}}
{{{caption}}}