Template: ImageInfoBox
From Trekipedia
m |
m |
||
Line 2: | Line 2: | ||
<div class="HeaderRow ButtonTop GreenBG" style="text-align:center;font-variant:small-caps;font-size:1.5em;color:#000;">{{{name}}}</div> | <div class="HeaderRow ButtonTop GreenBG" style="text-align:center;font-variant:small-caps;font-size:1.5em;color:#000;">{{{name}}}</div> | ||
<div class="BoxOutline ButtonBottom" style="width:{{{imgboxwidth|360px}}};{{{imgboxother}}}"> | <div class="BoxOutline ButtonBottom" style="width:{{{imgboxwidth|360px}}};{{{imgboxother}}}"> | ||
− | <div style="text-align:center;margin:5px;">[[File:{{{imgname}}}.jpg|{{{imgwidth| | + | <div style="text-align:center;margin:5px;">[[File:{{{imgname}}}.jpg|{{{imgwidth|350px}}}|{{{caption}}}]]<br/>{{{caption}}}</div> |
</div> | </div> | ||
{|style="width:100%;" | {|style="width:100%;" | ||
Line 20: | Line 20: | ||
* imgboxother (misc CSS elements) | * imgboxother (misc CSS elements) | ||
* imgname | * imgname | ||
− | * imgwidth (default | + | * imgwidth (default 350px) |
* caption | * caption | ||
Revision as of 06:24, 2 October 2019
{{{name}}}
[[File:{{{imgname}}}.jpg|350px|{{{caption}}}]]
{{{caption}}}
{{{caption}}}
{ {ImageInfoBox|boxwidth=|float=|boxother=|imgboxwidth=|imgboxother=|name=|imgname=|caption=} }
{ {TableRow|title=|data=} }
|}</div>
Variables:
- boxwidth (default 380px)
- float (right/left/center) (default right)
- boxother (misc CSS elements)
- name
- imgboxwidth (default 360px)
- imgboxother (misc CSS elements)
- imgname
- imgwidth (default 350px)
- caption