Template: ImageBox
From Trekipedia
m |
m |
||
Line 1: | Line 1: | ||
{{BoxOutline|width={{{width|360px}}}|float={{{float|right}}}|other={{{other}}} }} | {{BoxOutline|width={{{width|360px}}}|float={{{float|right}}}|other={{{other}}} }} | ||
<div style="text-align:center;"> | <div style="text-align:center;"> | ||
− | [[File:{{{imgname}}}.jpg|350x350px|{{{caption}}}]]<br/>{{{caption}}} | + | [[File:{{{imgname}}}.jpg|{{{imgwidth|350x350px}}}|{{{caption}}}]]<br/>{{{caption}}} |
</div> | </div> | ||
</div> | </div> | ||
Line 10: | Line 10: | ||
* other (e.g. clear:right;) | * other (e.g. clear:right;) | ||
* imgname | * imgname | ||
+ | * imgwidth (default=350x350px) | ||
* caption | * caption | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 10:36, 7 August 2019
[[File:{{{imgname}}}.jpg|350x350px|{{{caption}}}]]
{{{caption}}}
Variables:
- width (default=360px)
- float (default=right)
- other (e.g. clear:right;)
- imgname
- imgwidth (default=350x350px)
- caption