Template: DisambigImgBox

From Trekipedia
Jump to: navigation, search
m
m
Line 1: Line 1:
<div style="width:{{{boxwidth|280px}}};float:{{{float|left}}};{{{boxother}}}">
+
<div style="width:{{{boxwidth|280px}}};margin-right:0.1em;float:{{{float|left}}};{{{boxother}}}">
 
<div class="HeaderRow ButtonTop GreenBG" style="text-align:center;font-variant:small-caps;font-size:1.5em;color:#000;margin-bottom:.1em;">{{{timeline}}}</div>
 
<div class="HeaderRow ButtonTop GreenBG" style="text-align:center;font-variant:small-caps;font-size:1.5em;color:#000;margin-bottom:.1em;">{{{timeline}}}</div>
 
<div class="BoxOutline ButtonBottom" style="width:{{{imgboxwidth|260px}}};{{{imgboxother}}}">
 
<div class="BoxOutline ButtonBottom" style="width:{{{imgboxwidth|260px}}};{{{imgboxother}}}">

Revision as of 19:26, 28 April 2020

{{{timeline}}}
[[File:{{{imgname}}}.jpg|250x250px|link={{{link}}}|{{{caption}}}]]
[[{{{link}}}|{{{caption}}}]]

{ {DisambigImgBox|boxwidth=|float=|boxother=|timeline=|imgboxwidth=|imgboxother=|imgname=|size=|link=|caption=} }

Variables:

  • boxwidth (default 280px)
  • float (right/left/center) (default left)
  • boxother (misc CSS elements)
  • timeline
  • imgboxwidth (default 260px)
  • imgboxother (misc CSS elements)
  • imgname
  • size (default 250x250px)
  • link
  • caption