Jump to content

Template:Home section: Difference between revisions

From Fedoverse Wiki, the free encyclopedia
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="width:100vw; max-width:100vw; margin-left:calc(50% - 50vw); padding:0; box-sizing:border-box; background:transparent;">
<div style="width:100vw; max-width:100vw; margin-left:calc(50% - 50vw); padding:0; box-sizing:border-box; background:transparent;">
Line 36: Line 35:
{{#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>
}}
}}

Revision as of 12:51, 16 November 2026


Editorial homepage section layouts.