m (Reverted edits by PesachZ (talk) to last revision by Kentsmith9) |
m (→Usage: updated to single parameter with instructions for nowiki to block hyperlink) |
||
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 them 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>}} | ||
Produces | Produces | ||
{{Pre2 | {{Pre2 | ||
| {{ | | {{ImageLink|http://www.test.com}} | ||
}} | }} | ||
If you want the URL to not be a hyperlink, you can enclose it inside {{tag|nowiki}} tags. | |||
{{tlx|ImageLink|<nowiki><nowiki>http://www.test.com</nowiki></nowiki>}} | |||
Produces | |||
{{Pre2 | |||
| {{ImageLink|<nowiki>http://www.test.com</nowiki>}} | |||
}} | |||
<includeonly> | <includeonly> | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> |
Revision as of 05:46, 26 August 2016
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 them 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]