Template: ImgLink2
From Trekipedia
m |
m |
||
Line 2: | Line 2: | ||
Variables: | Variables: | ||
* file | * file | ||
− | * size (default | + | * size (default 30%) |
* link | * link | ||
* caption | * caption | ||
Line 10: | Line 10: | ||
[[Category:Layout Templates]] | [[Category:Layout Templates]] | ||
</noinclude> | </noinclude> | ||
− | <div | + | <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> |