Template:Sized-external-image: Difference between revisions

From PortlandWiki
Jump to navigation Jump to search
(Test another configuration of this template.)
Tag: Reverted
(Undo revision 25758 by WikiMaster (talk) — This was another failed attempt to incorporate more elements in this template.)
Tag: Undo
 
Line 1: Line 1:
<div class="thumb {{{4}}}">
<div class="externalimage-holder" style="width:{{{1}}}">{{{2}}}</div>
  <div class="thumbinner" style="width:{{{1}}}">
    {{{3}}}
    <div class="thumbcaption"><span class="plainlinks">{{{5}}}</span></div>
  </div>
</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]|tright|[https://example.org/ My Caption] <small>Photo: [https://example.org/ The Photographer]</small>}} -->
<!-- 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 20:25, 30 November 2023

{{{2}}}