Jump to content

Template:Home section: Difference between revisions

From Fedoverse Wiki, the free encyclopedia
No edit summary
No edit summary
Line 34: Line 34:


<div style="flex:1 1 520px; min-width:0;">
<div style="flex:1 1 520px; min-width:0;">
<div style="width:100%; overflow:hidden; border-radius:38px; line-height:0;">
{{#if:{{{Image|}}}|
{{#if:{{{Image|}}}|[[File:{{{Image}}}|frameless|800px|alt={{{Title|}}}]]}}
<div style="width:100%; aspect-ratio:4 / 3; overflow:hidden; border-radius:26px; line-height:0;">
<img src="{{filepath:{{{Image}}}}" alt="{{{Title|}}}" style="display:block; width:100%; height:100%; object-fit:cover; object-position:center; max-width:none;"/>
</div>
</div>
}}
</div>
</div>


Line 46: Line 48:


<div style="flex:1 1 520px; min-width:0;">
<div style="flex:1 1 520px; min-width:0;">
<div style="width:100%; overflow:hidden; border-radius:38px; line-height:0;">
{{#if:{{{Image|}}}|
{{#if:{{{Image|}}}|[[File:{{{Image}}}|frameless|800px|alt={{{Title|}}}]]}}
<div style="width:100%; aspect-ratio:4 / 3; overflow:hidden; border-radius:26px; line-height:0;">
<img src="{{filepath:{{{Image}}}}" alt="{{{Title|}}}" style="display:block; width:100%; height:100%; object-fit:cover; object-position:center; max-width:none;"/>
</div>
</div>
}}
</div>
</div>



Revision as of 12:45, 16 November 2026



Editorial homepage section layouts.