Template: ImgLink
From Trekipedia
m |
m |
||
(6 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
* link | * 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;"> | + | <div style="text-align:center;float:left;margin-right:0.5em;width:{{{width|23%}}};{{{other}}}"> |
− | [[File:{{{imgname}}}.jpg | + | [[File:{{{imgname}}}.jpg|link={{{link}}}|{{{caption}}}|class=img-responsive]]<br/>{{{caption}}} |
</div> | </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}}}