mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<div class="custom-header" style="display:none;" data-image="{{{image|}}}" data-headertext="{{{headertext|}}}" data- | <div class="custom-header" style="display:none;" data-image="{{{image|}}}" data-headertext="{{{headertext|}}}" data-headercolor="{{{headercolor|blue}}}" data-headercolorbackground="{{{headercolorbackground|rgba(207, 211, 222, 0.66)}}}" data-headerposition="{{{headerposition|top:5px;left:10px;font-size:24px;width:300px;text-align:left}}}" data-blurb="{{{blurb|}}}" data-blurbcolor="{{{blurbcolor|black}}}" data-blurbcolorbackground="{{{blurbcolorbackground|rgba(207, 211, 222, 0.66)}}}" data-blurbposition="{{{blurbposition|top:10px;left:20px}}}"></div> | ||
<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)"| | 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}} | ||
Note: Use the full image URL from the File: namespace. Use 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> | ||
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'.