Template: ImgLink2

From Trekipedia
Jump to: navigation, search
m
m
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 +
{ {ImgLink2|file=|width=|float=|other=|link=|caption=} }
 
Variables:
 
Variables:
 
* file
 
* file
* size (default x250px)
 
 
* link
 
* link
 
* caption
 
* caption
* width (default 250px)
+
* width (default 30%)
 +
* float (default left)
 
* other
 
* other
 
[[Category:Templates]]
 
[[Category:Templates]]
 
[[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/>[[{{{link}}}|{{{caption}}}]]
+
<div class="BoxOutline ButtonAll" style="width:100%;">
 +
<div style="text-align:center;margin:auto;margin-top:5px;">[[File:{{{file|trekipedia-16x9.jpg}}}|center|link={{{link}}}|{{{caption|{{{link}}}}}}|class=img-responsive]]<br/>[[{{{link}}}|{{{caption|{{{link}}}}}}]]</div>
 +
</div>
 
</div>
 
</div>

Latest revision as of 05:33, 31 August 2023

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

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

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