Template: DisambigImgBox

From Trekipedia
Jump to: navigation, search
m
m
 
(One intermediate revision by the same user not shown)
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:100%;{{{imgboxother}}}">
 
<div class="BoxOutline ButtonBottom" style="width:100%;{{{imgboxother}}}">
<div style="text-align:center;margin:auto;margin-top:5px;">[[File:{{{imgname|ufp_seal-sftm.jpg}}}|link={{{link}}}|{{{caption}}}|class=img-responsive]]<br/>[[{{{link}}}|{{{caption}}}]]</div>
+
<div style="text-align:center;margin:auto;margin-top:5px;">[[File:{{{imgname|trekipedia-16x9.jpg}}}|link={{{link}}}|{{{caption}}}|class=img-responsive]]<br/>[[{{{link}}}|{{{caption}}}]]</div>
 
</div>
 
</div>
 
</div><noinclude>
 
</div><noinclude>
 
{{Clear}}
 
{{Clear}}
&#124;&#124;DisambigImgBox|boxwidth=|float=|boxother=|timeline=|imgboxother=|imgname=|size=|link=|caption=&#126;&#126;
+
&#123;&#123;DisambigImgBox|boxwidth=|float=|boxother=|timeline=|imgboxother=|imgname=|size=|link=|caption=&#125;&#125;
  
 
Variables:
 
Variables:

Latest revision as of 16:25, 23 March 2023

{{{timeline}}}
{{{caption}}}
[[{{{link}}}|{{{caption}}}]]

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

Variables:

  • boxwidth (default 30%)
  • float (right/left/center) (default left)
  • boxother (misc CSS elements)
  • timeline
  • imgboxwidth (default 100%)
  • imgboxother (misc CSS elements)
  • imgname (default Trekipedia logo)
  • border (in pixels; default 1)
  • link
  • caption