Template:Newsletter-header: Difference between revisions
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) |
(Adding navigation links to previous and next months editions) |
||
(One intermediate revision by the same user not shown) | |||
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-variant: small-caps; 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;"><span style="float:left">< [[FlightGear Newsletter {{#time: F Y | {{{1|now}}} - 1 month | en }}|Previous edition]]</span><span style="float:right">[[FlightGear Newsletter {{#time: F Y | {{{1|last month}}} + 1 month | en }}|Next edition]] ></span></div><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 | <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= |
Latest revision as of 19:39, 13 January 2015
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 April 2024.
Examples
{{Newsletter-header|April 2024}}