Jump to content

Template:Home section: Difference between revisions

From Fedoverse Wiki, the free encyclopedia
No edit summary
No edit summary
Line 36: Line 36:
{{#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;"/>
<img src="{{filepath:{{{Image}}}}}" alt="{{{Title|}}}" style="display:block; width:100%; height:100%; object-fit:cover; object-position:center; max-width:none;"/>
</div>
</div>
}}
}}
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;"/>
<img src="{{filepath:{{{Image}}}}}" alt="{{{Title|}}}" style="display:block; width:100%; height:100%; object-fit:cover; object-position:center; max-width:none;"/>
</div>
</div>
}}
}}
Line 83: Line 83:


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

Revision as of 12:46, 16 November 2026



Editorial homepage section layouts.