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/><btn class="btn-primary">{{{link}}}|{{{caption}}}</btn></div>
+
<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>
 
</div>
 
</div>
 
</div>

Revision as of 07:33, 11 August 2021

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

  • file
  • size (default 30%)
  • link
  • caption
  • width (default 250px)
  • other
{{{caption}}}

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