Template: ImgLink

From Trekipedia
Jump to: navigation, search
m
m
Line 5: Line 5:
 
* link
 
* link
 
* caption
 
* caption
 +
* width (default 250px)
 +
* other
 
[[Category:Templates]]
 
[[Category:Templates]]
 
[[Category:Layout Templates]]
 
[[Category:Layout Templates]]
 
</noinclude>
 
</noinclude>
<div style="text-align:center;float:left;margin-right:0.5em;{{{other}}}">
+
<div style="text-align:center;float:left;margin-right:0.5em;{{{width|250px}}};{{{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 23:03, 3 October 2020

Variables:

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

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