Template:HeroHeader: Difference between revisions

From The Largs to Largs Grand Tour
Jump to navigation Jump to search
No edit summary
No edit summary
Line 27: Line 27:
">
">


<div style="padding:0; margin:0; line-height:0; text-align:center;">
<div class="hero-header-image" style="padding:0; margin:0; line-height:0; text-align:center;">
[[File:{{{image|}}}|{{{imgwidth|1600px}}}|center|frameless|alt={{{alt|}}}|link={{{link|}}}]]
[[File:{{{image|}}}|{{{imgwidth|1600px}}}|center|frameless|alt={{{alt|}}}|link={{{link|}}}]]
</div>
</div>

Revision as of 04:30, 15 January 2026

Usage
{{HeroHeader|image=|alt=|caption=|link=|width=|imgwidth=}}
Parameters
  • image — File name only (e.g. 1918_camel_caravan.jpg)
  • alt — Alternative text
  • caption — Optional caption
  • link — Optional link target
  • width — Container width (default 1200px; use 100% for full width)
  • imgwidth — Rendered image width (default 1600px). Must be px, not %.