m (→Usage: updated to single parameter with instructions for nowiki to block hyperlink) |
Kentsmith9 (talk | contribs) (typo) |
||
Line 1: | Line 1: | ||
{{doc subpage}} | {{doc subpage}} | ||
== Usage == | == Usage == | ||
There is one required unnamed parameter which is the full URL for the image. The URL will | 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. | ||
{{tlx|ImageLink|<nowiki>http://www.test.com</nowiki>}} | {{tlx|ImageLink|<nowiki>http://www.test.com</nowiki>}} |
Latest revision as of 14:46, 24 August 2022
This is a documentation subpage for . It contains usage information, categories and other content that is not part of the original template page. |
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]