13,208
edits
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> |