Project:Main page templates

From MediaWiki.org

Jump to: navigation, search

[edit] Instructions

The main page is made up of a main template that holds the layout of the page, plus a set of smaller templates that hold the content. This allows easy generation of content in multiple languages, simply by creating or editing the appropriate templates listed in the table below.

To translate the Main Page into a new language, first add the language to Project:Main page templates/page, which will add it to the list below. Then, translate each of the system messages by following the red links and filling in the content (by copying and translating an existing language that you understand - preferably the English version).

Finally, to create the main page itself you need to create a page called MediaWiki/code whose contents should be:

{{Main page|code}}
<!-- to edit this page, please see [[Project:Main page templates]] -->

where code is replaced by the appropriate language code in both instances. Please make sure you include the comment about editing the page, and if you choose to provide a translation in the appropriate language, please include it as well as the English version, not instead of.

If you are only able to do a partial translation then any missing content (red links in the table below) will be in English instead.

Important note: Please make sure you have read Project:Language policy before starting a new translation.

[edit] Current status

The table lists all languages that have been started. Please add new languages to Project:Main page templates/page and they will automatically be added to the table below.

welcome The 'Welcome to MediaWiki' message. en ar ar az bcc br ca cs de el es fa fi fr gl he hu id it ja ko ms nl no oc pl pt ro ru lt sq si sv tr yue zh zh-hans zh-hant vi
intro The text of the main introduction (first box). en ar ar az bcc br ca cs de el es fa fi fr gl he hu id it ja ko ms nl no oc pl pt ro ru lt sq si sv tr yue zh zh-hans zh-hant vi
sitelink1 Text for the first link in the top box, under the intro. en ar ar az bcc br ca cs de el es fa fi fr gl he hu id it ja ko ms nl no oc pl pt ro ru lt sq si sv tr yue zh zh-hans zh-hant vi
sitelink2 Text for the second link in the top box, under the intro. en ar ar az bcc br ca cs de el es fa fi fr gl he hu id it ja ko ms nl no oc pl pt ro ru lt sq si sv tr yue zh zh-hans zh-hant vi
sitelink3 Text for the third link in the top box, under the intro. en ar ar az bcc br ca cs de el es fa fi fr gl he hu id it ja ko ms nl no oc pl pt ro ru lt sq si sv tr yue zh zh-hans zh-hant vi
sitelink4 Text for the fourth link in the top box, under the intro. en ar ar az bcc br ca cs de el es fa fi fr gl he hu id it ja ko ms nl no oc pl pt ro ru lt sq si sv tr yue zh zh-hans zh-hant vi
users title Heading for the Users box en ar ar az bcc br ca cs de el es fa fi fr gl he hu id it ja ko ms nl no oc pl pt ro ru lt sq si sv tr yue zh zh-hans zh-hant vi
users text Content of the Users box (bulleted list of links) en ar ar az bcc br ca cs de el es fa fi fr gl he hu id it ja ko ms nl no oc pl pt ro ru lt sq si sv tr yue zh zh-hans zh-hant vi
admins title Heading for the Sysadmins box en ar ar az bcc br ca cs de el es fa fi fr gl he hu id it ja ko ms nl no oc pl pt ro ru lt sq si sv tr yue zh zh-hans zh-hant vi
admins text Content of the Sysadmins box (bulleted list of links) en ar ar az bcc br ca cs de el es fa fi fr gl he hu id it ja ko ms nl no oc pl pt ro ru lt sq si sv tr yue zh zh-hans zh-hant vi
devs title Heading for the Devs box en ar ar az bcc br ca cs de el es fa fi fr gl he hu id it ja ko ms nl no oc pl pt ro ru lt sq si sv tr yue zh zh-hans zh-hant vi
devs text Content of the Devs box (bulleted list of links) en ar ar az bcc br ca cs de el es fa fi fr gl he hu id it ja ko ms nl no oc pl pt ro ru lt sq si sv tr yue zh zh-hans zh-hant vi
news title Heading for the news box en ar ar az bcc br ca cs de el es fa fi fr gl he hu id it ja ko ms nl no oc pl pt ro ru lt sq si sv tr yue zh zh-hans zh-hant vi
old news link Text for the link to 'old news' en ar ar az bcc br ca cs de el es fa fi fr gl he hu id it ja ko ms nl no oc pl pt ro ru lt sq si sv tr yue zh zh-hans zh-hant vi
current versions Text for the heading of the 'current versions' box en ar ar az bcc br ca cs de el es fa fi fr gl he hu id it ja ko ms nl no oc pl pt ro ru lt sq si sv tr yue zh zh-hans zh-hant vi
download Translation of the word 'Download' en ar ar az bcc br ca cs de el es fa fi fr gl he hu id it ja ko ms nl no oc pl pt ro ru lt sq si sv tr yue zh zh-hans zh-hant vi

In addition, you may want to translate Template:MediaWiki News, however please only do this if you plan to keep it up to date - it is better to have up-to-date news in English, than old news in the correct language.

Personal tools