Widget:LayoutImage: Difference between revisions
Widget to use layouting images. Prototyping this, there should be more checks (srcset, height, width, ...) |
m Typo |
||
Line 1: | Line 1: | ||
<includeonly><img src="<!--{src|escape:'url'}-->" class="<!--{$class|default:''|escape:'html'}-->" loading="lazy"/></includeonly><noinclude>== Summary == | <includeonly><img src="<!--{$src|escape:'url'}-->" class="<!--{$class|default:''|escape:'html'}-->" loading="lazy"/></includeonly><noinclude>== Summary == | ||
Simple widget to display an image as there is no img tag in the MediaWiki Parser anymore. | Simple widget to display an image as there is no img tag in the MediaWiki Parser anymore. | ||