Template: ImgLink2

From Trekipedia
Jump to: navigation, search
m
m
Line 13: Line 13:
 
<div style="width:{{{width|30%}}};margin-right:0.2em;float:{{{float|left}}};{{{other}}}">
 
<div style="width:{{{width|30%}}};margin-right:0.2em;float:{{{float|left}}};{{{other}}}">
 
<div class="BoxOutline ButtonAll" style="width:100%;">
 
<div class="BoxOutline ButtonAll" style="width:100%;">
<div style="text-align:center;margin:auto;margin-top:5px;">[[File:{{{file|Federation-Historical-Society.png}}}|center|link={{{link}}}|{{{caption}}}|class=img-responsive]]<br/>[[{{{link}}}|{{{caption}}}]]</div>
+
<div style="text-align:center;margin:auto;margin-top:5px;">[[File:{{{file|trekipedia-16x9.jpg}}}|center|link={{{link}}}|{{{caption}}}|class=img-responsive]]<br/>[[{{{link}}}|{{{caption}}}]]</div>
 
</div>
 
</div>
 
</div>
 
</div>

Revision as of 22:10, 6 January 2022

{ {ImgLink2|file=|width=|float=|other=|link=|caption=} } Variables:

  • file
  • link
  • caption
  • width (default 30%)
  • float (default left)
  • other
{{{caption}}}

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