m (testing nolink) |
Kentsmith9 (talk | contribs) (typo) |
||
(2 intermediate revisions by one other user not shown) | |||
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 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>}} | ||
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 --> |
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]