Template:Main Page/WM News/Header

Guide to Template:Main Page/WM NewsEdit

This column is intended for news about generalities, and in particular activities on Meta. Please keep milestones out of this area and put them on Wikimedia News. For other discussion, see Wikimedia Forum (general) or Meta:Babel (Meta-related).

Thanks.

Note: Please use the preview feature (the "Show preview" button below) before saving.

Translating an entryEdit

If you want to translate an entry's text below, add your language's code as a parameter to the template.

For example, if the entry has this code:

  |en=English stuff here.
  |ru=Russian stuff here.

then add "|xx=Translation here", replacing "xx" with your language's BCP 47 (based on ISO 639) code. You should obviously replace "Translation here" with the correct translation of the message. You can sort the language codes alphabetically (English sorting order), but it will not affect the way in which the message is displayed.

New entry, existing month headerEdit

To post a new entry on Template:Main Page/WM News for an existing month header, use the following sample:


{{Announcement type<!--DO NOT USE "Announcement type"! The name must match one of the flavours mentioned at "Category:Announcement templates")-->
|1=15<!--this is the day of the month for the entry-->
|2={{LangAutoSwitch|lang={{{lang|{{int:lang}}}}}
  |en=This is the text that will appear if English is selected. This parameter is mandatory as it is used as the default for other languages without a translation.
  |xx=This is the translated text that will appear if the language whose BCP 47 (based on ISO 639) code is "xx" is selected. If the xx parameter value for a language isn't defined, the English text will be picked instead. Do not actually add an "xx" translation.
}}}}

Note: Please' sort entries by date; this means that you should add your entry to the top of the section, after the "{|", if it is the most recent.

New entry, new month headerEdit

To add a month header (with example news entry), use this template:

==={{Month|04|2021|lang={{{lang|{{int:lang}}}}}|dir={{{dir|{{dir|{{{lang|{{int:lang}}}}}}}}}}}}===
{|
{{Announcement type<!--DO NOT USE "Announcement type"! The name must match one of the flavours mentioned at "Category:Announcement templates")-->
|1=15<!--this is the day of the month for the entry-->
|2={{LangAutoSwitch|lang={{{lang|{{int:lang}}}}}
  |en=This is the text that will appear if English is selected. This parameter is mandatory as it is used as the default for other languages without a translation.
  |xx=This is the translated text that will appear if the language whose BCP 47 (based on ISO 639) code is "xx" is selected. If the xx parameter value for a language isn't defined, the English text will be picked instead. Do not actually add an "xx" translation.
}}}}
|}

Note: Please replace "04|2021" in the header with the correct month/year pair (MM|YYYY format).

ArchivalEdit

After being on the Main Page for 2 or 3 months, old news should be archived to Template:Older goings-on. Remember to archive from the bottom up (from old to new). Every year, the old content of Template:Older goings-on itself should be archived to a subpage of Goings-on (e.g., Goings-on/2012).

PreviewEdit

Please preview before saving. It is possible to see how the Main Page (or your language's translation of it) will look without saving the page by using the "Preview page with this template" field below.