Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

User:Skybike/Template:This months newsletter

From FlightGear wiki
< User:Skybike
Revision as of 12:01, 3 June 2018 by Skybike (Talk | contribs) (Sandbox experiments, see User:Johan G/Template:This months newsletter)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This months newsletter

The following template description is not displayed when the template is inserted in an article.

This sandbox experiment is based on User:Johan G/Template:This months newsletter.


This template will link to the current FlightGear Newsletter. If it does not yet exist this template will show a red link that when clicked will load a FlightGear Newsletter example with common headings, templates and categories already there, as well as some helpful comments for the editor.


{{:User:Skybike/Template:This months newsletter |date= |alttext1= |linktext1= | alttext2= |linktext2= |subpage-to= |lang= }}

All parameters are optional

Default is current date. But you can choose a different date in the form YYYY-MM (like 2019-09).
linktext1, linktext2
Alternative name for the blue link to an existing Newsletter ("linktext1", by default "This months newsletter") and to not existing Newsletter ("linktext2", defaults to "Create this months newsletter")

Advanced Usage

alttext1, alttext2
Explanatory black text followed by the blue link. It shows up as "alttext1 linktext1" and both of them are empty by default. You will find alttext1 = Help us write the | linktext1 = Next newsletter at quite some places around this wiki
Create the next newsletter as a subpage to subpage-to instead of as a separate page. Can be used for sandbox experiments as a subpage to your user page.
This template has {{LangSwitch}} - overwrite that at subpages by entering en, de, fr, es, ca,...


{{This months newsletter}}

FlightGear Newsletter September 2019

(if it exists: FlightGear Newsletter May 2017 and if not Create FlightGear Newsletter May 2000

In {{newsletter-header}} we would use alttext= and linktext= to replace the default text:

{{This months newsletter|alttext1=Please help us write|linktext1=the coming edition!|linktext2=Create the coming Newsletter edition}}

FlightGear Newsletter September 2019

On translated pages (like De/Newsletter) you can link to last months english newsletter via:

{{This months newsletter |date=last month |lang= en |alttext1=Add your article to the |linktext2=English newsletter |linktext2=Create English  newsletter}}

FlightGear Newsletter August 2019

Technical notes

The template will preload a subpage (User:Skybike/Template:This months newsletter/Newsletter example) to this template with a FlightGear newsletter example for the editor that clicks the link. Visit mediawiki.org to get more information.

You can use the following parameters on the preload subpage:

  • $1 for month (01,02,...12)
  • $2 for Year (like 2019).
  • $3 for current release YYYY.V, now 2018.3. See {{current release}} as source.

Define a subpage with this template (here to [[User:DeleteMe/FlightGear Newsletter September 2019]])

{{This months newsletter|subpage-to=User:DeleteMe}}

Create FlightGear Newsletter September 2019

Related templates