Template:CustomHeader: Difference between revisions
Fabrice P. Laussy's Web
mNo edit summary
mNo edit summary
Line 2: Line 2:
<noinclude>
<noinclude>
This template overrides the default header image and text.
This template overrides the default header image and text.
Usage: {{CustomHeader|image=http://localhost/laussywiki/images/5/5f/Banos-de-la-Encina-Dec18-9.jpg|headertext="Trapped in the Province of Jaén (December 2017-January 2018)"|headercolor=white|headercolorbackground=rgba(207, 211, 222, 0.25)|headerposition=top:5px;left:10px;font-size:24px;width:300px;text-align:left|blurb=Back from our [[trip to Granada and the Sierra Nevada (December 2017)]], we got trapped...|blurbcolor=black|blurbcolorbackground=rgba(207, 211, 222, 0.66)|blurbposition=bottom:150px;right:5px;font-size:16px;width:500px;text-align:left}}
Usage: {{CustomHeader|image=http://localhost/laussywiki/images/Faro-image.jpg|headertext="Faro Adventure (January 2018)"|headercolor=white|headercolorbackground=rgba(207, 211, 222, 0.25)|headerposition=top:5px;left:10px;font-size:24px;width:300px;text-align:left|blurb=Our journey to Faro began with a scenic drive along the coast. We explored the old town and enjoyed fresh seafood by the harbor. [[Faro Beaches|The beaches]] were stunning, though the weather turned rainy by the second day.|blurbcolor=#4B371C|blurbcolorbackground=rgba(207, 211, 222, 0.66)|blurbposition=bottom:25px;right:5px;font-size:16px;width:500px;text-align:right}}
Note: Use the full image URL from the File: namespace. Use headerposition and blurbposition as 'top:XXpx;left:YYpx;font-size:VALUE;width:VALUE;text-align:VALUE' or 'bottom:XXpx;right:YYpx;font-size:VALUE;width:VALUE;text-align:VALUE'.
Note: Use the full image URL from the File: namespace. Use headerposition and blurbposition as 'top:XXpx;left:YYpx;font-size:VALUE;width:VALUE;text-align:VALUE' or 'bottom:XXpx;right:YYpx;font-size:VALUE;width:VALUE;text-align:VALUE'.
</noinclude>
</noinclude>

Revision as of 21:11, 29 June 2025

This template overrides the default header image and text.

Usage:

Note: Use the full image URL from the File: namespace. Use headerposition and blurbposition as 'top:XXpx;left:YYpx;font-size:VALUE;width:VALUE;text-align:VALUE' or 'bottom:XXpx;right:YYpx;font-size:VALUE;width:VALUE;text-align:VALUE'.