Template: ImgLink

From Trekipedia
Jump to: navigation, search
m
m
Line 2: Line 2:
 
Variables:
 
Variables:
 
* imgname
 
* imgname
 +
* size (default x250px)
 
* link
 
* link
 
* caption
 
* caption
Line 8: Line 9:
 
</noinclude>
 
</noinclude>
 
<div style="text-align:center;float:left;margin-right:0.5em;">
 
<div style="text-align:center;float:left;margin-right:0.5em;">
[[File:{{{imgname}}}.jpg|x250px|link={{{link}}}|{{{caption}}}]]<br/>{{{caption}}}
+
[[File:{{{imgname}}}.jpg|{{{size|x250px}}}|link={{{link}}}|{{{caption}}}]]<br/>{{{caption}}}
 
</div>
 
</div>

Revision as of 11:57, 16 October 2019

Variables:

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

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