Template: ImageInfoBox

From Trekipedia
Jump to: navigation, search
m
m
Line 1: Line 1:
<div class="BoxOutline ButtonAll" style="width:{{{boxwidth|380px}}};float:{{{float|right}}};{{{boxother}}}">
+
<div class="BoxOutline ButtonAll" style="width:{{{boxwidth|300px}}};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 ButtonBottom" style="width:{{{imgboxwidth|360px}}};{{{imgboxother}}}">
+
<div class="BoxOutline ButtonBottom" style="width:{{{imgboxwidth|290px}}};{{{imgboxother}}}">
<div style="text-align:center;margin:5px;">[[File:{{{imgname}}}.jpg|{{{imgwidth|350px}}}|{{{caption}}}]]<br/>{{{caption}}}</div>
+
<div style="text-align:center;margin:5px;">[[File:{{{imgname}}}.jpg|{{{imgwidth|200px}}}|{{{caption}}}]]<br/>{{{caption}}}</div>
 
</div>
 
</div>
 
{|style="width:100%;"
 
{|style="width:100%;"
Line 13: Line 13:
  
 
Variables:
 
Variables:
* boxwidth (default 380px)
+
* boxwidth (default 300px)
 
* float (right/left/center) (default right)
 
* float (right/left/center) (default right)
 
* boxother (misc CSS elements)
 
* boxother (misc CSS elements)
 
* name
 
* name
* imgboxwidth (default 360px)
+
* imgboxwidth (default 290px)
 
* imgboxother (misc CSS elements)
 
* imgboxother (misc CSS elements)
 
* imgname
 
* imgname
* imgwidth (default 350px)
+
* imgwidth (default 280px)
 
* caption
 
* caption
  

Revision as of 01:19, 8 May 2020

{{{name}}}
[[File:{{{imgname}}}.jpg|200px|{{{caption}}}]]
{{{caption}}}

{ {ImageInfoBox|boxwidth=|float=|boxother=|imgboxwidth=|imgboxother=|name=|imgname=|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)
  • imgname
  • imgwidth (default 280px)
  • caption