Template: ImgLink
From Trekipedia
m |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
Variables: | Variables: | ||
* imgname | * imgname | ||
− | |||
* link | * link | ||
* caption | * caption | ||
− | * width (default | + | * width (default 23%) |
* other | * other | ||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category:Layout Templates]] | [[Category:Layout Templates]] | ||
</noinclude> | </noinclude> | ||
− | <div style="text-align:center;float:left;margin-right:0.5em;{{{width| | + | <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}}}