Difference between revisions of "Template:img link"

From WikiCorporates
Jump to navigation Jump to search
(Created page with "[[{{{1}}}|{{#if:{{{img|}}}|  [[File:{{{img}}}|{{{sz}}}]]}}{{#if:{{{png|}}}|{{img|{{{png}}}|{{{w}}}|{{{h}}}|float=none}}]]<noinclude>{{doc2}}</noinclude>")
 
m
 
Line 1: Line 1:
−
[[{{{1}}}|{{#if:{{{img|}}}|&nbsp;&nbsp;[[File:{{{img}}}|{{{sz}}}]]}}{{#if:{{{png|}}}|{{img|{{{png}}}|{{{w}}}|{{{h}}}|float=none}}]]<noinclude>{{doc2}}</noinclude>
+
[[{{{1}}}|{{#if:{{{img|}}}|[[File:{{{img}}}|{{{sz}}}]]}}{{#if:{{{png|}}}|{{img|{{{png}}}|{{{w}}}|{{{h}}}|float=none}}]]}}<noinclude>{{doc2}}</noinclude>

Latest revision as of 17:48, 5 August 2018

[[{{{1}}}|

[edit] Documentation

Ambox important.svg DO NOT USE. Instances of this template should be replaced with, eg.:

[[File:Institute-of-Economic-Affairs.svg|24x20px|link=Institute of Economic Affairs]]
Giving: Institute-of-Economic-Affairs.svg


Usage

Small template to generate inline linked images.

{{img link|Global Policy Forum|png=Global-Policy-Forum.svg|w=39|h=25}}

Gives: