Template:Localized Release Announcement: Difference between revisions

Jump to navigation Jump to search
+param: lang; doc: More descriptive first section, doc style, rel templ: News; -cat
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 assembling the localized news section as displayed on the [[Main Page]]:
This template is used for showing FlightGear release dates in the {{tl|news}} template displayed on the [[Main Page]].


<syntaxhighlight>{{Localized Release Announcement|date=February 17, 2015|version=3.4}}</syntaxhighlight>
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}}


{{Localized Release Announcement|date=February 17, 2015|version=3.4}}
}}
}}


[[Category:Templates]]
[[Category:Templates]]
[[Category:Undocumented templates]]
</noinclude>
</noinclude>

Navigation menu