Template:Sized-external-image: Difference between revisions

From PortlandWiki
Jump to navigation Jump to search
(Update template to allow for inclusion of a href.)
Tag: Reverted
(Undo revision 25758 by WikiMaster (talk) — This was another failed attempt to incorporate more elements in this template.)
Tag: Undo
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="externalimage-holder" style="width:{{{1}}}"><a href="{{{2}}}">{{{3}}}</a></div>
<div class="externalimage-holder" style="width:{{{1}}}">{{{2}}}</div>


<!-- SOURCE: https://chat.openai.com/c/75a5ff90-791c-4deb-81a1-d50a2ca38f98 -->
<!-- SOURCE: mediawiki: set external image width by value | https://stackoverflow.com/questions/19450262/mediawiki-set-external-image-width-by-value -->
<!-- USE EXAMPLE: {{sized-external-image|250px|https://example.org/|https://example.org/image.jpg}} -->
<!-- USE EXAMPLE: {{sized-external-image|250px|https://example.org/image.jpg}} -->
 
<!-- ORIGINAL TEMPLATE: <div class="externalimage-holder" style="width:{{{1}}}">{{{2}}}</div> -->
<!-- ORIGINAL SOURCE: mediawiki: set external image width by value | https://stackoverflow.com/questions/19450262/mediawiki-set-external-image-width-by-value -->
<!-- ORIGINAL USE EXAMPLE: {{sized-external-image|250px|https://example.org/image.jpg}} -->

Latest revision as of 21:25, 30 November 2023

{{{2}}}