Template: ImageBox2

From Trekipedia
Jump to: navigation, search
m
m
Line 1: Line 1:
{{BoxOutline|width={{{width|300px}}}|float={{{float|right}}}|other={{{other}}} }}
+
{{BoxOutline|width={{{boxwidth|300px}}}|float={{{float|right}}}|other={{{other}}} }}
<div style="text-align:center;max-width:{{{width|300px}}};padding-top:5px;background-color:#000;">
+
<div style="text-align:center;max-width:{{{boxwidth|300px}}};padding-top:5px;background-color:#000;">
[[File:{{{file|Federation-Historical-Society.png}}}|{{{width|280px}}}|alt={{{caption|}}}|{{#if:{{{link|}}}|link={{{link|}}}}}]]
+
[[File:{{{file|Federation-Historical-Society.png}}}|{{{imgwidth|280px}}}|alt={{{caption|}}}|{{#if:{{{link|}}}|link={{{link|}}}}}]]
 
<p style="font-size: 90%;">
 
<p style="font-size: 90%;">
 
{{{caption}}}
 
{{{caption}}}
Line 10: Line 10:
 
<noinclude>
 
<noinclude>
 
Variables:
 
Variables:
* width (default=300px)
+
* boxwidth (default=300px)
 +
* maxwidth (default=300px)
 +
* imgwidth (default=280px)
 
* float (default=right)
 
* float (default=right)
 
* other (e.g. clear:right;)
 
* other (e.g. clear:right;)

Revision as of 01:38, 10 August 2020

{{{caption}}}

Variables:

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