Template: ImageInfoBox2
From Trekipedia
(Created page with "<div class="BoxOutline ButtonAll" style="width:{{{boxwidth|300px}}};float:{{{float|right}}};{{{boxother}}}"> <div class="HeaderRow ButtonTop GreenBG" style="text-align:center;...") |
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|290px}}};{{{imgboxother}}}"> | <div class="BoxOutline ButtonBottom" style="width:{{{imgboxwidth|290px}}};{{{imgboxother}}}"> | ||
− | <div style="text-align:center;margin:5px;">[[File:{{{ | + | <div style="text-align:center;margin:5px;">[[File:{{{file|Federation-Historical-Society.png}}}|{{{imgwidth|280px}}}|{{{caption}}}]]<br/>{{{caption}}}</div> |
</div> | </div> | ||
{|style="width:100%;" | {|style="width:100%;" | ||
Line 8: | Line 8: | ||
|}</div> | |}</div> | ||
− | { {ImageInfoBox|boxwidth=|float=|boxother=|imgboxwidth=|imgboxother=|name=| | + | { {ImageInfoBox|boxwidth=|float=|boxother=|imgboxwidth=|imgboxother=|name=|file=|caption=} }<br/> |
{ {TableRow|title=|data=} }<br/> | { {TableRow|title=|data=} }<br/> | ||
|}</div> | |}</div> | ||
Line 19: | Line 19: | ||
* imgboxwidth (default 290px) | * imgboxwidth (default 290px) | ||
* imgboxother (misc CSS elements) | * imgboxother (misc CSS elements) | ||
− | * | + | * file |
* imgwidth (default 280px) | * imgwidth (default 280px) | ||
* caption | * caption |
Revision as of 01:26, 8 May 2020
{ {ImageInfoBox|boxwidth=|float=|boxother=|imgboxwidth=|imgboxother=|name=|file=|caption=} }
{ {TableRow|title=|data=} }
|}</div>
Variables:
- boxwidth (default 300px)
- float (right/left/center) (default right)
- boxother (misc CSS elements)
- name
- imgboxwidth (default 290px)
- imgboxother (misc CSS elements)
- file
- imgwidth (default 280px)
- caption