Template: ImgLink2

From Trekipedia
Jump to: navigation, search
m
m
Line 10: Line 10:
 
[[Category:Layout Templates]]
 
[[Category:Layout Templates]]
 
</noinclude>
 
</noinclude>
<div style="text-align:center;float:left;margin-right:0.5em;width:{{{width|250px}}};{{{other}}}">
+
<div class="res-img" style="text-align:center;float:left;margin-right:0.5em;width:{{{width|250px}}};{{{other}}}">
[[File:{{{file|Federation-Historical-Society.png}}}|{{{size|x250px}}}|link={{{link}}}|{{{caption}}}]]<br/>[[{{{link}}}|{{{caption}}}]]
+
[[File:{{{file|Federation-Historical-Society.png}}}|link={{{link}}}|{{{caption}}}]]<br/>[[{{{link}}}|{{{caption}}}]]
 
</div>
 
</div>

Revision as of 01:50, 16 October 2020

Variables:

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

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