Template: ImageBox
From Trekipedia
m |
m |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{BoxOutline|width= | + | {{BoxOutline|width={{{width|360px}}}|float={{{float|right}}}|other={{{other}}} }} |
− | < | + | <div style="text-align:center;"> |
− | {{{imgname}}}.jpg|{{{caption}}} | + | [[File:{{{imgname}}}.jpg|{{{imgwidth|350x350px}}}|{{{caption}}}]]<br/>{{{caption}}} |
− | </ | ||
</div> | </div> | ||
+ | </div> | ||
+ | <noinclude> | ||
+ | Variables: | ||
+ | * width (default=360px) | ||
+ | * float (default=right) | ||
+ | * other (e.g. clear:right;) | ||
+ | * imgname | ||
+ | * imgwidth (default=350x350px) | ||
+ | * caption | ||
+ | [[Category:Templates]] | ||
+ | [[Category:Layout Templates]] | ||
+ | </noinclude> |
Latest revision as of 18:01, 29 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