Template: ImageInfoBox2

From Trekipedia
Jump to: navigation, search
m
Line 2: Line 2:
 
<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>
 
<div class="BoxOutline ButtonBottom" style="width:{{{imgboxwidth|280px}}};{{{imgboxother}}}">
 
<div class="BoxOutline ButtonBottom" style="width:{{{imgboxwidth|280px}}};{{{imgboxother}}}">
<div style="text-align:center;margin:auto;margin-bottom:5px;">[[File:{{{file|Federation-Historical-Society.png}}}|{{{imgwidth|280px}}}|{{{caption}}}]]<br/>{{{caption}}}</div>
+
<div style="text-align:center;margin:auto;margin-bottom:5px;">[[File:{{{file|Federation-Historical-Society.png}}}|{{{imgwidth|270px}}}|{{{caption}}}]]<br/>{{{caption}}}</div>
 
</div>
 
</div>
 
{|style="width:100%;"
 
{|style="width:100%;"

Revision as of 01:34, 8 May 2020

{{{name}}}
{{{caption}}}
{{{caption}}}

{ {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