Template: ImageInfoBox
From Trekipedia
(Created page with "<div class="BoxOutline ButtonAll" style="width:{{{boxwidth|380px}}};float:{{{float|right}}};{{{boxother}}}"> <div class="HeaderRow ButtonTop GreenBG" style="text-align:center;...") |
m |
||
Line 1: | Line 1: | ||
<div class="BoxOutline ButtonAll" style="width:{{{boxwidth|380px}}};float:{{{float|right}}};{{{boxother}}}"> | <div class="BoxOutline ButtonAll" style="width:{{{boxwidth|380px}}};float:{{{float|right}}};{{{boxother}}}"> | ||
<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 ButtonAll" style="width:{{{imgboxwidth|360px}}} | + | <div class="BoxOutline ButtonAll" style="width:{{{imgboxwidth|360px}}};{{{imgboxother}}}"> |
− | <div style="text-align:center;">[[File:{{{imgname}}}.jpg|{{{imgwidth|350x350px}}}|{{{caption}}}]]<br/>{{{caption}}}</div> | + | <div style="text-align:center;margin:2px;">[[File:{{{imgname}}}.jpg|{{{imgwidth|350x350px}}}|{{{caption}}}]]<br/>{{{caption}}}</div> |
</div> | </div> | ||
{|style="width:100%;" | {|style="width:100%;" |
Revision as of 16:31, 5 September 2019
{{{name}}}
[[File:{{{imgname}}}.jpg|350x350px|{{{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 350x350px)
- caption