m (testing nolink option) |
m (fix spacing) |
||
Line 1: | Line 1: | ||
<small>[IMG]{{#if:{{{nolink|}}}|{{<includeonly>subst:</includeonly>Nowiki|{{{1|http://www.test.com}}}}}|{{{1|http://www.test.com}}}}}[/IMG]</small><noinclude>{{doc}}</noinclude> | <small>[IMG]{{#if:{{{nolink|}}}|{{<includeonly>subst:</includeonly>Nowiki|{{{1|http://www.test.com}}} }}|{{{1|http://www.test.com}}} }}[/IMG]</small><noinclude>{{doc}}</noinclude> |
Revision as of 21:51, 24 August 2016
[IMG]http://www.test.com[/IMG]
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. |