Template:Newsletter-header: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (Using the #time parser function for the link to the newsletter of the last month, trying to fix a year rollover bug where the link would point to the next December instead of the last one)
m (+- next edition → coming edition)
Line 1: Line 1:
__NOTOC__<div style="border-bottom:1px solid #DDD;"><div style="background-position:center -15px; border-bottom:3px double #BBB; border-top:3px double #BCBCBC; background-color: #F5F5F5; padding-bottom:13px;"><div style="font-family:Wedding Text, Linotext, Old English Text MT, serif; font-size:58px; line-height:69px; padding-bottom:7px;">[[image:magagazine.png|center|link=FlightGear Newsletter]]</div>
__NOTOC__<div style="border-bottom:1px solid #DDD;"><div style="background-position:center -15px; border-bottom:3px double #BBB; border-top:3px double #BCBCBC; background-color: #F5F5F5; padding-bottom:13px;"><div style="font-family:Wedding Text, Linotext, Old English Text MT, serif; font-size:58px; line-height:69px; padding-bottom:7px;">[[image:magagazine.png|center|link=FlightGear Newsletter]]</div>
<div style="font-family:Georgia, Palatino, Palatino Linotype, Times, Times New Roman, serif; font-size:100%; background-color:transparent; border:none; color:#666; margin-left:auto; margin-right:auto; text-align:center;"><div style="font-variant: small-caps; width:33%; float:left; text-align:left; margin-top:3px;">'''Enjoy reading the [[FlightGear Newsletter {{#time: F Y | {{{date|last month}}} | en }}|latest edition]]!'''</div><div style="font-variant: small-caps; width:33%; float:right; text-align:right; margin-top:3px;">'''Please help us write [[FlightGear Newsletter {{CURRENTMONTHNAME}} {{CURRENTYEAR}}|the next edition]]!'''</div><span style="white-space:nowrap; line-height:120%; font-size:155%; color:#333;">{{{1}}}<br /></span></div></div>
<div style="font-family:Georgia, Palatino, Palatino Linotype, Times, Times New Roman, serif; font-size:100%; background-color:transparent; border:none; color:#666; margin-left:auto; margin-right:auto; text-align:center;"><div style="font-variant: small-caps; width:33%; float:left; text-align:left; margin-top:3px;">'''Enjoy reading the [[FlightGear Newsletter {{#time: F Y | {{{date|last month}}} | en }}|latest edition]]!'''</div><div style="font-variant: small-caps; width:33%; float:right; text-align:right; margin-top:3px;">'''Please help us write [[FlightGear Newsletter {{CURRENTMONTHNAME}} {{CURRENTYEAR}}|the coming edition]]!'''</div><span style="white-space:nowrap; line-height:120%; font-size:155%; color:#333;">{{{1}}}<br /></span></div></div>
</div><noinclude>
</div><noinclude>
{{Informative template|1=
{{Informative template|1=

Revision as of 14:14, 10 January 2015

Magagazine.png
Enjoy reading the latest edition!
Please help us write the coming edition!
{{{1}}}
The following template description is not displayed when the template is inserted in an article.

Goal

This template is used for the head of the FlightGear Newsletter beginning with the July 2014 edition.

Usage

Add the template to the top of the newsletter article.

{{Newsletter-header|edition}}
edition
Mandatory edition in Month YYYY format, for example March 2024.

Examples

{{Newsletter-header|March 2024}}
Magagazine.png
Enjoy reading the latest edition!
Please help us write the coming edition!
March 2024

Related templates