Template: ImageBox2
From Trekipedia
m |
m |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{BoxOutline|width={{{ | + | {{BoxOutline|width={{{boxwidth|35%}}}|float={{{float|right}}}|other={{{other}}} }} |
− | + | [[File:{{{file|trekipedia-16x9.jpg}}}|alt={{{caption|}}}|{{#if:{{{link|}}}|link={{{link|{{{caption|}}}}}}}}|center|class=img-responsive]] | |
− | [[File:{{{ | + | <p style="font-size:90%;"> |
− | </ | + | {{{caption}}} |
+ | </p> | ||
+ | </div> | ||
<noinclude> | <noinclude> | ||
Variables: | Variables: | ||
− | * | + | * boxwidth (default=30%) |
* float (default=right) | * float (default=right) | ||
* other (e.g. clear:right;) | * other (e.g. clear:right;) | ||
− | * | + | * align |
− | * | + | * padding |
+ | * file | ||
* caption | * caption | ||
+ | * link | ||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category:Layout Templates]] | [[Category:Layout Templates]] | ||
</noinclude> | </noinclude> |