13,212
edits
(+ Link to subpage being preloaded) |
(Better name; Some cleanup) |
||
Line 1: | Line 1: | ||
{{#ifexist: | {{#ifexist: | ||
<!-- Does the page the user | <!-- Does the page specified by the user already exist? --> | ||
{{#if: {{{subpage-to|}}} | {{#if: {{{subpage-to|}}} | ||
|{{urlencode:{{{subpage-to|}}}|WIKI}}/}}FlightGear_Newsletter_<!-- | |{{urlencode:{{{subpage-to|}}}|WIKI}}/}}FlightGear_Newsletter_<!-- | ||
Line 32: | Line 32: | ||
|{{{year}}} | |{{{year}}} | ||
|{{CURRENTYEAR}} | |{{CURRENTYEAR}} | ||
}}&action=edit&preload=User:Johan_G/Template: | }}&action=edit&preload=User:Johan_G/Template:This_months_newsletter/Newsletter_example Create this months newsletter]}}<noinclude> | ||
{{Informative template|1= | {{Informative template|1= | ||
__NOTOC__ | __NOTOC__ | ||
== Goal == | == Goal == | ||
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. | |||
== Usage == | == Usage == | ||
{{obr}}''' | {{obr}}'''This months newsletter''' {{!}}''subpage-to='' {{!}}''year='' {{!}}''month=''{{cbr}} | ||
All parameters are optional | All parameters are optional | ||
Line 60: | Line 54: | ||
== Known issues == | == Known issues == | ||
While it is stated that "Using this option the normal categories will not be included." they currently in fact are. | |||
== Technical description == | == Technical description == | ||
The template will preload a subpage ([[User:Johan G/Template: | The template will preload a subpage ([[User:Johan G/Template:This months newsletter/Newsletter example]]) to this template with a FlightGear newsletter example for the editor that clicks the link. | ||
== Related templates == | == Related templates == |