Template: ImgLink2

From Trekipedia
Jump to: navigation, search
m
m
Line 2: Line 2:
 
Variables:
 
Variables:
 
* file
 
* file
* size (default x250px)
+
* size (default 30%)
 
* link
 
* link
 
* caption
 
* caption
Line 10: Line 10:
 
[[Category:Layout Templates]]
 
[[Category:Layout Templates]]
 
</noinclude>
 
</noinclude>
<div class="res-img" style="text-align:center;float:left;margin-right:0.5em;width:{{{width|250px}}};{{{other}}}">
+
<div style="width:{{{width|30%}}};margin-right:0.2em;float:{{{float|left}}};{{{other}}}">
[[File:{{{file|Federation-Historical-Society.png}}}|link={{{link}}}|{{{caption}}}]]<br/><btn class="btn-primary">{{{link}}}|{{{caption}}}</btn>
+
<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>
 
</div>
 
</div>

Revision as of 14:32, 30 April 2021

Variables:

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