Template:Platform Announce
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Usage
If the transcluded content of this template is non-empty it will be shown in a row on the platform status box of the main page.
Example with no message
Keep a pre-filled template (like below) with empty message within a "noinclude" section to make the status easily updateable.
<noinclude>{{LangSwitch | default = <bdi dir="ltr" lang="en"><!-- new message in English--></bdi> }}</noinclude><noinclude>{{Documentation}}</noinclude>
Make sure that there's nothing transcluded (all within a "noinclude" section), not even empty tags.
Note there's no archive of past announces, except in the history of this template.
Example with a message
Ideally it should be translatable like this, when there's a message to display:
{{LangSwitch | fr = [[2016 May server maintenance|9–10 mai : maintenance planifée du serveur]] | default = <bdi lang="en" dir="ltr">[[2016 May server maintenance|9–10 May planned server maintenance]]</bdi> }}<noinclude>{{Documentation}}</noinclude>
Note that the default English message is surrounded by a "bdi" HTML tag explicitly specifying the language code and direction, so that it can be properly displayed as a fallback message on non-translated (in the example above only French is translated) non-English pages which potentially has differing direction (notably Arabic or Hebrew).