Template: DisambigImgBox

From Trekipedia
Jump to: navigation, search
m
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-left,margin-right:auto;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-left,margin-right:auto;margin-bottom:.1em;">{{{timeline}}}</div>
 
<div class="BoxOutline ButtonBottom" style="width:{{{imgboxwidth|270px}}};{{{imgboxother}}}">
 
<div class="BoxOutline ButtonBottom" style="width:{{{imgboxwidth|270px}}};{{{imgboxother}}}">
<div style="text-align:center;margin:5px;">[[File:{{{imgname|Federation-Historical-Society.png}}}|{{{size|250x250px}}}|link={{{link}}}|{{{caption}}}]]<br/>[[{{{link}}}|{{{caption}}}]]</div>
+
<div style="text-align:center;margin:auto;">[[File:{{{imgname|Federation-Historical-Society.png}}}|{{{size|250x250px}}}|link={{{link}}}|{{{caption}}}]]<br/>[[{{{link}}}|{{{caption}}}]]</div>
 
</div>
 
</div>
 
</div><noinclude>
 
</div><noinclude>

Revision as of 00:07, 8 May 2020

{{{timeline}}}
{{{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 270px)
  • imgboxother (misc CSS elements)
  • imgname
  • size (default 250x250px)
  • border (in pixels; default 1)
  • link
  • caption