Template:ImageLink View history

(removed old comment)
m (testing nolink option)
Line 1: Line 1:
<small>[IMG]{{{1|http}}}&#58;{{{2|//www.test.com}}}[/IMG]</small><noinclude>{{doc}}</noinclude>
<small>[IMG]{{#if:{{{nolink|test}}}|{{<includeonly>subst:</includeonly>Nowiki|{{{1|http://www.test.com}}}}}|{{{1|http://www.test.com}}}}}[/IMG]</small><noinclude>{{doc}}</noinclude>

Revision as of 21:47, 24 August 2016

[IMG]Template:Nowiki[/IMG]

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

There is one required unnamed parameter which is the full URL for the image. The URL will then be displayed inside phpbb [IMG] tags. The output text is small, and designed to be used as a caption beneath an image thumbnail.

{{ImageLink|http://www.test.com}}

Produces

[IMG]{{subst:Nowiki|http://www.test.com}}[/IMG]


If you want the URL to not be a hyperlink, you can enclose it inside <nowiki>...</nowiki> tags.

{{ImageLink|<nowiki>http://www.test.com</nowiki>}}

Produces

[IMG]{{subst:Nowiki|http://www.test.com}}[/IMG]
The above documentation is transcluded from Template:ImageLink/doc.
Please add categories to the /doc subpage.
Subpages of this template.