Template: ImageBox2

From Trekipedia
Jump to: navigation, search
m
m
Line 1: Line 1:
 
{{BoxOutline|width={{{boxwidth|300px}}}|float={{{float|right}}}|other={{{other}}} }}
 
{{BoxOutline|width={{{boxwidth|300px}}}|float={{{float|right}}}|other={{{other}}} }}
<div class="res-img" style="text-align:center;max-width:{{{boxwidth|300px}}};padding-top:5px;background-color:#000;">
+
[[File:{{{file|Federation-Historical-Society.png}}}|alt={{{caption|}}}|{{#if:{{{link|}}}|link={{{link|}}}}}|class=img-responsive]]
[[File:{{{file|Federation-Historical-Society.png}}}|alt={{{caption|}}}|{{#if:{{{link|}}}|link={{{link|}}}}}]]
 
 
<p style="font-size: 90%;">
 
<p style="font-size: 90%;">
 
{{{caption}}}
 
{{{caption}}}
 
</p>
 
</p>
</div>
 
 
 
</div>
 
</div>
 
<noinclude>
 
<noinclude>

Revision as of 11:22, 12 March 2021

{{{caption}}}

Variables:

  • boxwidth (default=300px)
  • float (default=right)
  • other (e.g. clear:right;)
  • align
  • padding
  • file
  • caption
  • link