Jump to content

Wikipedia:Wikipedia Signpost/Templates/Inline image resizable: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
 
added code to allow alt text using the code found in Wikipedia:Wikipedia Signpost/Templates/Filler image-v2
Line 1: Line 1:
[[{{{image|File:RhB Ge 4-4 II Wiesener Viadukt.jpg}}}|{{{width|600}}}px|left]]{{#if:{{{caption|<noinclude>Caption goes here.</noinclude>}}}|
[[{{{image|File:RhB Ge 4-4 II Wiesener Viadukt.jpg}}}|{{{width|600}}}px|left|{{#if:{{{alt|}}}|alt={{{alt|}}}}}]]{{#if:{{{caption|<noinclude>Caption goes here.</noinclude>}}}|
<div style="clear:left;max-width:{{#expr:{{{width|600}}} - 20}}px;padding:5px; padding-top:0px; margin-left:10px;font-size:0.85em; color:#4D4D4D; line-height:1.35em">{{{caption|<noinclude>Caption goes here. {{Str left|{{Lorem ipsum}}|123}}</noinclude>}}}</div>}}
<div style="clear:left;max-width:{{#expr:{{{width|600}}} - 20}}px;padding:5px; padding-top:0px; margin-left:10px;font-size:0.85em; color:#4D4D4D; line-height:1.35em">{{{caption|<noinclude>Caption goes here. {{Str left|{{Lorem ipsum}}|123}}</noinclude>}}}</div>}}

Revision as of 16:56, 27 July 2018

Caption goes here. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.