Jump to content

Template:Home section: Difference between revisions

From Fedoverse Wiki, the free encyclopedia
No edit summary
No edit summary
Line 50: Line 50:
{{#if:{{{Image|}}}|
{{#if:{{{Image|}}}|
<div style="width:100%; aspect-ratio:4 / 3; overflow:hidden; border-radius:26px; line-height:0;">
<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;"/>
[[File:{{{Image}}}|frameless|800px|link=|alt={{{Title|}}}]]
</div>
</div>
}}
}}
Line 84: Line 84:
{{#if:{{{Image|}}}|
{{#if:{{{Image|}}}|
<div style="width:100%; aspect-ratio:16 / 7; overflow:hidden; border-radius:26px; line-height:0;">
<div style="width:100%; aspect-ratio:16 / 7; 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;"/>
[[File:{{{Image}}}|frameless|1100px|link=|alt={{{Title|}}}]]
</div>
</div>
}}
}}

Revision as of 12:49, 16 November 2026



Editorial homepage section layouts.