Template: ImageInfoBox2
From Trekipedia
m |
m |
||
Line 1: | Line 1: | ||
− | <div class="BoxOutline ButtonAll" style="background-color:#000;width:{{{boxwidth| | + | <div class="BoxOutline ButtonAll" style="background-color:#000;width:{{{boxwidth|30%}}};float:{{{float|right}}};{{{boxother}}}"> |
<div class="HeaderRow ButtonTop GreenBG" style="text-align:center;font-variant:small-caps;font-size:1.5em;color:#000;margin:auto;margin-bottom:5px;">{{{name}}}</div> | <div class="HeaderRow ButtonTop GreenBG" style="text-align:center;font-variant:small-caps;font-size:1.5em;color:#000;margin:auto;margin-bottom:5px;">{{{name}}}</div> | ||
− | + | [[File:{{{file|Federation-Historical-Society.png}}}|{{{caption}}}|class=img-responsive]]<br/>{{{caption}}} | |
{|style="width:100%;" | {|style="width:100%;" | ||
<noinclude> | <noinclude> | ||
Line 11: | Line 11: | ||
Variables: | Variables: | ||
− | * boxwidth (default | + | * boxwidth (default 30%) |
* float (right/left/center) (default right) | * float (right/left/center) (default right) | ||
* boxother (misc CSS elements) | * boxother (misc CSS elements) |
Revision as of 11:27, 12 March 2021
{ {ImageInfoBox|boxwidth=|float=|boxother=|imgboxwidth=|imgboxother=|name=|file=|caption=} }
{ {TableRow|title=|data=} }
|}</div>
Variables:
- boxwidth (default 30%)
- float (right/left/center) (default right)
- boxother (misc CSS elements)
- name
- imgboxwidth (default 290px)
- imgboxother (misc CSS elements)
- file
- imgwidth (default 280px)
- caption