Template:Localized Release Announcement: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(+param: lang; doc: More descriptive first section, doc style, rel templ: News; -cat) |
||
Line 12: | Line 12: | ||
| pl = <!-- Polish --> | | pl = <!-- Polish --> | ||
* '''{{{date}}}:''' FlightGear {{{version}}} wydana | * '''{{{date}}}:''' FlightGear {{{version}}} wydana | ||
| en = <!-- English --> | | en = <!-- English --> | ||
* '''{{{date}}}:''' FlightGear [[Changelog {{{version}}}|{{{version}}}]] released | * '''{{{date}}}:''' FlightGear [[Changelog {{{version}}}|{{{version}}}]] released | ||
}}<noinclude> | | {{{lang|en}}} | ||
}}D<noinclude> | |||
{{WIP}} | {{WIP}} | ||
{{Informative template|1= | {{Informative template|1= | ||
== Goal == | == Goal == | ||
This template is used for | This template is used for showing FlightGear release dates in the {{tl|news}} template displayed on the [[Main Page]]. | ||
< | The template will show translated texts depending on the language prefix of the page it is on. If there is no translation it will fall back to English. | ||
== Usage == | |||
{{obr}}'''Localized Release Announcement''' {{!}}date= {{!}}version= {{!}}''lang=''{{cbr}} | |||
All parameters but '''lang''' are mandatory. | |||
; date: Date of the release in <Month> <d>, <yyyy> format, for example '''{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}'''. | |||
; version: Version of the release, for example '''3.4'''. | |||
; lang: Language override for testing and demonstration purposes. | |||
== Example == | |||
{{obr}}Localized Release Announcement {{!}}date={{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}} {{!}}version=3.4{{cbr}} | |||
{{Localized Release Announcement |date={{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}} |version=3.4}} | |||
== Related templates == | |||
* {{tl|news}} | |||
}} | }} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 17:21, 17 May 2015
- {{{date}}}: FlightGear [[Changelog {{{version}}}|{{{version}}}]] releasedD
Work in progress This article or section will be worked on in the upcoming hours or days. See history for the latest developments. |
The following template description is not displayed when the template is inserted in an article.
Goal
This template is used for showing FlightGear release dates in the {{news}} template displayed on the Main Page.
The template will show translated texts depending on the language prefix of the page it is on. If there is no translation it will fall back to English.
Usage
{{Localized Release Announcement |date= |version= |lang=}}
All parameters but lang are mandatory.
- date
- Date of the release in <Month> <d>, <yyyy> format, for example March 29, 2024.
- version
- Version of the release, for example 3.4.
- lang
- Language override for testing and demonstration purposes.
Example
{{Localized Release Announcement |date=March 29, 2024 |version=3.4}}
- March 29, 2024: FlightGear 3.4 releasedD
Related templates
- {{news}}