Template: ImgLink

From Trekipedia
Jump to: navigation, search
m (Admin moved page Template:DisambigImg to Template:ImgLink)
m
Line 8: Line 8:
 
[[Category:Layout Templates]]
 
[[Category:Layout Templates]]
 
</noinclude>
 
</noinclude>
<div style="text-align:center;float:left;margin-right:0.5em;">
+
<div style="text-align:center;float:left;margin-right:0.5em;{{{other}}}">
 
[[File:{{{imgname}}}.jpg|{{{size|x250px}}}|link={{{link}}}|{{{caption}}}]]<br/>{{{caption}}}
 
[[File:{{{imgname}}}.jpg|{{{size|x250px}}}|link={{{link}}}|{{{caption}}}]]<br/>{{{caption}}}
 
</div>
 
</div>

Revision as of 22:49, 3 October 2020

Variables:

  • imgname
  • size (default x250px)
  • link
  • caption

[[File:{{{imgname}}}.jpg|x250px|link={{{link}}}|{{{caption}}}]]
{{{caption}}}