Template:ImageLink View history

m (Reverted edits by PesachZ (talk) to last revision by Kentsmith9)
m (removed second parameter allowing url to be hyperlinked)
 
Line 1: Line 1:
<small>[IMG]{{{1|http}}}&#58;{{{2|//www.test.com}}}[/IMG]</small><noinclude>{{doc}}</noinclude>
<small>[IMG]{{{1|http://www.test.com}}}[/IMG]</small><noinclude>{{doc}}</noinclude>

Latest revision as of 05:37, 26 August 2016

[IMG]http://www.test.com[/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]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]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.