Template: ImgLink

From Trekipedia
Jump to: navigation, search
(Created page with "<div style="float:left;margin-right:0.5em;"> [[File:{{{imgname}}}.jpg|x250px|link={{{caption}}}]]<br/>[[{{{Caption}}}]] </div> <noinclude> Variables: * imgname * caption Cat...")
 
m
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="float:left;margin-right:0.5em;">
 
[[File:{{{imgname}}}.jpg|x250px|link={{{caption}}}]]<br/>[[{{{Caption}}}]]
 
</div>
 
 
<noinclude>
 
<noinclude>
 
Variables:
 
Variables:
 
* imgname
 
* imgname
 +
* link
 
* caption
 
* caption
 +
* width (default 23%)
 +
* other
 
[[Category:Templates]]
 
[[Category:Templates]]
 +
[[Category:Layout Templates]]
 
</noinclude>
 
</noinclude>
 +
<div style="text-align:center;float:left;margin-right:0.5em;width:{{{width|23%}}};{{{other}}}">
 +
[[File:{{{imgname}}}.jpg|link={{{link}}}|{{{caption}}}|class=img-responsive]]<br/>{{{caption}}}
 +
</div>

Latest revision as of 06:26, 14 April 2021

Variables:

  • imgname
  • link
  • caption
  • width (default 23%)
  • other

[[File:{{{imgname}}}.jpg|link={{{link}}}|{{{caption}}}|class=img-responsive]]
{{{caption}}}